Details
-
Wish
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4-RC2
-
None
-
wicket+guice with serializable classes with dependencies on non-serializable classes
Description
GuiceProxyTargetLocator to have a public constructor. Currently it is package-access. Furthermore findBindingAnnotation should be made public static.
my usecase:
im using LazyInitProxyFactory.createProxy to substitute non-serializable classes with proxies.
see also
http://www.nabble.com/request%3A-make-GuiceProxyTargetLocator-public-td22135263.html
alternatively, provide a convinience method to wrap injected objects with the injector-specific proxy.
workaround: create a class in the package to get around package-access lmitation, and duplicate code of findBindingAnnotation