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.descriptorsMETA-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 TypeMethodDescriptionvoidModuleMetadata.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 TypeInterfaceDescriptioninterfaceAn 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.booleanFilter.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 TypeMethodDescriptionbooleanChildFilter.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 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 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 -
Uses of Descriptor in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement DescriptorModifier and TypeClassDescriptionprivate static classclassMethods in org.glassfish.hk2.internal with parameters of type DescriptorModifier and TypeMethodDescriptionbooleanImmediateLocalLocatorFilter.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 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 voidCurrentTaskFuture.UpOneLevel.fail(Throwable th, Descriptor descriptor) private static ErrorInformationCurrentTaskFuture.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 intUtilities.getRunLevelMode(ServiceLocator locator, Descriptor descriptor, 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 DescriptorModifier and TypeClassDescriptionclassThis class can be used as a starting point for those writing their own ActiveDescriptor.classAn active descriptor class that serves as an alias for another descriptor.classThe 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 DescriptorFactoryDescriptorsImpl.asProvideMethodprivate final DescriptorFactoryDescriptorsImpl.asServiceMethods 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 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 StringServiceLocatorUtilities.getBestContract(Descriptor d) static StringServiceLocatorUtilities.getOneMetadataField(Descriptor d, 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(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 DescriptorModifierConstructorDescriptionprotectedAbstractActiveDescriptor(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()methodprivateImplOnlyKey(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 voidAbstractBinder.setLoader(Descriptor descriptor) -
Uses of Descriptor in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement DescriptorModifier and TypeClassDescriptionclassclassclassFields in org.jvnet.hk2.internal declared as DescriptorModifier and TypeFieldDescriptionprivate final DescriptorSystemDescriptor.baseDescriptorprivate final DescriptorErrorInformationImpl.descriptorMethods 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 voidDynamicConfigurationImpl.checkDescriptor(Descriptor d) intDescriptorComparator.compare(Descriptor o1, Descriptor o2) static Class<? extends Annotation> Utilities.getScopeAnnotationType(Class<?> fromThis, Descriptor defaultScope) Returns the scope of this thingstatic ScopeInfoUtilities.getScopeAnnotationType(AnnotatedElement annotatedGuy, Descriptor defaultScope, Collector collector) Returns the scope of this thingprivate static ScopeInfoUtilities.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 otherwisebooleanServiceLocatorImpl.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)