final class ConstructorInjectorStore
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private FailableCache<InjectionPoint,ConstructorInjector<?>> |
cache |
private InjectorImpl |
injector |
Constructor and Description |
---|
ConstructorInjectorStore(InjectorImpl injector) |
Modifier and Type | Method and Description |
---|---|
private <T> ConstructorInjector<T> |
createConstructor(InjectionPoint injectionPoint,
Errors errors) |
ConstructorInjector<?> |
get(InjectionPoint constructorInjector,
Errors errors)
Returns a new complete constructor injector with injection listeners registered.
|
(package private) boolean |
remove(InjectionPoint ip)
Purges an injection point from the cache.
|
private final InjectorImpl injector
private final FailableCache<InjectionPoint,ConstructorInjector<?>> cache
ConstructorInjectorStore(InjectorImpl injector)
public ConstructorInjector<?> get(InjectionPoint constructorInjector, Errors errors) throws ErrorsException
ErrorsException
boolean remove(InjectionPoint ip)
private <T> ConstructorInjector<T> createConstructor(InjectionPoint injectionPoint, Errors errors) throws ErrorsException
ErrorsException