Uses of Interface
org.glassfish.hk2.api.Injectee
Packages that use Injectee
Package
Description
-
Uses of Injectee in org.glassfish.hk2.api
Fields in org.glassfish.hk2.api declared as InjecteeModifier and TypeFieldDescriptionprivate final Injectee
UnsatisfiedDependencyException.injectionPoint
Methods in org.glassfish.hk2.api that return InjecteeModifier and TypeMethodDescriptionErrorInformation.getInjectee()
This will contain information about the Injectee that was being injected into when the error occurred.UnsatisfiedDependencyException.getInjectee()
Returns the injectee that is unsatisfiedValidationInformation.getInjectee()
On a LOOKUP operation if the lookup is being performed due to an injection point (as opposed to a lookup via the API) then this method will return a non-nullInjectee
that is the injection point that would be injected intoInstantiationData.getParentInjectee()
Returns theInjectee
of the service that is being instantiated with thisFactory.provide()
methodMethods in org.glassfish.hk2.api that return types with arguments of type InjecteeModifier and TypeMethodDescriptionActiveDescriptor.getInjectees()
Returns the full list of Injectees this class has.InstanceLifecycleEvent.getKnownInjectees()
A map from the Injectee to the object actually used in the production, if known.Methods in org.glassfish.hk2.api with parameters of type InjecteeModifier and TypeMethodDescriptionServiceLocator.getInjecteeDescriptor
(Injectee injectee) This method will first find a descriptor for this injectee, and then reify that descriptor.<T> T
ServiceLocator.getService
(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee injectee) This method should be called by code resolving injectee's on behalf of some root service, usually by an implementation ofInjectionResolver.resolve(Injectee, ServiceHandle)
.<T> ServiceHandle
<T> ServiceLocator.getServiceHandle
(ActiveDescriptor<T> activeDescriptor, Injectee injectee) Gets aServiceHandle
that can be used to get and destroy the service described by theActiveDescriptor
.boolean
JustInTimeInjectionResolver.justInTimeResolution
(Injectee failedInjectionPoint) This method will be called whenever an injection point cannot be resolved.ServiceLocator.reifyDescriptor
(Descriptor descriptor, Injectee injectee) Converts a descriptor to an ActiveDescriptor.InjectionResolver.resolve
(Injectee injectee, ServiceHandle<?> root) This method will return the object that should be injected into the given injection point.Constructors in org.glassfish.hk2.api with parameters of type InjecteeModifierConstructorDescriptionUnsatisfiedDependencyException
(Injectee injectee) Constructs the exception with the given injectee -
Uses of Injectee in org.glassfish.hk2.configuration.internal
Methods in org.glassfish.hk2.configuration.internal that return types with arguments of type InjecteeMethods in org.glassfish.hk2.configuration.internal with parameters of type InjecteeModifier and TypeMethodDescriptionChildInjectResolverImpl.resolve
(Injectee injectee, ServiceHandle<?> root) ConfiguredByInjectionResolver.resolve
(Injectee injectee, ServiceHandle<?> root) -
Uses of Injectee in org.glassfish.hk2.extras.hk2bridge.internal
Methods in org.glassfish.hk2.extras.hk2bridge.internal that return types with arguments of type Injectee -
Uses of Injectee in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement InjecteeModifier and TypeClassDescriptionclass
This is a writeable version of the Injectee interface.Methods in org.glassfish.hk2.utilities that return types with arguments of type InjecteeModifier and TypeMethodDescriptionAbstractActiveDescriptor.getInjectees()
AliasDescriptor.getInjectees()
Methods in org.glassfish.hk2.utilities with parameters of type InjecteeModifier and TypeMethodDescriptionboolean
GreedyResolver.justInTimeResolution
(Injectee failedInjectionPoint) Constructors in org.glassfish.hk2.utilities with parameters of type InjecteeModifierConstructorDescriptionInjecteeImpl
(Injectee copyMe) This is the copy constructor, which will copy all the values from the incoming Injectee -
Uses of Injectee in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement InjecteeModifier and TypeClassDescriptionclass
This is an implementation of Injectee that is used by the system.Fields in org.jvnet.hk2.internal declared as InjecteeModifier and TypeFieldDescriptionprivate final Injectee
ErrorInformationImpl.injectee
private final Injectee
ErrorResults.injectee
private final Injectee
ValidationInformationImpl.injectee
private final Injectee
ServiceLocatorImpl.IgdCacheKey.onBehalfOf
private final Injectee
IterableProviderImpl.originalInjectee
Fields in org.jvnet.hk2.internal with type parameters of type InjecteeModifier and TypeFieldDescriptionprivate final LinkedList
<Injectee> ServiceHandleImpl.injectees
private final HashMap
<Long, LinkedList<Injectee>> InstantiationServiceImpl.injecteeStack
InstanceLifecycleEventImpl.knownInjectees
private final WeakReference
<Injectee> MethodInterceptorImpl.myInjectee
Actual injectee, needed for InstantiationServiceMethods in org.jvnet.hk2.internal that return InjecteeModifier and TypeMethodDescriptionErrorInformationImpl.getInjectee()
(package private) Injectee
ErrorResults.getInjectee()
ValidationInformationImpl.getInjectee()
private Injectee
ServiceHandleImpl.getLastInjectee()
ServiceHandleImpl.getOriginalRequest()
Methods in org.jvnet.hk2.internal that return types with arguments of type InjecteeModifier and TypeMethodDescriptionAutoActiveDescriptor.getInjectees()
ClazzCreator.getInjectees()
Creator.getInjectees()
Returns all the injectees needed prior to creating this objectFactoryCreator.getInjectees()
SystemDescriptor.getInjectees()
InstanceLifecycleEventImpl.getKnownInjectees()
Methods in org.jvnet.hk2.internal with parameters of type InjecteeModifier and TypeMethodDescription(package private) void
NarrowResults.addError
(ActiveDescriptor<?> fail, Injectee injectee, MultiException me) static <T> T
Utilities.createService
(ActiveDescriptor<T> root, Injectee injectee, ServiceLocatorImpl locator, ServiceHandle<T> handle, Class<?> requestedClass) Creates the service (without the need for an intermediate ServiceHandle to be created)<T> T
ProxyUtilities.generateProxy
(Class<?> requestedClass, ServiceLocatorImpl locator, ActiveDescriptor<T> root, ServiceHandleImpl<T> handle, Injectee injectee) private List
<SystemDescriptor<?>> ServiceLocatorImpl.getDescriptors
(Filter filter, Injectee onBehalfOf, boolean getParents, boolean doValidation, boolean getLocals) ServiceLocatorImpl.getInjecteeDescriptor
(Injectee injectee) PerLocatorUtilities.getInjectionResolver
(ServiceLocatorImpl locator, Injectee injectee) Returns an injection resolver for the injectee<T> T
ServiceLocatorImpl.getService
(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee originalRequest) <T> ServiceHandle
<T> ServiceLocatorImpl.getServiceHandle
(ActiveDescriptor<T> activeDescriptor, Injectee injectee) private <T> ServiceHandleImpl
<T> ServiceLocatorImpl.getServiceHandleImpl
(ActiveDescriptor<T> activeDescriptor, Injectee injectee) private <T> ActiveDescriptor
<T> ServiceLocatorImpl.internalGetDescriptor
(Injectee onBehalfOf, Type contractOrImpl, String name, Unqualified unqualified, boolean isIterable, boolean calledFromSecondChanceResolveMethod, Annotation... qualifiers) private <T> ActiveDescriptor
<T> ServiceLocatorImpl.internalGetDescriptor
(Injectee onBehalfOf, Type contractOrImpl, String name, Unqualified unqualified, boolean isIterable, Annotation... qualifiers) private ActiveDescriptor
<?> ServiceLocatorImpl.internalGetInjecteeDescriptor
(Injectee injectee, boolean calledFromSecondChanceResolveMethod) private <T> ServiceHandleImpl
<T> ServiceLocatorImpl.internalGetServiceHandle
(ActiveDescriptor<T> activeDescriptor, Type requestedType, Injectee originalRequest) private static boolean
Utilities.isProxiable
(ActiveDescriptor<?> desc, Injectee injectee) This method determines whether or not the descriptor should be proxied.private Class
<?> ServiceLocatorImpl.loadClass
(Descriptor descriptor, Injectee injectee) static Class
<?> Load the given class for the given injectee.private ImmediateResults
ServiceLocatorImpl.narrow
(ServiceLocator locator, List<SystemDescriptor<?>> candidates, Type requiredType, String name, Injectee injectee, boolean onlyOne, boolean doValidation, NarrowResults cachedResults, Filter filter, Annotation... qualifiers) void
ServiceHandleImpl.pushInjectee
(Injectee push) void
InstantiationServiceImpl.pushInjecteeParent
(Injectee injectee) ServiceLocatorImpl.reifyDescriptor
(Descriptor descriptor, Injectee injectee) ThreeThirtyResolver.resolve
(Injectee injectee, ServiceHandle<?> root) private ActiveDescriptor
<?> ServiceLocatorImpl.secondChanceResolve
(Injectee injectee) private boolean
ServiceLocatorImpl.validate
(SystemDescriptor<?> descriptor, Injectee onBehalfOf, Filter filter) Must be called under lockConstructors in org.jvnet.hk2.internal with parameters of type InjecteeModifierConstructorDescription(package private)
ErrorInformationImpl
(ErrorType errorType, Descriptor descriptor, Injectee injectee, MultiException exception) (package private)
ErrorResults
(ActiveDescriptor<?> descriptor, Injectee injectee, MultiException me) (package private)
IgdCacheKey
(CacheKey key, String name, Injectee onBehalfOf, Type contractOrImpl, Class<?> rawClass, Annotation[] qualifiers, Filter filter) (package private)
IterableProviderImpl
(ServiceLocatorImpl locator, Type requiredType, Set<Annotation> requiredQualifiers, Unqualified unqualified, Injectee originalInjectee, boolean isIterable) (package private)
MethodInterceptorImpl
(ServiceLocatorImpl sli, ActiveDescriptor<?> descriptor, ServiceHandleImpl<?> root, Injectee injectee) (package private)
ServiceHandleImpl
(ServiceLocatorImpl locator, ActiveDescriptor<T> root, Injectee injectee) ValidationInformationImpl
(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee, Filter filter) Creates the validation informationConstructor parameters in org.jvnet.hk2.internal with type arguments of type InjecteeModifierConstructorDescription(package private)
InstanceLifecycleEventImpl
(InstanceLifecycleEventType eventType, Object lifecycleObject, Map<Injectee, Object> knownInjectees, ActiveDescriptor<?> descriptor) -
Uses of Injectee in org.jvnet.hk2.testing.junit.internal
Methods in org.jvnet.hk2.testing.junit.internal with parameters of type InjecteeModifier and TypeMethodDescriptionprotected boolean
Returnstrue
if the suppliedInjectee
represents a service lookup rather than a true injection point.boolean
JustInTimeInjectionResolverImpl.justInTimeResolution
(Injectee failedInjectionPoint)