Uses of Interface
org.glassfish.hk2.api.ActiveDescriptor

Packages that use ActiveDescriptor
org.glassfish.hk2.api   
org.glassfish.hk2.internal   
org.glassfish.hk2.utilities   
 

Uses of ActiveDescriptor in org.glassfish.hk2.api
 

Methods in org.glassfish.hk2.api that return ActiveDescriptor
<T> ActiveDescriptor<T>
DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor)
          This allows third party systems to add reified active descriptors to the system.
<T> ActiveDescriptor<T>
DynamicConfiguration.addActiveDescriptor(Class<T> rawClass)
          This adds an active descriptor to the system based completely on the analysis of the given class.
<T> ActiveDescriptor<T>
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
<T> ActiveDescriptor<T>
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
 void Context.destroyOne(ActiveDescriptor<?> descriptor)
          This method is called when ServiceHandle.destroy() method is called.
<U> U
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.
<T> T
ServiceLocator.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root)
          This method should be called by code getting injectee's on behalf of some root object.
<T> ServiceHandle<T>
ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor)
          Gets a service handle that can be used to get and destroy the returned service.
<T> ServiceHandle<T>
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.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)
           
 void PerThreadContext.destroyOne(ActiveDescriptor<?> descriptor)
           
<U> U
PerThreadContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root)
           
 

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
<T> ActiveDescriptor<T>
ServiceLocatorUtilities.addOneConstant(ServiceLocator locator, Object constant)
          This method adds one existing object to the given service locator.
static
<T> ActiveDescriptor<T>
ServiceLocatorUtilities.addOneConstant(ServiceLocator locator, Object constant, String name, Type... contracts)
          This method adds one existing object to the given service locator.
static
<T> ActiveDescriptor<T>
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.
 

Constructors in org.glassfish.hk2.utilities with parameters of type ActiveDescriptor
AliasDescriptor(ServiceLocator locator, ActiveDescriptor<T> descriptor, String contract, String name)
          Construct an AliasDescriptor.
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.