Uses of Interface
org.glassfish.hk2.api.Descriptor
-
-
Uses of Descriptor in com.sun.enterprise.module
Fields in com.sun.enterprise.module with type parameters of type Descriptor Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.List<Descriptor>>ModuleMetadata. descriptorsMETA-INF/hk2-locator/* cacheMethods in com.sun.enterprise.module that return types with arguments of type Descriptor Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<Descriptor>>ModuleMetadata. getDescriptors()Method parameters in com.sun.enterprise.module with type arguments of type Descriptor Modifier and Type Method Description voidModuleMetadata. addDescriptors(java.lang.String serviceLocatorName, java.util.Collection<Descriptor> descriptorsToAdd) -
Uses of Descriptor in com.sun.enterprise.module.bootstrap
Methods in com.sun.enterprise.module.bootstrap with parameters of type Descriptor Modifier and Type Method Description booleanMain.MainFilter. matches(Descriptor d) -
Uses of Descriptor in org.glassfish.hk2.api
Subinterfaces of Descriptor in org.glassfish.hk2.api Modifier and Type Interface Description interfaceActiveDescriptor<T>An ActiveDescriptor contains information about a Descriptor after it has been reified.Fields in org.glassfish.hk2.api declared as Descriptor Modifier and Type Field Description private DescriptorDuplicateServiceException. existingDescriptorMethods in org.glassfish.hk2.api that return Descriptor Modifier and Type Method Description DescriptorErrorInformation. getDescriptor()This will contain the active descriptor that is associated with this failure.DescriptorDuplicateServiceException. getExistingDescriptor()Gets the descriptor that matched one of the idempotent filtersDescriptorFactoryDescriptors. getFactoryAsAFactory()This returns the factory as a factory for some other type.DescriptorFactoryDescriptors. 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.booleanFilter. 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 classDelegatingNamedActiveDescriptorMethods in org.glassfish.hk2.configuration.internal with parameters of type Descriptor Modifier and Type Method Description booleanChildFilter. matches(Descriptor d)booleanNoNameTypeFilter. matches(Descriptor d) -
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 classCrossOverDescriptor<T>Methods in org.glassfish.hk2.extras.hk2bridge.internal with parameters of type Descriptor Modifier and Type Method Description private static java.util.List<java.lang.Long>Hk2BridgeImpl. getMetadataLongsList(Descriptor d, java.lang.String field)Gets all of the longs encoded into this descriptors metadata fieldprivate static java.util.Set<java.lang.Long>Hk2BridgeImpl. getMetadataLongsSet(Descriptor d, java.lang.String field)Gets all of the longs encoded into this descriptors metadata fieldbooleanHk2BridgeImpl.NoLocalNoRemoteFilter. matches(Descriptor d)booleanHk2BridgeImpl.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 Modifier and Type Class Description classOperationDescriptor<T extends java.lang.annotation.Annotation> -
Uses of Descriptor in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement Descriptor Modifier and Type Class Description private static classActiveDescriptorBuilderImpl.BuiltActiveDescriptor<T>classConstantActiveDescriptor<T>Methods in org.glassfish.hk2.internal with parameters of type Descriptor Modifier and Type Method Description booleanImmediateLocalLocatorFilter. matches(Descriptor d)booleanIndexedFilterImpl. matches(Descriptor d)booleanSpecificFilterImpl. matches(Descriptor d)booleanStarFilter. 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 DescriptorErrorInformation. 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 Descriptor Modifier and Type Field Description private DescriptorErrorInformationImpl. descriptorMethods in org.glassfish.hk2.runlevel.internal that return Descriptor Modifier and Type Method Description DescriptorErrorInformationImpl. getFailedDescriptor()Methods in org.glassfish.hk2.runlevel.internal with parameters of type Descriptor Modifier and Type Method Description private voidCurrentTaskFuture.UpOneLevel. fail(java.lang.Throwable th, Descriptor descriptor)private static ErrorInformationCurrentTaskFuture. invokeOnError(CurrentTaskFuture job, java.lang.Throwable th, ErrorInformation.ErrorAction action, java.util.List<ServiceHandle<RunLevelListener>> listeners, Descriptor descriptor)Constructors in org.glassfish.hk2.runlevel.internal with parameters of type Descriptor Constructor Description ErrorInformationImpl(java.lang.Throwable error, ErrorInformation.ErrorAction action, Descriptor descriptor)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 intUtilities. getRunLevelMode(ServiceLocator locator, Descriptor descriptor, java.lang.Integer modeOverride)Get the run level mode from the metadata of the given descriptor.static intUtilities. 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 classAbstractActiveDescriptor<T>This class can be used as a starting point for those writing their own ActiveDescriptor.classAliasDescriptor<T>An active descriptor class that serves as an alias for another descriptor.classDescriptorImplThe implementation of the descriptor itself, with the bonus of being externalizable, and having writeable fieldsFields in org.glassfish.hk2.utilities declared as Descriptor Modifier and Type Field Description private DescriptorFactoryDescriptorsImpl. asProvideMethodprivate DescriptorFactoryDescriptorsImpl. asServiceMethods in org.glassfish.hk2.utilities that return Descriptor Modifier and Type Method Description DescriptorFactoryDescriptorsImpl. getFactoryAsAFactory()DescriptorFactoryDescriptorsImpl. 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 IndexedFilterBuilderHelper. createDescriptorFilter(Descriptor descriptorImpl)Returns a filter that will return true an IndexedFilter that will match theDescriptorImpl.equals(Object)returnstatic IndexedFilterBuilderHelper. createDescriptorFilter(Descriptor descriptorImpl, boolean deepCopy)Returns a filter that will return true an IndexedFilter that will match theDescriptorImpl.equals(Object)returnstatic IndexedFilterBuilderHelper. createSpecificDescriptorFilter(Descriptor descriptor)This method creates a filter that will match one and only one descriptor.static DescriptorImplBuilderHelper. deepCopyDescriptor(Descriptor copyMe)Makes a deep copy of the incoming descriptorstatic booleanDescriptorImpl. 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 booleanBuilderHelper. 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 java.lang.StringServiceLocatorUtilities. getBestContract(Descriptor d)static java.lang.StringServiceLocatorUtilities. getOneMetadataField(Descriptor d, java.lang.String field)Gets one value from a metadata field from the given descriptorstatic <T> TServiceLocatorUtilities. getService(ServiceLocator locator, Descriptor descriptor)Returns the service in this service locator given the current descriptor.booleanOrFilter. matches(Descriptor d)booleanServiceLocatorUtilities.AliasFilter. matches(Descriptor d)static voidDescriptorImpl. pretty(java.lang.StringBuffer sb, Descriptor d)Will pretty print a descriptorstatic voidServiceLocatorUtilities. removeOneDescriptor(ServiceLocator locator, Descriptor descriptor)This method will attempt to remove descriptors matching the passed in descriptor from the given locator.static voidServiceLocatorUtilities. 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 aFactoryand the associatedFactory.provide()methodImplOnlyKey(Descriptor desc) -
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)private voidAbstractBinder. setLoader(Descriptor descriptor) -
Uses of Descriptor in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement Descriptor Modifier and Type Class Description classAutoActiveDescriptor<T>classConstantActiveDescriptor<T>classSystemDescriptor<T>Fields in org.jvnet.hk2.internal declared as Descriptor Modifier and Type Field Description private DescriptorSystemDescriptor. baseDescriptorprivate DescriptorErrorInformationImpl. descriptorMethods in org.jvnet.hk2.internal that return Descriptor Modifier and Type Method Description DescriptorErrorInformationImpl. 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)private static voidDynamicConfigurationImpl. checkDescriptor(Descriptor d)intDescriptorComparator. compare(Descriptor o1, Descriptor o2)static java.lang.Class<? extends java.lang.annotation.Annotation>Utilities. getScopeAnnotationType(java.lang.Class<?> fromThis, Descriptor defaultScope)Returns the scope of this thingstatic ScopeInfoUtilities. getScopeAnnotationType(java.lang.reflect.AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector)Returns the scope of this thingprivate static ScopeInfoUtilities. getScopeInfo(java.lang.reflect.AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector)private java.lang.Class<?>ServiceLocatorImpl. loadClass(Descriptor descriptor, Injectee injectee)static java.lang.Class<?>Utilities. loadClass(java.lang.String loadMe, Descriptor fromMe, Collector collector)Loads the class using the loader from the given descriptor or the classloader of the utilities class otherwisebooleanServiceLocatorImpl.UnqualifiedIndexedFilter. matches(Descriptor d)ActiveDescriptor<?>ServiceLocatorImpl. reifyDescriptor(Descriptor descriptor)ActiveDescriptor<?>ServiceLocatorImpl. reifyDescriptor(Descriptor descriptor, Injectee injectee)Constructors in org.jvnet.hk2.internal with parameters of type Descriptor Constructor Description ErrorInformationImpl(ErrorType errorType, Descriptor descriptor, Injectee injectee, MultiException exception)SystemDescriptor(Descriptor baseDescriptor, boolean requiresDeepCopy, ServiceLocatorImpl locator, java.lang.Long serviceId)
-