public abstract class SingleMemberInjector<T> extends AbstractInjector<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
SingleMemberInjector.ParameterCannotBeNullException |
AbstractInjector.AmbiguousComponentResolutionException, AbstractInjector.CyclicDependencyException, AbstractInjector.NotConcreteRegistrationException, AbstractInjector.UnsatisfiableDependenciesExceptionComponentAdapter.NOTHINGparameters, verifyingGuard| Constructor and Description |
|---|
SingleMemberInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
boolean useNames) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
boxParameters(Type[] parameterTypes) |
protected Annotation[] |
getBindings(Annotation[][] annotationss) |
protected Object[] |
getMemberArguments(PicoContainer container,
AccessibleObject member,
Type[] parameterTypes,
Annotation[] bindings) |
protected Object |
getParameter(PicoContainer container,
AccessibleObject member,
int i,
Type parameterType,
Annotation binding,
Parameter currentParameter,
ComponentAdapter<?> injecteeAdapter) |
protected com.thoughtworks.paranamer.Paranamer |
getParanamer() |
protected boolean |
isNullParamAllowed(AccessibleObject member,
int i)
Checks to see if a null parameter is allowed in the given
constructor/field/method.
|
protected void |
nullCheck(AccessibleObject member,
int i,
ParameterNameBinding expectedNameBinding,
Object result) |
accept, box, caughtIllegalAccessException, caughtIllegalAccessException, caughtInstantiationException, caughtInvocationTargetException, createDefaultParameters, decorateComponentInstance, getComponentInstance, getComponentInstance, getDescriptor, newInstance, useNames, verifychangeMonitor, checkTypeCompatibility, currentMonitor, findAdapterOfType, getComponentImplementation, getComponentKey, getDelegate, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindAdapterOfType, getComponentImplementation, getComponentKey, getDelegatepublic SingleMemberInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, boolean useNames)
protected com.thoughtworks.paranamer.Paranamer getParanamer()
protected Object[] getMemberArguments(PicoContainer container, AccessibleObject member, Type[] parameterTypes, Annotation[] bindings)
protected void boxParameters(Type[] parameterTypes)
protected Object getParameter(PicoContainer container, AccessibleObject member, int i, Type parameterType, Annotation binding, Parameter currentParameter, ComponentAdapter<?> injecteeAdapter)
protected void nullCheck(AccessibleObject member, int i, ParameterNameBinding expectedNameBinding, Object result)
protected boolean isNullParamAllowed(AccessibleObject member, int i)
member - constructor method or fieldi - parameter #.protected Annotation[] getBindings(Annotation[][] annotationss)
Copyright © 2003-2014 Codehaus. All Rights Reserved.