org.picocontainer.gems.monitors
Class ComponentDependencyMonitor
java.lang.Object
org.picocontainer.defaults.DelegatingComponentMonitor
org.picocontainer.gems.monitors.ComponentDependencyMonitor
- All Implemented Interfaces:
- java.io.Serializable, org.picocontainer.ComponentMonitor, org.picocontainer.defaults.ComponentMonitorStrategy
public class ComponentDependencyMonitor
- extends org.picocontainer.defaults.DelegatingComponentMonitor
Understands how to capture component dependency information from
picocontainer.
- Author:
- Peter Barry, Kent R. Spillner
- See Also:
- Serialized Form
Method Summary |
void |
instantiated(java.lang.reflect.Constructor constructor,
java.lang.Object instantiated,
java.lang.Object[] injected,
long duration)
|
Methods inherited from class org.picocontainer.defaults.DelegatingComponentMonitor |
changeMonitor, currentMonitor, instantiated, instantiating, instantiationFailed, invocationFailed, invoked, invoking, lifecycleInvocationFailed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
private final ComponentDependencyListener listener
ComponentDependencyMonitor
public ComponentDependencyMonitor(ComponentDependencyListener listener)
instantiated
public void instantiated(java.lang.reflect.Constructor constructor,
java.lang.Object instantiated,
java.lang.Object[] injected,
long duration)
- Specified by:
instantiated
in interface org.picocontainer.ComponentMonitor
- Overrides:
instantiated
in class org.picocontainer.defaults.DelegatingComponentMonitor