widen visibiliy of GuiceProxyTargetLocator  and  findBindingAnnotation  
------------------------------------------------------------------------

                 Key: WICKET-2120
                 URL: https://issues.apache.org/jira/browse/WICKET-2120
             Project: Wicket
          Issue Type: Wish
          Components: wicket-guice
    Affects Versions: 1.4-RC2
         Environment: wicket+guice with serializable classes with dependencies 
on non-serializable classes
            Reporter: Andreas Petersson
             Fix For: 1.4-RC3


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  


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to