| java.lang.Object org.picocontainer.monitors.AbstractComponentMonitor
All known Subclasses: org.picocontainer.gems.monitors.DotDependencyGraphComponentMonitor, org.picocontainer.gems.monitors.ComponentDependencyMonitor,
Method Summary | |
public void | changeMonitor(ComponentMonitor monitor) If the delegate supports a
ComponentMonitorStrategy monitor strategy ,
this is used to changed the monitor while keeping the same delegate. | public ComponentMonitor | currentMonitor() | public void | instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, Constructor<T> constructor, Object instantiated, Object[] injected, long duration) | public Constructor<T> | instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, Constructor<T> constructor) | public void | instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, Constructor<T> constructor, Exception e) | public void | invocationFailed(Member member, Object instance, Exception e) | public void | invoked(PicoContainer container, ComponentAdapter> componentAdapter, Method method, Object instance, long duration) | public void | invoking(PicoContainer container, ComponentAdapter> componentAdapter, Member member, Object instance) | public void | lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter> componentAdapter, Method method, Object instance, RuntimeException cause) | public Object | noComponentFound(MutablePicoContainer container, Object componentKey) |
AbstractComponentMonitor | public AbstractComponentMonitor(ComponentMonitor delegate)(Code) | | Creates a AbstractComponentMonitor with a given delegate
Parameters: delegate - the ComponentMonitor to which this monitor delegates |
AbstractComponentMonitor | public AbstractComponentMonitor()(Code) | | Creates a AbstractComponentMonitor with an instance of
NullComponentMonitor .
|
changeMonitor | public void changeMonitor(ComponentMonitor monitor)(Code) | | If the delegate supports a
ComponentMonitorStrategy monitor strategy ,
this is used to changed the monitor while keeping the same delegate.
Else the delegate is replaced by the new monitor.
|
|
|