What I am looking for is a way to add some kind of Just-In-Time binding.
I have code which is capable of implementing certain types of interfaces and any sub-interfaces using a dynamic proxy. Currently I have to bind every instance to a provider that creates the proxy class. I would like to extend guice so that I can bind any subclass of a certain interface to an invocation handler and generically creates the implementations as they are needed. Without the explicit binding for every interface.
As I understood this is not possible with standard guice, I started looking at the extensions but the documentation is very very short.
Op zondag 29 juni 2014 11:21:35 UTC+2 schreef Tim Boudreau: