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.
 ActiveDescriptor<?> DynamicConfiguration.bind(Descriptor key)
          This method will bind the given descriptor to this Module.
 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<?> 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.
 void ErrorService.failureToReify(ActiveDescriptor<?> descriptor, Injectee injectee, MultiException me)
          This method is called if an ActiveDescriptor fails to reify properly during a lookup operation.
<U> U
Context.find(ActiveDescriptor<U> descriptor)
          Finds an existing contextual instance, without creating or loading any objects
<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.
 boolean Validator.validate(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee)
          This method is called whenever it has been determined that a validating class is to be injected into an injection point, or when a descriptor is being looked up explicitly with the API, or a descriptor is being bound or unbound into the registry.
 

Uses of ActiveDescriptor in org.glassfish.hk2.internal
 

Classes in org.glassfish.hk2.internal that implement ActiveDescriptor
 class ConstantActiveDescriptor<T>
           
 

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.
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.