|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ActiveDescriptor in com.sun.hk2.component |
---|
Classes in com.sun.hk2.component that implement ActiveDescriptor | |
---|---|
class |
ExistingSingletonInhabitant<T>
Deprecated. |
Uses of ActiveDescriptor in org.glassfish.examples.ctm |
---|
Methods in org.glassfish.examples.ctm with parameters of type ActiveDescriptor | ||
---|---|---|
boolean |
TenantScopedContext.containsKey(ActiveDescriptor<?> descriptor)
|
|
|
TenantScopedContext.findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
Uses of ActiveDescriptor in org.glassfish.examples.http |
---|
Methods in org.glassfish.examples.http with parameters of type ActiveDescriptor | ||
---|---|---|
boolean |
RequestContext.containsKey(ActiveDescriptor<?> descriptor)
|
|
|
RequestContext.findOrCreate(ActiveDescriptor<U> activeDescriptor,
ServiceHandle<?> root)
|
Uses of ActiveDescriptor in org.glassfish.hk2.api |
---|
Methods in org.glassfish.hk2.api that return ActiveDescriptor | ||
---|---|---|
|
DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
This allows third party systems to add reified active descriptors to the system. |
|
|
DynamicConfiguration.addActiveDescriptor(Class<T> rawClass)
This adds an active descriptor to the system based completely on the analysis of the given class. |
|
ActiveDescriptor<?> |
DynamicConfiguration.bind(Descriptor key)
This method will bind the given descriptor to this Module. |
|
ActiveDescriptor<?> |
InstanceLifecycleEvent.getActiveDescriptor()
The active descriptor that is being used for the operation. |
|
ActiveDescriptor<T> |
ServiceHandle.getActiveDescriptor()
Returns the ActiveDescriptor associated with this service handle |
|
ActiveDescriptor<?> |
ServiceLocator.getBestDescriptor(Filter filter)
Gets the descriptor that best matches this filter, taking ranking and service id into account |
|
ActiveDescriptor<?> |
ValidationInformation.getCandidate()
The candidate descriptor for this operation |
|
ActiveDescriptor<?> |
ServiceLocator.getInjecteeDescriptor(Injectee injectee)
This method will first find a descriptor for this injectee, and then reify that descriptor. |
|
ActiveDescriptor<?> |
ServiceLocator.reifyDescriptor(Descriptor descriptor)
Converts a descriptor to an ActiveDescriptor. |
|
ActiveDescriptor<?> |
ServiceLocator.reifyDescriptor(Descriptor descriptor,
Injectee injectee)
Converts a descriptor to an ActiveDescriptor. |
Methods in org.glassfish.hk2.api that return types with arguments of type ActiveDescriptor | |
---|---|
List<ActiveDescriptor<?>> |
ServiceLocator.getDescriptors(Filter filter)
Gets the list of descriptors that match the given filter |
Methods in org.glassfish.hk2.api with parameters of type ActiveDescriptor | ||
---|---|---|
|
DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
This allows third party systems to add reified active descriptors to the system. |
|
boolean |
Context.containsKey(ActiveDescriptor<?> descriptor)
Determines if this context has a value for the given key |
|
|
Context.findOrCreate(ActiveDescriptor<U> activeDescriptor,
ServiceHandle<?> root)
Creates a contextual instance of this ActiveDescriptor by calling its create method if there is no other matching contextual instance. |
|
|
ServiceLocator.getService(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
This method should be called by code getting injectee's on behalf of some root object. |
|
|
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
Gets a service handle that can be used to get and destroy the returned service. |
|
|
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
Gets a service handle that can be used to get and destroy the returned service. |
Uses of ActiveDescriptor in org.glassfish.hk2.deprecated.utilities |
---|
Methods in org.glassfish.hk2.deprecated.utilities that return ActiveDescriptor | |
---|---|
static ActiveDescriptor<?> |
Utilities.add(ServiceLocator locator,
Descriptor descriptor)
Deprecated. Bind the given descriptor to the given service locator. |
Methods in org.glassfish.hk2.deprecated.utilities with parameters of type ActiveDescriptor | ||
---|---|---|
static
|
Utilities.addIndex(ServiceLocator locator,
ActiveDescriptor<T> descriptor,
String contract,
String name)
Deprecated. Add an alternate index to look up the given descriptor. |
|
static
|
Utilities.getInhabitantFromActiveDescriptor(ActiveDescriptor<T> fromMe,
ServiceLocator locator)
Deprecated. Creates an Inhabitant from an ActiveDescriptor . |
Uses of ActiveDescriptor in org.glassfish.hk2.internal |
---|
Classes in org.glassfish.hk2.internal that implement ActiveDescriptor | |
---|---|
class |
ConstantActiveDescriptor<T>
|
Methods in org.glassfish.hk2.internal with parameters of type ActiveDescriptor | ||
---|---|---|
boolean |
PerThreadContext.containsKey(ActiveDescriptor<?> descriptor)
|
|
|
PerThreadContext.findOrCreate(ActiveDescriptor<U> activeDescriptor,
ServiceHandle<?> root)
|
Uses of ActiveDescriptor in org.glassfish.hk2.runlevel |
---|
Methods in org.glassfish.hk2.runlevel with parameters of type ActiveDescriptor | |
---|---|
void |
Activator.activate(ActiveDescriptor<?> activeDescriptor)
Activate the run level service associated with given descriptor. |
void |
Activator.deactivate(ActiveDescriptor<?> activeDescriptor)
Deactivate the run level service associated with given descriptor. |
void |
RunLevelController.recordActivation(ActiveDescriptor<?> descriptor)
Record the activation the run level service associated with the given descriptor. |
Method parameters in org.glassfish.hk2.runlevel with type arguments of type ActiveDescriptor | |
---|---|
void |
Sorter.sort(List<ActiveDescriptor<?>> descriptors)
Sort the given list of run level service descriptors. |
Uses of ActiveDescriptor in org.glassfish.hk2.runlevel.internal |
---|
Methods in org.glassfish.hk2.runlevel.internal with parameters of type ActiveDescriptor | ||
---|---|---|
boolean |
RunLevelContext.containsKey(ActiveDescriptor<?> activeDescriptor)
|
|
|
RunLevelContext.deactivate(ActiveDescriptor<T> activeDescriptor)
Deactivate the given descriptor. |
|
|
RunLevelContext.findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
Uses of ActiveDescriptor in org.glassfish.hk2.runlevel.utilities |
---|
Methods in org.glassfish.hk2.runlevel.utilities that return types with arguments of type ActiveDescriptor | |
---|---|
HashMap<Integer,Stack<ActiveDescriptor<?>>> |
RunLevelControllerImpl.getRecorders()
|
Methods in org.glassfish.hk2.runlevel.utilities with parameters of type ActiveDescriptor | |
---|---|
void |
RunLevelControllerImpl.activate(ActiveDescriptor<?> descriptor)
|
void |
RunLevelControllerImpl.deactivate(ActiveDescriptor<?> descriptor)
|
void |
RunLevelControllerImpl.recordActivation(ActiveDescriptor<?> descriptor)
|
Uses of ActiveDescriptor in org.glassfish.hk2.utilities |
---|
Classes in org.glassfish.hk2.utilities that implement ActiveDescriptor | |
---|---|
class |
AbstractActiveDescriptor<T>
This class can be used as a starting point for those writing their own ActiveDescriptor. |
class |
AliasDescriptor<T>
A descriptor class that serves as an alias for another descriptor. |
Methods in org.glassfish.hk2.utilities that return ActiveDescriptor | |
---|---|
static ActiveDescriptor<?> |
ServiceLocatorUtilities.addOneDescriptor(ServiceLocator locator,
Descriptor descriptor)
It is very often the case that one wishes to add a single descriptor to a service locator. |
ActiveDescriptor<T> |
AliasDescriptor.getDescriptor()
Get the descriptor being aliased. |
Methods in org.glassfish.hk2.utilities with parameters of type ActiveDescriptor | |
---|---|
static IndexedFilter |
BuilderHelper.createSpecificDescriptorFilter(ActiveDescriptor<?> descriptor)
This method creates a filter that will match one and only one descriptor. |
Constructors in org.glassfish.hk2.utilities with parameters of type ActiveDescriptor | |
---|---|
AliasDescriptor(ServiceLocator locator,
ActiveDescriptor<T> descriptor,
String contract,
String name)
Construct an AliasDescriptor. |
Uses of ActiveDescriptor in org.jvnet.hk2.component |
---|
Methods in org.jvnet.hk2.component that return ActiveDescriptor | |
---|---|
ActiveDescriptor<?> |
Habitat.getBestDescriptor(Filter filter)
Deprecated. |
ActiveDescriptor<?> |
Habitat.getInjecteeDescriptor(Injectee injectee)
Deprecated. |
ActiveDescriptor<?> |
Habitat.reifyDescriptor(Descriptor descriptor)
Deprecated. |
ActiveDescriptor<?> |
Habitat.reifyDescriptor(Descriptor descriptor,
Injectee injectee)
Deprecated. |
Methods in org.jvnet.hk2.component that return types with arguments of type ActiveDescriptor | |
---|---|
List<ActiveDescriptor<?>> |
Habitat.getDescriptors(Filter filter)
Deprecated. |
Methods in org.jvnet.hk2.component with parameters of type ActiveDescriptor | ||
---|---|---|
|
Habitat.getService(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
Deprecated. |
|
|
Habitat.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
Deprecated. |
|
|
Habitat.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
Deprecated. |
Uses of ActiveDescriptor in org.jvnet.hk2.config |
---|
Classes in org.jvnet.hk2.config that implement ActiveDescriptor | |
---|---|
class |
ConfigBean
ConfigBean is the core implementation of the config beans. |
class |
Dom
Inhabitant that loads configuration from XML. |
class |
DomDescriptor<T>
Created by IntelliJ IDEA. |
Uses of ActiveDescriptor in org.jvnet.hk2.deprecated.internal |
---|
Constructors in org.jvnet.hk2.deprecated.internal with parameters of type ActiveDescriptor | |
---|---|
InhabitantImpl(ActiveDescriptor<T> desc,
ServiceLocator locator)
Deprecated. |
Uses of ActiveDescriptor in org.jvnet.hk2.internal |
---|
Classes in org.jvnet.hk2.internal that implement ActiveDescriptor | |
---|---|
class |
AutoActiveDescriptor<T>
|
class |
SystemDescriptor<T>
|
Methods in org.jvnet.hk2.internal that return ActiveDescriptor | ||
---|---|---|
|
DynamicConfigurationImpl.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
|
|
|
DynamicConfigurationImpl.addActiveDescriptor(Class<T> rawClass)
|
|
ActiveDescriptor<?> |
DynamicConfigurationImpl.bind(Descriptor key)
|
|
static
|
Utilities.createAutoDescriptor(Class<T> clazz,
ServiceLocatorImpl locator)
Creates a reified automatically generated descriptor |
|
ActiveDescriptor<?> |
InstanceLifecycleEventImpl.getActiveDescriptor()
|
|
ActiveDescriptor<T> |
ServiceHandleImpl.getActiveDescriptor()
|
|
ActiveDescriptor<?> |
ServiceLocatorImpl.getBestDescriptor(Filter filter)
|
|
ActiveDescriptor<?> |
ValidationInformationImpl.getCandidate()
|
|
ActiveDescriptor<?> |
ServiceLocatorImpl.getInjecteeDescriptor(Injectee injectee)
|
|
static ActiveDescriptor<ServiceLocator> |
Utilities.getLocatorDescriptor(ServiceLocator locator)
Returns a constant ActiveDescriptor for the basic ServiceLocator |
|
static ActiveDescriptor<InjectionResolver<javax.inject.Inject>> |
Utilities.getThreeThirtyDescriptor(ServiceLocatorImpl locator)
Creates a Three Thirty constant active descriptor |
|
ActiveDescriptor<?> |
ServiceLocatorImpl.reifyDescriptor(Descriptor descriptor)
|
|
ActiveDescriptor<?> |
ServiceLocatorImpl.reifyDescriptor(Descriptor descriptor,
Injectee injectee)
|
Methods in org.jvnet.hk2.internal that return types with arguments of type ActiveDescriptor | |
---|---|
List<ActiveDescriptor<?>> |
ServiceLocatorImpl.getDescriptors(Filter filter)
|
Methods in org.jvnet.hk2.internal with parameters of type ActiveDescriptor | ||
---|---|---|
|
DynamicConfigurationImpl.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
|
|
boolean |
PerLookupContext.containsKey(ActiveDescriptor<?> descriptor)
|
|
boolean |
SingletonContext.containsKey(ActiveDescriptor<?> descriptor)
|
|
|
PerLookupContext.findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
|
|
SingletonContext.findOrCreate(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
|
static Class<?> |
Utilities.getFactoryAwareImplementationClass(ActiveDescriptor<?> descriptor)
This utility will return the proper implementation class, taking into account that the descriptor may be a factory |
|
static Class<? extends Annotation> |
Utilities.getInjectionResolverType(ActiveDescriptor<?> desc)
Will return the class of the injection resolver annotation type, or null if no injection resolver annotation can be found |
|
|
ServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor,
ServiceHandle<?> root)
|
|
|
ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
|
|
|
ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor,
Injectee injectee)
|
|
static void |
Utilities.validateSelfInjectees(ActiveDescriptor<?> givenDescriptor,
List<Injectee> injectees,
Collector collector)
This method validates a list of injectees to ensure that any self injectees have the proper set of requirements. |
Constructors in org.jvnet.hk2.internal with parameters of type ActiveDescriptor | |
---|---|
ValidationInformationImpl(Operation operation,
ActiveDescriptor<?> candidate)
Creates the validation information |
|
ValidationInformationImpl(Operation operation,
ActiveDescriptor<?> candidate,
Injectee injectee,
Filter filter)
Creates the validation information |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |