org.picocontainer
public interface ComponentMonitor
Since: 1.2
Method Summary | |
---|---|
void | instantiated(Constructor constructor, long duration)
Event thrown after the component has been instantiated using the given constructor
|
void | instantiated(Constructor constructor, Object instantiated, Object[] injected, long duration)
Event thrown after the component has been instantiated using the given constructor.
|
void | instantiating(Constructor constructor)
Event thrown as the component is being instantiated using the given constructor
|
void | instantiationFailed(Constructor constructor, Exception cause)
Event thrown if the component instantiation failed using the given constructor
|
void | invocationFailed(Method method, Object instance, Exception cause)
Event thrown if the component method invocation failed on the given instance
|
void | invoked(Method method, Object instance, long duration)
Event thrown after the component method has been invoked on the given instance
|
void | invoking(Method method, Object instance)
Event thrown as the component method is being invoked on the given instance
|
void | lifecycleInvocationFailed(Method method, Object instance, RuntimeException cause)
Event thrown if a lifecycle method invocation - start, stop or dispose -
failed on the given instance
|
Deprecated: since 1.3
Event thrown after the component has been instantiated using the given constructorParameters: constructor the Constructor used to instantiate the component duration the duration in millis of the instantiation
Parameters: constructor the Constructor used to instantiate the component instantiated the component that was instantiated by PicoContainer injected the components during instantiation. duration the duration in millis of the instantiation
Since: 1.3
Parameters: constructor the Constructor used to instantiate the component
Parameters: constructor the Constructor used to instantiate the component cause the Exception detailing the cause of the failure
Parameters: method the Method invoked on the component instance instance the component instance cause the Exception detailing the cause of the failure
Parameters: method the Method invoked on the component instance instance the component instance duration the duration in millis of the invocation
Parameters: method the Method invoked on the component instance instance the component instance
Parameters: method the lifecycle Method invoked on the component instance instance the component instance cause the RuntimeException detailing the cause of the failure