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

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

Uses of Descriptor in org.glassfish.hk2.api
 

Subinterfaces of Descriptor in org.glassfish.hk2.api
 interface ActiveDescriptor<T>
          An ActiveDescriptor contains information about a Descriptor after it has been reified.
 

Methods in org.glassfish.hk2.api that return Descriptor
 Descriptor Descriptor.getBaseDescriptor()
          If this descriptor is based on another descriptor (for example via the Configuration bind call) then this method will return the original basis for this descriptor.
 Descriptor ErrorInformation.getDescriptor()
          This will contain the active descriptor that is associated with this failure.
 Descriptor FactoryDescriptors.getFactoryAsAFactory()
          This returns the factory as a factory for some other type.
 Descriptor FactoryDescriptors.getFactoryAsAService()
          This returns the factory as a service itself.
 

Methods in org.glassfish.hk2.api with parameters of type Descriptor
<T> ActiveDescriptor<T>
DynamicConfiguration.bind(Descriptor key)
          This method will bind the given descriptor to this Module.
 boolean Filter.matches(Descriptor d)
          Returns true if this filter matches the given object
 ActiveDescriptor<?> ServiceLocator.reifyDescriptor(Descriptor descriptor)
          Converts a descriptor to an ActiveDescriptor.
 ActiveDescriptor<?> ServiceLocator.reifyDescriptor(Descriptor descriptor, Injectee injectee)
          Converts a descriptor to an ActiveDescriptor.
 

Uses of Descriptor in org.glassfish.hk2.internal
 

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

Methods in org.glassfish.hk2.internal that return Descriptor
 Descriptor FactoryDescriptorsImpl.getFactoryAsAFactory()
           
 Descriptor FactoryDescriptorsImpl.getFactoryAsAService()
           
 

Methods in org.glassfish.hk2.internal with parameters of type Descriptor
 boolean StarFilter.matches(Descriptor d)
           
 boolean SpecificFilterImpl.matches(Descriptor d)
           
 boolean IndexedFilterImpl.matches(Descriptor d)
           
 

Uses of Descriptor in org.glassfish.hk2.utilities
 

Classes in org.glassfish.hk2.utilities that implement Descriptor
 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.
 class DescriptorImpl
          The implementation of the descriptor itself, with the bonus of being externalizable, and having writeable fields
 

Methods in org.glassfish.hk2.utilities that return Descriptor
 Descriptor DescriptorImpl.getBaseDescriptor()
           
 

Methods in org.glassfish.hk2.utilities with parameters of type Descriptor
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.
static IndexedFilter BuilderHelper.createSpecificDescriptorFilter(Descriptor descriptor)
          This method creates a filter that will match one and only one descriptor.
static DescriptorImpl BuilderHelper.deepCopyDescriptor(Descriptor copyMe)
          Makes a deep copy of the incoming descriptor
static
<T> ActiveDescriptor<T>
ServiceLocatorUtilities.findOneDescriptor(ServiceLocator locator, Descriptor descriptor)
          Finds a descriptor in the given service locator.
static
<T> T
ServiceLocatorUtilities.getService(ServiceLocator locator, Descriptor descriptor)
          Returns the service in this service locator given the current descriptor.
static void DescriptorImpl.pretty(StringBuffer sb, Descriptor d)
          Will pretty print a descriptor
static void ServiceLocatorUtilities.removeOneDescriptor(ServiceLocator locator, Descriptor descriptor)
          This method will attempt to remove descriptors matching the passed in descriptor from the given locator.
 void DescriptorImpl.setBaseDescriptor(Descriptor baseDescriptor)
          Sets the base descriptor to be associated with this descriptor
 

Constructors in org.glassfish.hk2.utilities with parameters of type Descriptor
AbstractActiveDescriptor(Descriptor baseDescriptor)
          Creates a NON reified ActiveDescriptor based on a copy of the given baseDescriptor.
DescriptorImpl(Descriptor copyMe)
          Does a deep copy of the incoming descriptor
DescriptorImpl(Set<String> contracts, String name, String scope, String implementation, Map<String,List<String>> metadatas, Set<String> qualifiers, DescriptorType descriptorType, HK2Loader loader, int rank, Boolean proxiable, Descriptor baseDescriptor, Long id, Long locatorId)
          This creates this descriptor impl, taking all of the fields as given
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.