public class NamedMethodInjector<T> extends SetterInjector<T>
AbstractInjector.AmbiguousComponentResolutionException, AbstractInjector.CyclicDependencyException, AbstractInjector.NotConcreteRegistrationException, AbstractInjector.UnsatisfiableDependenciesException
ComponentAdapter.NOTHING
prefix
bindings, injectionMembers, injectionTypes
parameters, verifyingGuard
Constructor and Description |
---|
NamedMethodInjector(Object key,
Class<?> impl,
Parameter[] parameters,
ComponentMonitor monitor) |
NamedMethodInjector(Object key,
Class<?> impl,
Parameter[] parameters,
ComponentMonitor monitor,
boolean optional) |
NamedMethodInjector(Object key,
Class<?> impl,
Parameter[] parameters,
ComponentMonitor monitor,
String prefix) |
NamedMethodInjector(Object key,
Class<?> impl,
Parameter[] parameters,
ComponentMonitor monitor,
String prefix,
boolean optional) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor()
Get a string key descriptor of the component adapter for use in toString()
|
protected NameBinding |
makeParameterNameImpl(AccessibleObject member) |
getInjectorPrefix, injectIntoMember, isInjectorMethod, memberInvocationReturn, unsatisfiedDependencies
crudeMethodSignature, decorateComponentInstance, getComponentInstance, getConstructor, getName, initializeInjectionMembersAndTypeLists, verify
accept, box, caughtIllegalAccessException, caughtIllegalAccessException, caughtInstantiationException, caughtInvocationTargetException, createDefaultParameters, getComponentInstance, newInstance, useNames
changeMonitor, checkTypeCompatibility, currentMonitor, findAdapterOfType, getComponentImplementation, getComponentKey, getDelegate, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findAdapterOfType, getComponentImplementation, getComponentKey, getDelegate
public NamedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, boolean optional)
public NamedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor)
public NamedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, String prefix)
public NamedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, String prefix, boolean optional)
protected NameBinding makeParameterNameImpl(AccessibleObject member)
makeParameterNameImpl
in class IterativeInjector<T>
public String getDescriptor()
ComponentAdapter
getDescriptor
in interface ComponentAdapter<T>
getDescriptor
in class SetterInjector<T>
Copyright © 2003–2015 Codehaus. All rights reserved.