org.picocontainer.injectors
Class MultiInjector

java.lang.Object
  extended by org.picocontainer.adapters.AbstractAdapter<T>
      extended by org.picocontainer.injectors.AbstractInjector<T>
          extended by org.picocontainer.injectors.CompositeInjector
              extended by org.picocontainer.injectors.MultiInjector
All Implemented Interfaces:
Serializable, ComponentAdapter, ComponentMonitorStrategy, Injector

public class MultiInjector
extends CompositeInjector

Author:
Paul Hammant
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.picocontainer.injectors.AbstractInjector
AbstractInjector.AmbiguousComponentResolutionException, AbstractInjector.CyclicDependencyException, AbstractInjector.NotConcreteRegistrationException, AbstractInjector.UnsatisfiableDependenciesException
 
Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter
ComponentAdapter.NOTHING
 
Field Summary
 
Fields inherited from class org.picocontainer.injectors.AbstractInjector
parameters, verifyingGuard
 
Constructor Summary
MultiInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor componentMonitor, String setterPrefix, boolean useNames)
           
 
Method Summary
 String getDescriptor()
          Get a string key descriptor of the component adapter for use in toString()
 
Methods inherited from class org.picocontainer.injectors.CompositeInjector
accept, decorateComponentInstance, getComponentInstance, getComponentInstance, verify
 
Methods inherited from class org.picocontainer.injectors.AbstractInjector
box, caughtIllegalAccessException, caughtIllegalAccessException, caughtInstantiationException, caughtInvocationTargetException, createDefaultParameters, newInstance, useNames
 
Methods inherited from class org.picocontainer.adapters.AbstractAdapter
changeMonitor, checkTypeCompatibility, currentMonitor, findAdapterOfType, getComponentImplementation, getComponentKey, getDelegate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.picocontainer.ComponentAdapter
findAdapterOfType, getComponentImplementation, getComponentKey, getDelegate
 

Constructor Detail

MultiInjector

public MultiInjector(Object componentKey,
                     Class componentImplementation,
                     Parameter[] parameters,
                     ComponentMonitor componentMonitor,
                     String setterPrefix,
                     boolean useNames)
Method Detail

getDescriptor

public String getDescriptor()
Description copied from interface: ComponentAdapter
Get a string key descriptor of the component adapter for use in toString()

Specified by:
getDescriptor in interface ComponentAdapter
Overrides:
getDescriptor in class CompositeInjector
Returns:
the descriptor


Copyright © 2003-2010 Codehaus. All Rights Reserved.