org.picocontainer.gems.monitors
Class ComponentDependencyMonitor

java.lang.Object
  extended by org.picocontainer.monitors.AbstractComponentMonitor
      extended by 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

Nested Class Summary
static class ComponentDependencyMonitor.Dependency
          Understands which other classes are required to instantiate a component.
 
Field Summary
 
Fields inherited from interface org.picocontainer.ComponentMonitor
KEEP
 
Constructor Summary
ComponentDependencyMonitor(ComponentDependencyListener listener)
           
 
Method Summary
<T> void
instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, Constructor<T> constructor, Object instantiated, Object[] injected, long duration)
           
 
Methods inherited from class org.picocontainer.monitors.AbstractComponentMonitor
changeMonitor, currentMonitor, instantiating, instantiationFailed, invocationFailed, invoked, invoking, lifecycleInvocationFailed, newBehavior, newInjector, noComponentFound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDependencyMonitor

public ComponentDependencyMonitor(ComponentDependencyListener listener)
Method Detail

instantiated

public <T> void instantiated(PicoContainer container,
                             ComponentAdapter<T> componentAdapter,
                             Constructor<T> constructor,
                             Object instantiated,
                             Object[] injected,
                             long duration)
Specified by:
instantiated in interface ComponentMonitor
Overrides:
instantiated in class AbstractComponentMonitor


Copyright © 2003-2010 Codehaus. All Rights Reserved.