public class AnnotatedMethodInjector extends SetterInjector
AbstractInjector.AmbiguousComponentResolutionException, AbstractInjector.CyclicDependencyException, AbstractInjector.NotConcreteRegistrationException, AbstractInjector.UnsatisfiableDependenciesException
ComponentAdapter.NOTHING
prefix
bindings, injectionMembers, injectionTypes
parameters, verifyingGuard
Constructor and Description |
---|
AnnotatedMethodInjector(Object key,
Class<?> impl,
Parameter[] parameters,
ComponentMonitor monitor,
Class<? extends Annotation> injectionAnnotation,
boolean useNames) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor()
Get a string key descriptor of the component adapter for use in toString()
|
protected Object |
injectIntoMember(AccessibleObject member,
Object componentInstance,
Object toInject) |
protected boolean |
isInjectorMethod(Method method) |
getInjectorPrefix, memberInvocationReturn, unsatisfiedDependencies
crudeMethodSignature, decorateComponentInstance, getComponentInstance, getConstructor, getName, initializeInjectionMembersAndTypeLists, makeParameterNameImpl, 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 AnnotatedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, Class<? extends Annotation> injectionAnnotation, boolean useNames)
protected Object injectIntoMember(AccessibleObject member, Object componentInstance, Object toInject) throws IllegalAccessException, InvocationTargetException
injectIntoMember
in class SetterInjector
IllegalAccessException
InvocationTargetException
protected final boolean isInjectorMethod(Method method)
isInjectorMethod
in class SetterInjector
public String getDescriptor()
ComponentAdapter
getDescriptor
in interface ComponentAdapter
getDescriptor
in class SetterInjector
Copyright © 2003–2016 Codehaus. All rights reserved.