org.picocontainer.gems.monitors
Class ComponentDependencyMonitor
java.lang.Object
org.picocontainer.monitors.AbstractComponentMonitor
org.picocontainer.gems.monitors.ComponentDependencyMonitor
- All Implemented Interfaces:
- Serializable, ComponentMonitor, ComponentMonitorStrategy
public final class ComponentDependencyMonitor
- extends AbstractComponentMonitor
Understands how to capture component dependency information from
picocontainer.
- Author:
- Peter Barry, Kent R. Spillner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDependencyMonitor
public ComponentDependencyMonitor(ComponentDependencyListener listener)
instantiated
public <T> void instantiated(PicoContainer container,
ComponentAdapter<T> componentAdapter,
Constructor<T> constructor,
Object instantiated,
Object[] injected,
long duration)
- Description copied from interface:
ComponentMonitor
- Event thrown after the component has been instantiated using the given constructor.
This should be called for both Constructor and Setter DI.
- Specified by:
instantiated
in interface ComponentMonitor
- Overrides:
instantiated
in class AbstractComponentMonitor
constructor
- the Constructor used to instantiate the addComponentinstantiated
- the component that was instantiated by PicoContainerinjected
- the components during instantiation.duration
- the duration in milliseconds of the instantiation
Copyright © 2003-2010 Codehaus. All Rights Reserved.