Package | Description |
---|---|
org.jvnet.hk2.internal |
Modifier and Type | Field and Description |
---|---|
private java.util.List<SystemInjecteeImpl> |
ClazzCreator.allInjectees |
private java.util.List<SystemInjecteeImpl> |
ClazzCreator.ResolutionInfo.injectees |
private Cache<SystemInjecteeImpl,InjectionResolver<?>> |
ServiceLocatorImpl.injecteeToResolverCache |
Modifier and Type | Method and Description |
---|---|
static java.util.List<SystemInjecteeImpl> |
Utilities.getConstructorInjectees(java.lang.reflect.Constructor<?> c,
ActiveDescriptor<?> injecteeDescriptor)
Returns all the injectees for a constructor
|
static java.util.List<SystemInjecteeImpl> |
Utilities.getFieldInjectees(java.lang.Class<?> actualClass,
java.lang.reflect.Field f,
ActiveDescriptor<?> injecteeDescriptor)
Returns the injectees for a field
|
static java.util.List<SystemInjecteeImpl> |
Utilities.getMethodInjectees(java.lang.Class<?> actualClass,
java.lang.reflect.Method c,
ActiveDescriptor<?> injecteeDescriptor)
Returns all the injectees for a constructor
|
private java.util.Map<SystemInjecteeImpl,java.lang.Object> |
ClazzCreator.resolveAllDependencies(ServiceHandle<?> root) |
Modifier and Type | Method and Description |
---|---|
InjectionResolver<?> |
PerLocatorUtilities.getInjectionResolver(ServiceLocatorImpl locator,
SystemInjecteeImpl injectee)
Returns an injection resolver for the injectee
|
(package private) InjectionResolver<?> |
ServiceLocatorImpl.getInjectionResolverForInjectee(SystemInjecteeImpl injectee) |
private void |
ClazzCreator.resolve(java.util.Map<SystemInjecteeImpl,java.lang.Object> addToMe,
InjectionResolver<?> resolver,
SystemInjecteeImpl injectee,
ServiceHandle<?> root,
Collector errorCollection) |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
ClazzCreator.createMe(java.util.Map<SystemInjecteeImpl,java.lang.Object> resolved) |
private void |
ClazzCreator.fieldMe(java.util.Map<SystemInjecteeImpl,java.lang.Object> resolved,
T t) |
private void |
ClazzCreator.methodMe(java.util.Map<SystemInjecteeImpl,java.lang.Object> resolved,
T t) |
private void |
ClazzCreator.resolve(java.util.Map<SystemInjecteeImpl,java.lang.Object> addToMe,
InjectionResolver<?> resolver,
SystemInjecteeImpl injectee,
ServiceHandle<?> root,
Collector errorCollection) |
static void |
Utilities.validateSelfInjectees(ActiveDescriptor<?> givenDescriptor,
java.util.List<SystemInjecteeImpl> injectees,
Collector collector)
This method validates a list of injectees to ensure that any self injectees have
the proper set of requirements.
|
Constructor and Description |
---|
ResolutionInfo(java.lang.reflect.AnnotatedElement baseElement,
java.util.List<SystemInjecteeImpl> injectees) |