- All Implemented Interfaces:
- com.google.inject.spi.ProvisionListener
public class TracingProvisionListener
extends java.lang.Object
implements com.google.inject.spi.ProvisionListener
Use TracingProvisionListener to debug issues with Guice Injector creation by tracing
the object initialization path. Various hooks are provided for the different stages
of object instantiation: before, after and on error.
To enable add the following binding in any guice module
bindListener(Matchers.any(), TracingProvisionListener.createDefault());