Uses of Interface
org.glassfish.hk2.api.Descriptor
Packages that use Descriptor
Package
Description
-
Uses of Descriptor in com.sun.enterprise.module
Fields in com.sun.enterprise.module with type parameters of type DescriptorModifier and TypeFieldDescriptionprivate Map
<String, List<Descriptor>> ModuleMetadata.descriptors
META-INF/hk2-locator/* cacheMethods in com.sun.enterprise.module that return types with arguments of type DescriptorMethod parameters in com.sun.enterprise.module with type arguments of type DescriptorModifier and TypeMethodDescriptionvoid
ModuleMetadata.addDescriptors
(String serviceLocatorName, Collection<Descriptor> descriptorsToAdd) -
Uses of Descriptor in com.sun.enterprise.module.bootstrap
Methods in com.sun.enterprise.module.bootstrap with parameters of type Descriptor -
Uses of Descriptor in org.glassfish.hk2.api
Subinterfaces of Descriptor in org.glassfish.hk2.apiModifier and TypeInterfaceDescriptioninterface
An ActiveDescriptor contains information about a Descriptor after it has been reified.Fields in org.glassfish.hk2.api declared as DescriptorMethods in org.glassfish.hk2.api that return DescriptorModifier and TypeMethodDescriptionErrorInformation.getDescriptor()
This will contain the active descriptor that is associated with this failure.DuplicateServiceException.getExistingDescriptor()
Gets the descriptor that matched one of the idempotent filtersFactoryDescriptors.getFactoryAsAFactory()
This returns the factory as a factory for some other type.FactoryDescriptors.getFactoryAsAService()
This returns the factory as a service itself.Methods in org.glassfish.hk2.api with parameters of type DescriptorModifier and TypeMethodDescription<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 objectServiceLocator.reifyDescriptor
(Descriptor descriptor) Converts a descriptor to an ActiveDescriptor.ServiceLocator.reifyDescriptor
(Descriptor descriptor, Injectee injectee) Converts a descriptor to an ActiveDescriptor.Constructors in org.glassfish.hk2.api with parameters of type DescriptorModifierConstructorDescriptionDuplicateServiceException
(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 DescriptorMethods in org.glassfish.hk2.configuration.internal with parameters of type DescriptorModifier and TypeMethodDescriptionboolean
ChildFilter.matches
(Descriptor d) boolean
NoNameTypeFilter.matches
(Descriptor d) -
Uses of Descriptor in org.glassfish.hk2.extras.hk2bridge.internal
Classes in org.glassfish.hk2.extras.hk2bridge.internal that implement DescriptorMethods in org.glassfish.hk2.extras.hk2bridge.internal with parameters of type DescriptorModifier and TypeMethodDescriptionHk2BridgeImpl.getMetadataLongsList
(Descriptor d, String field) Gets all of the longs encoded into this descriptors metadata fieldHk2BridgeImpl.getMetadataLongsSet
(Descriptor d, String field) Gets all of the longs encoded into this descriptors metadata fieldboolean
Hk2BridgeImpl.NoLocalNoRemoteFilter.matches
(Descriptor d) boolean
Hk2BridgeImpl.RemoveFilter.matches
(Descriptor d) -
Uses of Descriptor in org.glassfish.hk2.extras.operation.internal
Classes in org.glassfish.hk2.extras.operation.internal that implement Descriptor -
Uses of Descriptor in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement DescriptorModifier and TypeClassDescriptionprivate static class
class
Methods in org.glassfish.hk2.internal with parameters of type DescriptorModifier and TypeMethodDescriptionboolean
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 DescriptorModifier and TypeMethodDescriptionErrorInformation.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
Fields in org.glassfish.hk2.runlevel.internal declared as DescriptorMethods in org.glassfish.hk2.runlevel.internal that return DescriptorMethods in org.glassfish.hk2.runlevel.internal with parameters of type DescriptorModifier and TypeMethodDescriptionprivate void
CurrentTaskFuture.UpOneLevel.fail
(Throwable th, Descriptor descriptor) private static ErrorInformation
CurrentTaskFuture.invokeOnError
(CurrentTaskFuture job, Throwable th, ErrorInformation.ErrorAction action, List<ServiceHandle<RunLevelListener>> listeners, Descriptor descriptor) Constructors in org.glassfish.hk2.runlevel.internal with parameters of type DescriptorModifierConstructorDescription(package private)
ErrorInformationImpl
(Throwable error, ErrorInformation.ErrorAction action, Descriptor descriptor) The given descriptor was processing during a cancellation of the jobThis 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 DescriptorModifier and TypeMethodDescriptionstatic 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 DescriptorModifier and TypeClassDescriptionclass
This class can be used as a starting point for those writing their own ActiveDescriptor.class
An active descriptor class that serves as an alias for another descriptor.class
The implementation of the descriptor itself, with the bonus of being externalizable, and having writeable fieldsFields in org.glassfish.hk2.utilities declared as DescriptorModifier and TypeFieldDescriptionprivate final Descriptor
FactoryDescriptorsImpl.asProvideMethod
private final Descriptor
FactoryDescriptorsImpl.asService
Methods in org.glassfish.hk2.utilities that return DescriptorModifier and TypeMethodDescriptionFactoryDescriptorsImpl.getFactoryAsAFactory()
FactoryDescriptorsImpl.getFactoryAsAService()
Methods in org.glassfish.hk2.utilities with parameters of type DescriptorModifier and TypeMethodDescriptionstatic <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.(package private) static String
ServiceLocatorUtilities.getBestContract
(Descriptor d) 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) boolean
ServiceLocatorUtilities.AliasFilter.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 DescriptorModifierConstructorDescriptionprotected
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()
methodprivate
ImplOnlyKey
(Descriptor desc) -
Uses of Descriptor in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding with parameters of type DescriptorModifier and TypeMethodDescription<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) private void
AbstractBinder.setLoader
(Descriptor descriptor) -
Uses of Descriptor in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement DescriptorModifier and TypeClassDescriptionclass
class
class
Fields in org.jvnet.hk2.internal declared as DescriptorModifier and TypeFieldDescriptionprivate final Descriptor
SystemDescriptor.baseDescriptor
private final Descriptor
ErrorInformationImpl.descriptor
Methods in org.jvnet.hk2.internal that return DescriptorMethods in org.jvnet.hk2.internal with parameters of type DescriptorModifier and TypeMethodDescription<T> ActiveDescriptor
<T> DynamicConfigurationImpl.bind
(Descriptor key) <T> ActiveDescriptor
<T> DynamicConfigurationImpl.bind
(Descriptor key, boolean requiresDeepCopy) private static void
DynamicConfigurationImpl.checkDescriptor
(Descriptor d) 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 thingprivate static ScopeInfo
Utilities.getScopeInfo
(AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector) private Class
<?> ServiceLocatorImpl.loadClass
(Descriptor descriptor, Injectee injectee) static 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 otherwiseboolean
ServiceLocatorImpl.UnqualifiedIndexedFilter.matches
(Descriptor d) ServiceLocatorImpl.reifyDescriptor
(Descriptor descriptor) ServiceLocatorImpl.reifyDescriptor
(Descriptor descriptor, Injectee injectee) Constructors in org.jvnet.hk2.internal with parameters of type DescriptorModifierConstructorDescription(package private)
ErrorInformationImpl
(ErrorType errorType, Descriptor descriptor, Injectee injectee, MultiException exception) (package private)
SystemDescriptor
(Descriptor baseDescriptor, boolean requiresDeepCopy, ServiceLocatorImpl locator, Long serviceId)