Hi,

I am doing some handler registrations on start up using
reflections,basically it checks if a class has typeannotation
OperationHandler and registers the handler,it all worked fine until in
one of my handlers I used method interceptors annotation.

On doing so my class SaveHandler was changed to SaveHandler$
$EnhancerByGuice$$49ee4b10@26fef510 which does not have the original
annotation information.

How can I work around this as I want to use method interceptors..

Following is my annotation binding

        UpdateSearchIndexIntercepter searchIndexIntercepter = new
UpdateSearchIndexIntercepter();
        requestInjection(searchIndexIntercepter);
        bindInterceptor(Matchers.any(),
Matchers.annotatedWith(UpdateSearchIndex.class),
searchIndexIntercepter);


-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to