Mantis - Hessian
Viewing Issue Advanced Details
3495 minor always 05-09-09 02:44 05-09-09 02:44
Peter Dettman  
 
normal  
new  
open  
none    
none  
0003495: Delegate construction of HessianProxy to an overridable method
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.
 Hessian_createInvocationHandler.patch [^] (761 bytes) 05-09-09 02:44

There are no notes attached to this issue.