Mantis - Hessian
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3495 | minor | always | 05-09-09 02:44 | 05-09-09 02:44 | |
|
|||||
Reporter: | Peter Dettman | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | |||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0003495: Delegate construction of HessianProxy to an overridable method | ||||
Description: |
When subclassing HessianProxyFactory, it's common to want to also subclass HessianProxy. Currently, this requires overriding (and essentially re-implementing) all of HessianProxyFactory.create(Class,String,ClassLoader). If the superclass method changes in future, the subclass won't see those changes; a likely maintenance problem. I've attached a patch that would delegate the construction of the proxy to a protected method that is simpler and safer to override. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | Hessian_createInvocationHandler.patch [^] (761 bytes) 05-09-09 02:44 |
There are no notes attached to this issue. |