Uses of Interface
org.glassfish.hk2.api.Descriptor
-
-
Uses of Descriptor in com.sun.enterprise.module
Methods in com.sun.enterprise.module that return types with arguments of type Descriptor Modifier and Type Method Description Map<String,List<Descriptor>>
ModuleMetadata. getDescriptors()
Method parameters in com.sun.enterprise.module with type arguments of type Descriptor Modifier and Type Method Description void
ModuleMetadata. addDescriptors(String serviceLocatorName, Collection<Descriptor> descriptorsToAdd)
-
Uses of Descriptor in org.glassfish.hk2.api
Subinterfaces of Descriptor in org.glassfish.hk2.api Modifier and Type Interface Description interface
ActiveDescriptor<T>
An ActiveDescriptor contains information about a Descriptor after it has been reified.Methods in org.glassfish.hk2.api that return Descriptor Modifier and Type Method Description Descriptor
ErrorInformation. getDescriptor()
This will contain the active descriptor that is associated with this failure.Descriptor
DuplicateServiceException. getExistingDescriptor()
Gets the descriptor that matched one of the idempotent filtersDescriptor
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 Modifier and Type Method Description <T> ActiveDescriptor<T>
DynamicConfiguration. bind(Descriptor key)
This method will bind the given descriptor to this Module.<T> ActiveDescriptor<T>
DynamicConfiguration. bind(Descriptor key, boolean requiresDeepCopy)
This method will bind the given descriptor to this Module.boolean
Filter. matches(Descriptor d)
Returns true if this filter matches the given objectActiveDescriptor<?>
ServiceLocator. reifyDescriptor(Descriptor descriptor)
Converts a descriptor to an ActiveDescriptor.ActiveDescriptor<?>
ServiceLocator. reifyDescriptor(Descriptor descriptor, Injectee injectee)
Converts a descriptor to an ActiveDescriptor.Constructors in org.glassfish.hk2.api with parameters of type Descriptor Constructor Description DuplicateServiceException(Descriptor existingDescriptor)
Called by the system to initialize the existing descriptor that matched -
Uses of Descriptor in org.glassfish.hk2.configuration.internal
Classes in org.glassfish.hk2.configuration.internal that implement Descriptor Modifier and Type Class Description class
DelegatingNamedActiveDescriptor
-
Uses of Descriptor in org.glassfish.hk2.extras.hk2bridge.internal
Classes in org.glassfish.hk2.extras.hk2bridge.internal that implement Descriptor Modifier and Type Class Description class
CrossOverDescriptor<T>
-
Uses of Descriptor in org.glassfish.hk2.extras.operation.internal
Classes in org.glassfish.hk2.extras.operation.internal that implement Descriptor Modifier and Type Class Description class
OperationDescriptor<T extends Annotation>
-
Uses of Descriptor in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement Descriptor Modifier and Type Class Description class
ConstantActiveDescriptor<T>
Methods in org.glassfish.hk2.internal with parameters of type Descriptor Modifier and Type Method Description boolean
ImmediateLocalLocatorFilter. matches(Descriptor d)
boolean
IndexedFilterImpl. matches(Descriptor d)
boolean
SpecificFilterImpl. matches(Descriptor d)
boolean
StarFilter. matches(Descriptor d)
-
Uses of Descriptor in org.glassfish.hk2.runlevel
Methods in org.glassfish.hk2.runlevel that return Descriptor Modifier and Type Method Description Descriptor
ErrorInformation. getFailedDescriptor()
Returns the descriptor associated with this failure, or null if the descriptor could not be determined -
Uses of Descriptor in org.glassfish.hk2.runlevel.internal
Methods in org.glassfish.hk2.runlevel.internal that return Descriptor Modifier and Type Method Description Descriptor
ErrorInformationImpl. getFailedDescriptor()
Constructors in org.glassfish.hk2.runlevel.internal with parameters of type Descriptor Constructor Description WasCancelledException(Descriptor d)
The given descriptor was processing during a cancellation of the jobWouldBlockException(Descriptor d)
This indicates a blocking condition on a given descriptor -
Uses of Descriptor in org.glassfish.hk2.runlevel.utilities
Methods in org.glassfish.hk2.runlevel.utilities with parameters of type Descriptor Modifier and Type Method Description static int
Utilities. getRunLevelMode(ServiceLocator locator, Descriptor descriptor, Integer modeOverride)
Get the run level mode from the metadata of the given descriptor.static int
Utilities. getRunLevelValue(ServiceLocator locator, Descriptor descriptor)
Get the run level value from the metadata of the given descriptor. -
Uses of Descriptor in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement Descriptor Modifier and Type Class Description class
AbstractActiveDescriptor<T>
This class can be used as a starting point for those writing their own ActiveDescriptor.class
AliasDescriptor<T>
An active 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 fieldsMethods in org.glassfish.hk2.utilities that return Descriptor Modifier and Type Method Description Descriptor
FactoryDescriptorsImpl. getFactoryAsAFactory()
Descriptor
FactoryDescriptorsImpl. getFactoryAsAService()
Methods in org.glassfish.hk2.utilities with parameters of type Descriptor Modifier and Type Method Description 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 <T> ActiveDescriptor<T>
ServiceLocatorUtilities. addOneDescriptor(ServiceLocator locator, Descriptor descriptor, boolean requiresDeepCopy)
It is very often the case that one wishes to add a single descriptor to a service locator.static IndexedFilter
BuilderHelper. createDescriptorFilter(Descriptor descriptorImpl)
Returns a filter that will return true an IndexedFilter that will match theDescriptorImpl.equals(Object)
returnstatic IndexedFilter
BuilderHelper. createDescriptorFilter(Descriptor descriptorImpl, boolean deepCopy)
Returns a filter that will return true an IndexedFilter that will match theDescriptorImpl.equals(Object)
returnstatic 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 descriptorstatic boolean
DescriptorImpl. descriptorEquals(Descriptor a, Descriptor b)
Tests if two descriptors are equal not taking into account the locator-id and server-id by comparing the following fields: implementation contracts name scope qualifiers descriptorType descriptorVisibility metadata proxiable proxyForSameScope analysisNamestatic boolean
BuilderHelper. filterMatches(Descriptor baseDescriptor, Filter filter)
Determines if the given descriptor matches the given filter.static <T> ActiveDescriptor<T>
ServiceLocatorUtilities. findOneDescriptor(ServiceLocator locator, Descriptor descriptor)
Finds a descriptor in the given service locator.static String
ServiceLocatorUtilities. getOneMetadataField(Descriptor d, String field)
Gets one value from a metadata field from the given descriptorstatic <T> T
ServiceLocatorUtilities. getService(ServiceLocator locator, Descriptor descriptor)
Returns the service in this service locator given the current descriptor.boolean
OrFilter. matches(Descriptor d)
static void
DescriptorImpl. pretty(StringBuffer sb, Descriptor d)
Will pretty print a descriptorstatic void
ServiceLocatorUtilities. removeOneDescriptor(ServiceLocator locator, Descriptor descriptor)
This method will attempt to remove descriptors matching the passed in descriptor from the given locator.static void
ServiceLocatorUtilities. removeOneDescriptor(ServiceLocator locator, Descriptor descriptor, boolean includeAliasDescriptors)
This method will attempt to remove descriptors matching the passed in descriptor from the given locator.Constructors in org.glassfish.hk2.utilities with parameters of type Descriptor Constructor Description 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 descriptorFactoryDescriptorsImpl(Descriptor asService, Descriptor asProvideMethod)
This creates a descriptor pair describing aFactory
and the associatedFactory.provide()
method -
Uses of Descriptor in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding with parameters of type Descriptor Modifier and Type Method Description <T> ActiveDescriptor<T>
AbstractBinder. bind(Descriptor descriptor)
This method will bind the given descriptor to this Module.<T> ActiveDescriptor<T>
AbstractBinder. bind(Descriptor descriptor, boolean requiresDeepCopy)
-
Uses of Descriptor in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement Descriptor Modifier and Type Class Description class
AutoActiveDescriptor<T>
class
ConstantActiveDescriptor<T>
class
SystemDescriptor<T>
Methods in org.jvnet.hk2.internal that return Descriptor Modifier and Type Method Description Descriptor
ErrorInformationImpl. getDescriptor()
Methods in org.jvnet.hk2.internal with parameters of type Descriptor Modifier and Type Method Description <T> ActiveDescriptor<T>
DynamicConfigurationImpl. bind(Descriptor key)
<T> ActiveDescriptor<T>
DynamicConfigurationImpl. bind(Descriptor key, boolean requiresDeepCopy)
int
DescriptorComparator. compare(Descriptor o1, Descriptor o2)
static Class<? extends Annotation>
Utilities. getScopeAnnotationType(Class<?> fromThis, Descriptor defaultScope)
Returns the scope of this thingstatic ScopeInfo
Utilities. getScopeAnnotationType(AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector)
Returns the scope of this thingstatic Class<?>
Utilities. loadClass(String loadMe, Descriptor fromMe, Collector collector)
Loads the class using the loader from the given descriptor or the classloader of the utilities class otherwiseActiveDescriptor<?>
ServiceLocatorImpl. reifyDescriptor(Descriptor descriptor)
ActiveDescriptor<?>
ServiceLocatorImpl. reifyDescriptor(Descriptor descriptor, Injectee injectee)
-