Uses of Interface
org.glassfish.hk2.api.Injectee
Packages that use Injectee
-
Uses of Injectee in org.glassfish.hk2.api
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 injecteeUnsatisfiedDependencyException
(Injectee injectee, String serviceLocatorName) -
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