Uses of Interface
org.glassfish.hk2.api.Injectee
-
-
Uses of Injectee in org.glassfish.hk2.api
Methods in org.glassfish.hk2.api that return Injectee Modifier and Type Method Description Injectee
ErrorInformation. getInjectee()
This will contain information about the Injectee that was being injected into when the error occurred.Injectee
UnsatisfiedDependencyException. getInjectee()
Returns the injectee that is unsatisfiedInjectee
ValidationInformation. 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 intoInjectee
InstantiationData. 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 Injectee Modifier and Type Method Description List<Injectee>
ActiveDescriptor. getInjectees()
Returns the full list of Injectees this class has.Map<Injectee,Object>
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 Injectee Modifier and Type Method Description ActiveDescriptor<?>
ServiceLocator. 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.ActiveDescriptor<?>
ServiceLocator. reifyDescriptor(Descriptor descriptor, Injectee injectee)
Converts a descriptor to an ActiveDescriptor.Object
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 Injectee Constructor Description UnsatisfiedDependencyException(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 Injectee Modifier and Type Method Description List<Injectee>
DelegatingNamedActiveDescriptor. getInjectees()
Methods in org.glassfish.hk2.configuration.internal with parameters of type Injectee Modifier and Type Method Description Object
ChildInjectResolverImpl. resolve(Injectee injectee, ServiceHandle<?> root)
Object
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 Modifier and Type Method Description List<Injectee>
CrossOverDescriptor. getInjectees()
-
Uses of Injectee in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement Injectee Modifier and Type Class Description class
InjecteeImpl
This is a writeable version of the Injectee interface.Methods in org.glassfish.hk2.utilities that return types with arguments of type Injectee Modifier and Type Method Description List<Injectee>
AbstractActiveDescriptor. getInjectees()
List<Injectee>
AliasDescriptor. getInjectees()
Methods in org.glassfish.hk2.utilities with parameters of type Injectee Modifier and Type Method Description boolean
GreedyResolver. justInTimeResolution(Injectee failedInjectionPoint)
Constructors in org.glassfish.hk2.utilities with parameters of type Injectee Constructor Description InjecteeImpl(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 Injectee Modifier and Type Class Description class
SystemInjecteeImpl
This is an implementation of Injectee that is used by the system.Methods in org.jvnet.hk2.internal that return Injectee Modifier and Type Method Description Injectee
ErrorInformationImpl. getInjectee()
Injectee
ValidationInformationImpl. getInjectee()
Injectee
ServiceHandleImpl. getOriginalRequest()
Methods in org.jvnet.hk2.internal that return types with arguments of type Injectee Modifier and Type Method Description List<Injectee>
AutoActiveDescriptor. getInjectees()
List<Injectee>
ClazzCreator. getInjectees()
List<Injectee>
Creator. getInjectees()
Returns all the injectees needed prior to creating this objectList<Injectee>
FactoryCreator. getInjectees()
List<Injectee>
SystemDescriptor. getInjectees()
Map<Injectee,Object>
InstanceLifecycleEventImpl. getKnownInjectees()
Methods in org.jvnet.hk2.internal with parameters of type Injectee Modifier and Type Method Description 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)
ActiveDescriptor<?>
ServiceLocatorImpl. getInjecteeDescriptor(Injectee injectee)
InjectionResolver<?>
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)
static Class<?>
Utilities. loadClass(String implementation, Injectee injectee)
Load the given class for the given injectee.void
ServiceHandleImpl. pushInjectee(Injectee push)
void
InstantiationServiceImpl. pushInjecteeParent(Injectee injectee)
ActiveDescriptor<?>
ServiceLocatorImpl. reifyDescriptor(Descriptor descriptor, Injectee injectee)
Object
ThreeThirtyResolver. resolve(Injectee injectee, ServiceHandle<?> root)
Constructors in org.jvnet.hk2.internal with parameters of type Injectee Constructor Description ValidationInformationImpl(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee, Filter filter)
Creates the validation information -
Uses of Injectee in org.jvnet.hk2.testing.junit.internal
Methods in org.jvnet.hk2.testing.junit.internal with parameters of type Injectee Modifier and Type Method Description protected boolean
JustInTimeInjectionResolverImpl. isLookup(Injectee failedInjectionPoint)
Returnstrue
if the suppliedInjectee
represents a service lookup rather than a true injection point.boolean
JustInTimeInjectionResolverImpl. justInTimeResolution(Injectee failedInjectionPoint)
-