public static class MethodInjector.ByReflectionMethod extends MethodInjector
MethodInjector.ByMethodName, MethodInjector.ByReflectionMethod
SingleMemberInjector.ParameterCannotBeNullException
AbstractInjector.AmbiguousComponentResolutionException, AbstractInjector.CyclicDependencyException, AbstractInjector.NotConcreteRegistrationException, AbstractInjector.UnsatisfiableDependenciesException
ComponentAdapter.NOTHING
parameters, verifyingGuard
Constructor and Description |
---|
ByReflectionMethod(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
Method injectionMethod,
boolean useNames) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor()
Get a string key descriptor of the component adapter for use in toString()
|
protected Method |
getInjectorMethod() |
decorateComponentInstance, getComponentInstance, getMemberArguments, isNullParamAllowed, verify
boxParameters, getBindings, getMemberArguments, getParameter, getParanamer, nullCheck
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 ByReflectionMethod(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, Method injectionMethod, boolean useNames) throws AbstractInjector.NotConcreteRegistrationException
protected Method getInjectorMethod()
getInjectorMethod
in class MethodInjector
public String getDescriptor()
ComponentAdapter
getDescriptor
in interface ComponentAdapter
getDescriptor
in class AbstractInjector
Copyright © 2003–2016 Codehaus. All rights reserved.