I would like to guice-ify existing object which was created before injector was available. I understand that it is fairly simple to implement injection for post-creation. However I did not found any simple way to add interceptors by same technique.
I know how to do it by cglib (would assume calling guices cglib is possible directly, with differnet interceptor mechanics shall then take place in), however for consistency I would love to use same "Matcher" mechanics used within Module.configure(). so I would like to have something like injector.enhance(currentObjectInstance); or even better injector.assureEnhanced(objectInstance); any ideas how to implement it? I am ok with proper hack to guice, if there is no standard way how to do it... Thanks -- 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.
