|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.picocontainer.adapters.AbstractAdapter<T> org.picocontainer.injectors.AbstractInjector<T> org.picocontainer.injectors.IterativeInjector<T> org.picocontainer.injectors.SetterInjector org.picocontainer.injectors.AnnotatedMethodInjector
public class AnnotatedMethodInjector
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.SetterInjector |
---|
prefix |
Fields inherited from class org.picocontainer.injectors.IterativeInjector |
---|
bindings, injectionMembers, injectionTypes |
Fields inherited from class org.picocontainer.injectors.AbstractInjector |
---|
parameters, verifyingGuard |
Constructor Summary | |
---|---|
AnnotatedMethodInjector(Object key,
Class<?> impl,
Parameter[] parameters,
ComponentMonitor monitor,
Class<? extends Annotation> injectionAnnotation,
boolean useNames)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.picocontainer.injectors.SetterInjector |
---|
getInjectorPrefix, memberInvocationReturn |
Methods inherited from class org.picocontainer.injectors.IterativeInjector |
---|
decorateComponentInstance, getComponentInstance, getConstructor, getName, initializeInjectionMembersAndTypeLists, makeParameterNameImpl, unsatisfiedDependencies, verify |
Methods inherited from class org.picocontainer.injectors.AbstractInjector |
---|
accept, box, caughtIllegalAccessException, caughtIllegalAccessException, caughtInstantiationException, caughtInvocationTargetException, createDefaultParameters, getComponentInstance, 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 |
---|
public AnnotatedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, Class<? extends Annotation> injectionAnnotation, boolean useNames)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |