|Anonymous | Login | Signup for a new account||08-23-2019 06:26 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Advanced Details [ Jump to Notes ]||[ View Simple ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003495||[Hessian]||minor||always||05-09-09 02:44||05-09-09 02:44|
|Reporter||Peter Dettman||View Status||public|
|ETA||none||Fixed in Version||Product Version|
|Summary||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.
|Steps To Reproduce|
|Attached Files||Hessian_createInvocationHandler.patch [^] (761 bytes) 05-09-09 02:44|
|There are no notes attached to this issue.|
|05-09-09 02:44||Peter Dettman||New Issue|
|05-09-09 02:44||Peter Dettman||File Added: Hessian_createInvocationHandler.patch|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.|
24 unique queries executed.