org.picocontainer.gems.monitors
Class DotDependencyGraphComponentMonitor

java.lang.Object
  extended by org.picocontainer.monitors.AbstractComponentMonitor
      extended by org.picocontainer.gems.monitors.DotDependencyGraphComponentMonitor
All Implemented Interfaces:
Serializable, ComponentMonitor, ComponentMonitorStrategy

public final class DotDependencyGraphComponentMonitor
extends AbstractComponentMonitor
implements ComponentMonitor

See Also:
Serialized Form

Constructor Summary
DotDependencyGraphComponentMonitor()
           
DotDependencyGraphComponentMonitor(ComponentMonitor delegate)
           
 
Method Summary
 String getClassDependencyGraph()
           
 String getInterfaceDependencyGraph()
           
<T> void
instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, Constructor<T> constructor, Object instantiated, Object[] injected, long duration)
          Event thrown after the component has been instantiated using the given constructor.
 
Methods inherited from class org.picocontainer.monitors.AbstractComponentMonitor
changeMonitor, currentMonitor, instantiating, instantiationFailed, invocationFailed, invoked, invoking, lifecycleInvocationFailed, newInjectionFactory, noComponentFound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.picocontainer.ComponentMonitor
instantiating, instantiationFailed, invocationFailed, invoked, invoking, lifecycleInvocationFailed, newInjectionFactory, noComponentFound
 

Constructor Detail

DotDependencyGraphComponentMonitor

public DotDependencyGraphComponentMonitor(ComponentMonitor delegate)

DotDependencyGraphComponentMonitor

public DotDependencyGraphComponentMonitor()
Method Detail

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 addComponent
instantiated - the component that was instantiated by PicoContainer
injected - the components during instantiation.
duration - the duration in milliseconds of the instantiation

getClassDependencyGraph

public String getClassDependencyGraph()

getInterfaceDependencyGraph

public String getInterfaceDependencyGraph()


Copyright © 2003-2010 Codehaus. All Rights Reserved.