Package | Description |
---|---|
org.glassfish.hk2.api | |
org.glassfish.hk2.utilities |
Modifier and Type | Method and Description |
---|---|
Injectee |
UnsatisfiedDependencyException.getInjectee()
Returns the injectee that is unsatisfied
|
Injectee |
ErrorInformation.getInjectee()
This will contain information about the Injectee that was being
injected into when the error occurred.
|
Injectee |
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-null
Injectee that is the injection
point that would be injected into |
Injectee |
InstantiationData.getParentInjectee()
Returns the
Injectee of the service that
is being instantiated with this Factory.provide()
method |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 of
InjectionResolver.resolve(Injectee, ServiceHandle) . |
<T> ServiceHandle<T> |
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
Gets a
ServiceHandle that can be used to get and destroy the service
described by the ActiveDescriptor . |
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.
|
Constructor and Description |
---|
UnsatisfiedDependencyException(Injectee injectee)
Constructs the exception with the given injectee
|
Modifier and Type | Class and Description |
---|---|
class |
InjecteeImpl
This is a writeable version of the Injectee interface.
|
Modifier and Type | Method and Description |
---|---|
List<Injectee> |
AbstractActiveDescriptor.getInjectees() |
List<Injectee> |
AliasDescriptor.getInjectees() |
Modifier and Type | Method and Description |
---|---|
boolean |
GreedyResolver.justInTimeResolution(Injectee failedInjectionPoint) |
Constructor and Description |
---|
InjecteeImpl(Injectee copyMe)
This is the copy constructor, which will copy all the values from the incoming Injectee
|
Copyright © 2009–2019 Oracle Corporation. All rights reserved.