Uses of Interface
org.glassfish.hk2.api.ActiveDescriptor
Packages that use ActiveDescriptor
Package
Description
-
Uses of ActiveDescriptor in com.sun.enterprise.module.common_impl
Fields in com.sun.enterprise.module.common_impl with type parameters of type ActiveDescriptorModifier and TypeFieldDescription(package private) Map<Module, Map<ServiceLocator, List<ActiveDescriptor>>> AbstractModulesRegistryImpl.moduleDescriptorsMethods in com.sun.enterprise.module.common_impl that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionprotected abstract List<ActiveDescriptor> AbstractModulesRegistryImpl.parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) -
Uses of ActiveDescriptor in com.sun.enterprise.module.impl
Methods in com.sun.enterprise.module.impl that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescription(package private) List<ActiveDescriptor> ModuleImpl.parseInhabitants(String name, List<PopulatorPostProcessor> postProcessors) Parses all the inhabitants descriptors of the given name in this module.protected List<ActiveDescriptor> ModulesRegistryImpl.parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) -
Uses of ActiveDescriptor in com.sun.enterprise.module.single
Methods in com.sun.enterprise.module.single that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionprotected List<ActiveDescriptor> ClassPathBasedModulesRegistry.parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) protected List<ActiveDescriptor> SingleModulesRegistry.parseInhabitants(Module module, String name, ServiceLocator serviceLocator, List<PopulatorPostProcessor> postProcessors) -
Uses of ActiveDescriptor in org.glassfish.hk2.api
Methods in org.glassfish.hk2.api that return ActiveDescriptorModifier and TypeMethodDescriptionAOPProxyCtl.__getUnderlyingDescriptor()This method returns the ActiveDescriptor underlying the service for which this object is a proxy<T> ActiveDescriptor<T> DynamicConfiguration.addActiveDescriptor(Class<T> rawClass) This adds an active descriptor to the system based completely on the analysis of the given class.<T> ActiveDescriptor<T> DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) This allows third party systems to add reified active descriptors to the system.<T> ActiveDescriptor<T> DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) This allows third party systems to add reified active descriptors to the system.<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.InstanceLifecycleEvent.getActiveDescriptor()The active descriptor that is being used for the operation.ServiceHandle.getActiveDescriptor()Returns the ActiveDescriptor associated with this service handleServiceLocator.getBestDescriptor(Filter filter) Gets the descriptor that best matches this filter, taking ranking and service id into accountValidationInformation.getCandidate()The candidate descriptor for this operationInjectee.getInjecteeDescriptor()This returns the ActiveDescriptor of the injectee if it is knownServiceLocator.getInjecteeDescriptor(Injectee injectee) This method will first find a descriptor for this injectee, and then reify that descriptor.ServiceLocator.reifyDescriptor(Descriptor descriptor) Converts a descriptor to an ActiveDescriptor.ServiceLocator.reifyDescriptor(Descriptor descriptor, Injectee injectee) Converts a descriptor to an ActiveDescriptor.Methods in org.glassfish.hk2.api that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionList<ActiveDescriptor<?>> TwoPhaseTransactionData.getAllAddedDescriptors()Gets all ActiveDescriptors that will be added in this transactionList<ActiveDescriptor<?>> TwoPhaseTransactionData.getAllRemovedDescriptors()Gets all ActiveDescriptors that will be removed by this transactionList<ActiveDescriptor<?>> ServiceLocator.getDescriptors(Filter filter) Gets the list of descriptors that match the given filterList<ActiveDescriptor<?>> Populator.populate()This method will populate the service locator using the system classloader to find the hk2-locator files from the default location of META-INF/hk2-locator/default.List<ActiveDescriptor<?>> Populator.populate(DescriptorFileFinder fileFinder, PopulatorPostProcessor... postProcessors) This method can be used to populate the service locator with files that have been written out using theDescriptorImplwriteObject method.Methods in org.glassfish.hk2.api with parameters of type ActiveDescriptorModifier and TypeMethodDescription<T> ActiveDescriptor<T> DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) This allows third party systems to add reified active descriptors to the system.<T> ActiveDescriptor<T> DynamicConfiguration.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) This allows third party systems to add reified active descriptors to the system.booleanContext.containsKey(ActiveDescriptor<?> descriptor) Determines if this context has a value for the given keyvoidContext.destroyOne(ActiveDescriptor<?> descriptor) This method is called whenServiceHandle.destroy()method is called.<U> UContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) Creates a contextual instance of this ActiveDescriptor by calling its create method if there is no other matching contextual instance.<T> TServiceLocator.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root) Deprecated.<T> TServiceLocator.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee injectee) This method should be called by code resolving injectee's on behalf of some root service, usually by an implementation ofInjectionResolver.resolve(Injectee, ServiceHandle).<T> ServiceHandle<T> ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor) Gets aServiceHandlethat can be used to get and destroy the service described by theActiveDescriptor.<T> ServiceHandle<T> ServiceLocator.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee) Gets aServiceHandlethat can be used to get and destroy the service described by theActiveDescriptor. -
Uses of ActiveDescriptor in org.glassfish.hk2.bootstrap
Methods in org.glassfish.hk2.bootstrap that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionstatic List<ActiveDescriptor> HK2Populator.populate(ServiceLocator serviceLocator, DescriptorFileFinder fileFinder, List<? extends PopulatorPostProcessor> postProcessors) This method can be used to populate the service locator with files that have been written out using theDescriptorImplwriteObject method. -
Uses of ActiveDescriptor in org.glassfish.hk2.configuration.internal
Classes in org.glassfish.hk2.configuration.internal that implement ActiveDescriptorFields in org.glassfish.hk2.configuration.internal declared as ActiveDescriptorModifier and TypeFieldDescriptionprivate final ActiveDescriptor<?> DelegatingNamedActiveDescriptor.parentFields in org.glassfish.hk2.configuration.internal with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate HashSet<ActiveDescriptor<?>> ConfigurationListener.allProgenitorsprivate final ConcurrentHashMap<ActiveDescriptor<?>, BeanInfo> ConfiguredByInjectionResolver.beanMapprivate final HashMap<ActiveDescriptor<?>, Object> ConfiguredByContext.dbprivate static final ThreadLocal<ActiveDescriptor<?>> ConfiguredByContext.workingOnMethods in org.glassfish.hk2.configuration.internal that return ActiveDescriptorModifier and TypeMethodDescriptionprivate ActiveDescriptor<?> ConfigurationListener.addInstanceDescriptor(DynamicConfiguration config, ActiveDescriptor<?> parent, String name, String type, Object bean, Object metadata) (package private) ActiveDescriptor<?> ConfiguredByContext.getWorkingOn()Methods in org.glassfish.hk2.configuration.internal with parameters of type ActiveDescriptorModifier and TypeMethodDescription(package private) BeanInfoConfiguredByInjectionResolver.addBean(ActiveDescriptor<?> descriptor, Object bean, String type, Object metadata) private ActiveDescriptor<?> ConfigurationListener.addInstanceDescriptor(DynamicConfiguration config, ActiveDescriptor<?> parent, String name, String type, Object bean, Object metadata) booleanConfiguredByContext.containsKey(ActiveDescriptor<?> descriptor) voidConfiguredByContext.destroyOne(ActiveDescriptor<?> descriptor) (package private) ObjectConfiguredByContext.findOnly(ActiveDescriptor<?> descriptor) <U> UConfiguredByContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) private StringConfigurationListener.getTypeFromConfiguredBy(ActiveDescriptor<?> descriptor) private <U> UConfiguredByContext.internalFindOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) private static booleanConfigurationListener.isEager(ActiveDescriptor<?> descriptor) private voidConfigurationListener.modifyInstanceDescriptor(ActiveDescriptor<?> parent, String name, Object bean, Object metadata, String typeName, List<PropertyChangeEvent> changes) (package private) voidConfiguredByInjectionResolver.removeBean(ActiveDescriptor<?> descriptor) Constructors in org.glassfish.hk2.configuration.internal with parameters of type ActiveDescriptorModifierConstructorDescription(package private)DelegatingNamedActiveDescriptor(ActiveDescriptor<?> parent, String name) -
Uses of ActiveDescriptor in org.glassfish.hk2.extras.events.internal
Fields in org.glassfish.hk2.extras.events.internal declared as ActiveDescriptorModifier and TypeFieldDescriptionprivate final ActiveDescriptor<?> DefaultTopicDistributionService.ActivatorClassKey.descriptorprivate ActiveDescriptor<TopicDistributionService> DefaultTopicDistributionService.selfDescriptorFields in org.glassfish.hk2.extras.events.internal with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate final HashMap<ActiveDescriptor<?>, Set<Class<?>>> DefaultTopicDistributionService.descriptor2ClassesMethods in org.glassfish.hk2.extras.events.internal with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionprivate static DefaultTopicDistributionService.SubscriberInfoDefaultTopicDistributionService.generateSubscriberInfo(ActiveDescriptor<?> injecteeDescriptor, Method subscriber, Method useSubscriber, int subscribeToPosition, Annotation[][] paramAnnotations) DefaultTopicDistributionService.handleDescriptorToClass(ActiveDescriptor<?> descriptor, Class<?> clazz, Type eventType, Topic<?> topic) Constructors in org.glassfish.hk2.extras.events.internal with parameters of type ActiveDescriptorModifierConstructorDescriptionprivateActivatorClassKey(ActiveDescriptor<?> descriptor, Class<?> clazz) -
Uses of ActiveDescriptor in org.glassfish.hk2.extras.hk2bridge.internal
Classes in org.glassfish.hk2.extras.hk2bridge.internal that implement ActiveDescriptorFields in org.glassfish.hk2.extras.hk2bridge.internal declared as ActiveDescriptorFields in org.glassfish.hk2.extras.hk2bridge.internal with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate List<ActiveDescriptor<?>> Hk2BridgeImpl.mirroredDescriptorsMethod parameters in org.glassfish.hk2.extras.hk2bridge.internal with type arguments of type ActiveDescriptorModifier and TypeMethodDescriptionprivate voidHk2BridgeImpl.handleChange(List<ActiveDescriptor<?>> newDescriptors) Constructors in org.glassfish.hk2.extras.hk2bridge.internal with parameters of type ActiveDescriptorModifierConstructorDescriptionCrossOverDescriptor(ServiceLocator local, ActiveDescriptor<T> localService) -
Uses of ActiveDescriptor in org.glassfish.hk2.extras.operation
Fields in org.glassfish.hk2.extras.operation with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate final HashSet<ActiveDescriptor<?>> OperationContext.creatingprivate final HashMap<OperationHandleImpl<T>, LinkedHashMap<ActiveDescriptor<?>, Object>> OperationContext.operationMapMethods in org.glassfish.hk2.extras.operation with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionbooleanOperationContext.containsKey(ActiveDescriptor<?> descriptor) voidOperationContext.destroyOne(ActiveDescriptor<?> descriptor) <U> UOperationContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) -
Uses of ActiveDescriptor in org.glassfish.hk2.extras.operation.internal
Classes in org.glassfish.hk2.extras.operation.internal that implement ActiveDescriptorFields in org.glassfish.hk2.extras.operation.internal declared as ActiveDescriptorModifier and TypeFieldDescriptionprivate final ActiveDescriptor<?> SingleOperationManager.operationDescriptor -
Uses of ActiveDescriptor in org.glassfish.hk2.internal
Classes in org.glassfish.hk2.internal that implement ActiveDescriptorModifier and TypeClassDescriptionprivate static classclassFields in org.glassfish.hk2.internal with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate final HashMap<ActiveDescriptor<?>, Object> InheritableThreadContext.InheritableContextThreadWrapper.instancesprivate final HashMap<ActiveDescriptor<?>, Object> PerThreadContext.PerContextThreadWrapper.instancesMethods in org.glassfish.hk2.internal that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionprivate List<ActiveDescriptor<?>> ImmediateHelper.getImmediateServices()Methods in org.glassfish.hk2.internal with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionbooleanInheritableThreadContext.containsKey(ActiveDescriptor<?> descriptor) booleanPerThreadContext.containsKey(ActiveDescriptor<?> descriptor) voidInheritableThreadContext.destroyOne(ActiveDescriptor<?> descriptor) voidPerThreadContext.destroyOne(ActiveDescriptor<?> descriptor) <U> UInheritableThreadContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) <U> UPerThreadContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) InheritableThreadContext.InheritableContextThreadWrapper.get(ActiveDescriptor<?> d) PerThreadContext.PerContextThreadWrapper.get(ActiveDescriptor<?> d) booleanInheritableThreadContext.InheritableContextThreadWrapper.has(ActiveDescriptor<?> d) booleanPerThreadContext.PerContextThreadWrapper.has(ActiveDescriptor<?> d) voidInheritableThreadContext.InheritableContextThreadWrapper.put(ActiveDescriptor<?> d, Object v) voidPerThreadContext.PerContextThreadWrapper.put(ActiveDescriptor<?> d, Object v) -
Uses of ActiveDescriptor in org.glassfish.hk2.runlevel
Methods in org.glassfish.hk2.runlevel with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionbooleanRunLevelContext.containsKey(ActiveDescriptor<?> descriptor) voidRunLevelContext.destroyOne(ActiveDescriptor<?> descriptor) <U> URunLevelContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) -
Uses of ActiveDescriptor in org.glassfish.hk2.runlevel.internal
Fields in org.glassfish.hk2.runlevel.internal declared as ActiveDescriptorModifier and TypeFieldDescriptionprivate ActiveDescriptor<?> CurrentTaskFuture.DownAllTheWay.lastErrorDescriptorFields in org.glassfish.hk2.runlevel.internal with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate final HashSet<ActiveDescriptor<?>> CurrentTaskFuture.QueueRunner.alreadyTriedprivate final Map<ActiveDescriptor<?>, Object> AsyncRunLevelContext.backingMapThe backing maps for this context.private final HashMap<ActiveDescriptor<?>, Long> AsyncRunLevelContext.creatingDescriptorsThe set of services currently being createdprivate final HashSet<ActiveDescriptor<?>> AsyncRunLevelContext.hardCancelledDescriptorsThe set of descriptors that have been hard cancelledprivate final Map<ActiveDescriptor<?>, Throwable> AsyncRunLevelContext.levelErrorMapprivate final LinkedList<ActiveDescriptor<?>> AsyncRunLevelContext.orderedCreationListprivate List<ActiveDescriptor<?>> CurrentTaskFuture.DownAllTheWay.queueprivate final List<ActiveDescriptor<?>> CurrentTaskFuture.DownQueueRunner.queueprivate final List<ActiveDescriptor<?>> CurrentTaskFuture.HardCancelDownTimer.queueMethods in org.glassfish.hk2.runlevel.internal that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescription(package private) List<ActiveDescriptor<?>> AsyncRunLevelContext.getOrderedListOfServicesAtLevel(int level) Methods in org.glassfish.hk2.runlevel.internal with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionbooleanAsyncRunLevelContext.containsKey(ActiveDescriptor<?> descriptor) TheContextAPI for discovering if a descriptor has been createdvoidAsyncRunLevelContext.destroyOne(ActiveDescriptor<?> descriptor) TheContextAPI.<U> UAsyncRunLevelContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) This is from theContextAPI, called by the wrapper(package private) voidAsyncRunLevelContext.hardCancelOne(ActiveDescriptor<?> descriptor) No need to lock this, it is called with the lock already heldprivate booleanCurrentTaskFuture.QueueRunner.isWouldBlockRightNow(HashSet<ActiveDescriptor<?>> cycleChecker, ActiveDescriptor<?> checkMe) This method does a preliminary check of whether or not the descriptor (or any children) would cause the thread to block.private static StringAsyncRunLevelContext.oneLineDescriptor(ActiveDescriptor<?> descriptor) private voidAsyncRunLevelContext.validate(ActiveDescriptor<?> descriptor, int currentLevel) Verifies that the run level value of theRunLevelannotated service described by the given descriptor is valid for activation.(package private) booleanAsyncRunLevelContext.wouldBlockRightNow(ActiveDescriptor<?> desc) Method parameters in org.glassfish.hk2.runlevel.internal with type arguments of type ActiveDescriptorModifier and TypeMethodDescriptionprivate booleanCurrentTaskFuture.QueueRunner.isWouldBlockRightNow(HashSet<ActiveDescriptor<?>> cycleChecker, ActiveDescriptor<?> checkMe) This method does a preliminary check of whether or not the descriptor (or any children) would cause the thread to block.Constructor parameters in org.glassfish.hk2.runlevel.internal with type arguments of type ActiveDescriptorModifierConstructorDescriptionprivateDownQueueRunner(Object queueLock, List<ActiveDescriptor<?>> queue, CurrentTaskFuture.DownAllTheWay parent, ServiceLocator locator) privateHardCancelDownTimer(CurrentTaskFuture.DownAllTheWay parent, List<ActiveDescriptor<?>> queue) -
Uses of ActiveDescriptor in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities that implement ActiveDescriptorModifier 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.Fields in org.glassfish.hk2.utilities declared as ActiveDescriptorModifier and TypeFieldDescriptionprivate ActiveDescriptor<T> AliasDescriptor.descriptorThe descriptor that this descriptor will alias.private final ActiveDescriptor<T> ContextualInput.descriptorprivate ActiveDescriptor<?> InjecteeImpl.injecteeDescriptorFields in org.glassfish.hk2.utilities with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate final HashMap<ActiveDescriptor<?>, Long> ImmediateContext.creatingprivate final HashMap<ActiveDescriptor<?>, HandleAndService> ImmediateContext.currentImmediateServicesMethods in org.glassfish.hk2.utilities that return ActiveDescriptorModifier and TypeMethodDescriptionstatic <T> ActiveDescriptor<T> ServiceLocatorUtilities.addOneConstant(ServiceLocator locator, Object constant) This method adds one existing object to the given service locator.static <T> ActiveDescriptor<T> ServiceLocatorUtilities.addOneConstant(ServiceLocator locator, Object constant, String name, Type... contracts) This method adds one existing object to the given service locator.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 <T> ActiveDescriptor<T> ServiceLocatorUtilities.findOneDescriptor(ServiceLocator locator, Descriptor descriptor) Finds a descriptor in the given service locator.AliasDescriptor.getDescriptor()Get the descriptor being aliased.ContextualInput.getDescriptor()Returns the descriptor associated with this contextual creationInjecteeImpl.getInjecteeDescriptor()Methods in org.glassfish.hk2.utilities that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionstatic List<ActiveDescriptor<?>> ServiceLocatorUtilities.addClasses(ServiceLocator locator, boolean idempotent, Class<?>... toAdd) It is very often the case that one wishes to add classes that hk2 will automatically analyze for contracts and qualifiers to a service locator.static List<ActiveDescriptor<?>> ServiceLocatorUtilities.addClasses(ServiceLocator locator, Class<?>... toAdd) It is very often the case that one wishes to add classes that hk2 will automatically analyze for contracts and qualifiers to a service locator.private List<ActiveDescriptor<?>> ImmediateContext.getImmediateServices()Methods in org.glassfish.hk2.utilities with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionbooleanImmediateContext.containsKey(ActiveDescriptor<?> descriptor) voidImmediateContext.destroyOne(ActiveDescriptor<?> descriptor) private voidImmediateContext.destroyOne(ActiveDescriptor<?> descriptor, List<ImmediateErrorHandler> errorHandlers) Destroys a single descriptor<U> UImmediateContext.findOrCreate(ActiveDescriptor<U> activeDescriptor, ServiceHandle<?> root) private static StringAliasDescriptor.getAliasMetadataValue(ActiveDescriptor<?> descriptor) voidImmediateErrorHandler.postConstructFailed(ActiveDescriptor<?> immediateService, Throwable exception) This is called whenever an immediate service fails in its constructor or postConstruct method.voidImmediateErrorHandler.preDestroyFailed(ActiveDescriptor<?> immediateService, Throwable exception) This is called whenever an immediate service fails in its preDestroy method.voidInjecteeImpl.setInjecteeDescriptor(ActiveDescriptor<?> injecteeDescriptor) Sets the descriptor to be associated with this injecteeConstructors in org.glassfish.hk2.utilities with parameters of type ActiveDescriptorModifierConstructorDescriptionAliasDescriptor(ServiceLocator locator, ActiveDescriptor<T> descriptor, String contract, String name) Construct an AliasDescriptor.ContextualInput(ActiveDescriptor<T> descriptor, ServiceHandle<?> root) The inputs from theContext.findOrCreate(ActiveDescriptor, ServiceHandle)methodConstructor parameters in org.glassfish.hk2.utilities with type arguments of type ActiveDescriptor -
Uses of ActiveDescriptor in org.glassfish.hk2.utilities.binding
Methods in org.glassfish.hk2.utilities.binding that return ActiveDescriptorModifier and TypeMethodDescription<T> ActiveDescriptor<T> AbstractBinder.addActiveDescriptor(Class<T> rawClass) This adds an active descriptor to the system based completely on the analysis of the given class.<T> ActiveDescriptor<T> AbstractBinder.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) This allows third party systems to add reified active descriptors to the system.<T> ActiveDescriptor<T> AbstractBinder.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) <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) Methods in org.glassfish.hk2.utilities.binding with parameters of type ActiveDescriptorModifier and TypeMethodDescription<T> ActiveDescriptor<T> AbstractBinder.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) This allows third party systems to add reified active descriptors to the system.<T> ActiveDescriptor<T> AbstractBinder.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) -
Uses of ActiveDescriptor in org.jvnet.hk2.internal
Classes in org.jvnet.hk2.internal that implement ActiveDescriptorModifier and TypeClassDescriptionclassclassclassFields in org.jvnet.hk2.internal declared as ActiveDescriptorModifier and TypeFieldDescriptionprivate final ActiveDescriptor<T> SystemDescriptor.activeDescriptorprivate final ActiveDescriptor<?> ValidationInformationImpl.candidateprivate final ActiveDescriptor<?> ErrorResults.descriptorprivate final ActiveDescriptor<?> InstanceLifecycleEventImpl.descriptorprivate final ActiveDescriptor<?> MethodInterceptorImpl.descriptorprivate final ActiveDescriptor<?> FactoryCreator.factoryDescriptorprivate ActiveDescriptor<?> SystemInjecteeImpl.injecteeDescriptorprivate ActiveDescriptor<T> ServiceHandleImpl.rootprivate ActiveDescriptor<?> ClazzCreator.selfDescriptorprivate final ActiveDescriptor<?> MethodInterceptorHandler.underlyingDescriptorFields in org.jvnet.hk2.internal with type parameters of type ActiveDescriptorModifier and TypeFieldDescriptionprivate final List<ActiveDescriptor<?>> TwoPhaseTransactionDataImpl.addedprivate final ConcurrentHashMap<ThreadSpecificObject<ActiveDescriptor<?>>, Object> FactoryCreator.cycleFinderprivate final List<ActiveDescriptor<?>> NarrowResults.goodResultsprivate final List<ActiveDescriptor<?>> TwoPhaseTransactionDataImpl.removedprivate List<ActiveDescriptor<?>> NarrowResults.unnarrowedResultsprivate final List<ActiveDescriptor<?>> ImmediateResults.validatedImmediateResultsMethods in org.jvnet.hk2.internal that return ActiveDescriptorModifier and TypeMethodDescription<T> ActiveDescriptor<T> DynamicConfigurationImpl.addActiveDescriptor(Class<T> rawClass) <T> ActiveDescriptor<T> DynamicConfigurationImpl.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) <T> ActiveDescriptor<T> DynamicConfigurationImpl.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) <T> ActiveDescriptor<T> DynamicConfigurationImpl.bind(Descriptor key) <T> ActiveDescriptor<T> DynamicConfigurationImpl.bind(Descriptor key, boolean requiresDeepCopy) InstanceLifecycleEventImpl.getActiveDescriptor()ServiceHandleImpl.getActiveDescriptor()ServiceLocatorImpl.getBestDescriptor(Filter filter) ValidationInformationImpl.getCandidate()(package private) ActiveDescriptor<?> ErrorResults.getDescriptor()private ActiveDescriptor<?> SystemDescriptor.getFactoryDescriptor(Method provideMethod, Type factoryProvidedType, ServiceLocatorImpl locator, Collector collector) ServiceLocatorImpl.getInjecteeDescriptor(Injectee injectee) SystemInjecteeImpl.getInjecteeDescriptor()static ActiveDescriptor<ServiceLocator> Utilities.getLocatorDescriptor(ServiceLocator locator) Returns a constant ActiveDescriptor for the basic ServiceLocatorstatic ActiveDescriptor<InjectionResolver<javax.inject.Inject>> Utilities.getThreeThirtyDescriptor(ServiceLocatorImpl locator) Creates a Three Thirty constant active descriptor(package private) ActiveDescriptor<?> ClazzCreator.getUnderlyingDescriptor()private <T> ActiveDescriptor<T> ServiceLocatorImpl.internalGetDescriptor(Injectee onBehalfOf, Type contractOrImpl, String name, Unqualified unqualified, boolean isIterable, boolean calledFromSecondChanceResolveMethod, Annotation... qualifiers) private <T> ActiveDescriptor<T> ServiceLocatorImpl.internalGetDescriptor(Injectee onBehalfOf, Type contractOrImpl, String name, Unqualified unqualified, boolean isIterable, Annotation... qualifiers) private ActiveDescriptor<?> ServiceLocatorImpl.internalGetInjecteeDescriptor(Injectee injectee, boolean calledFromSecondChanceResolveMethod) ServiceLocatorImpl.reifyDescriptor(Descriptor descriptor) ServiceLocatorImpl.reifyDescriptor(Descriptor descriptor, Injectee injectee) (package private) ActiveDescriptor<?> NarrowResults.removeUnnarrowedResult()private ActiveDescriptor<?> ServiceLocatorImpl.secondChanceResolve(Injectee injectee) Methods in org.jvnet.hk2.internal that return types with arguments of type ActiveDescriptorModifier and TypeMethodDescriptionList<ActiveDescriptor<?>> TwoPhaseTransactionDataImpl.getAllAddedDescriptors()List<ActiveDescriptor<?>> TwoPhaseTransactionDataImpl.getAllRemovedDescriptors()List<ActiveDescriptor<?>> ServiceLocatorImpl.getDescriptors(Filter filter) (package private) List<ActiveDescriptor<?>> ImmediateResults.getImmediateResults()(package private) List<ActiveDescriptor<?>> NarrowResults.getResults()List<ActiveDescriptor<?>> PopulatorImpl.populate()List<ActiveDescriptor<?>> PopulatorImpl.populate(DescriptorFileFinder fileFinder, PopulatorPostProcessor... postProcessors) private List<ActiveDescriptor<?>> ServiceLocatorImpl.protectedGetDescriptors(Filter filter) Methods in org.jvnet.hk2.internal with parameters of type ActiveDescriptorModifier and TypeMethodDescription<T> ActiveDescriptor<T> DynamicConfigurationImpl.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor) <T> ActiveDescriptor<T> DynamicConfigurationImpl.addActiveDescriptor(ActiveDescriptor<T> activeDescriptor, boolean requiresDeepCopy) (package private) voidNarrowResults.addError(ActiveDescriptor<?> fail, Injectee injectee, MultiException me) (package private) voidNarrowResults.addGoodResult(ActiveDescriptor<?> result) (package private) voidImmediateResults.addValidatedResult(ActiveDescriptor<?> addMe) private static voidDynamicConfigurationImpl.checkReifiedDescriptor(ActiveDescriptor<?> d) booleanPerLookupContext.containsKey(ActiveDescriptor<?> descriptor) booleanSingletonContext.containsKey(ActiveDescriptor<?> descriptor) static <T> AutoActiveDescriptor<T> Utilities.createAutoFactoryDescriptor(Class<T> parentClazz, ActiveDescriptor<?> factoryDescriptor, ServiceLocatorImpl locator) Creates a reified automatically generated descriptorstatic <T> TUtilities.createService(ActiveDescriptor<T> root, Injectee injectee, ServiceLocatorImpl locator, ServiceHandle<T> handle, Class<?> requestedClass) Creates the service (without the need for an intermediate ServiceHandle to be created)voidPerLookupContext.destroyOne(ActiveDescriptor<?> descriptor) voidSingletonContext.destroyOne(ActiveDescriptor<?> one) Release one system descriptorprivate static booleanServiceLocatorImpl.doTrace(ActiveDescriptor<?> desc) <T> TPerLookupContext.findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root) <T> TSingletonContext.findOrCreate(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root) <T> TProxyUtilities.generateProxy(Class<?> requestedClass, ServiceLocatorImpl locator, ActiveDescriptor<T> root, ServiceHandleImpl<T> handle, Injectee injectee) ServiceLocatorImpl.getAllContracts(ActiveDescriptor<?> desc) (package private) static Utilities.InterceptorsUtilities.getAllInterceptors(ServiceLocatorImpl impl, ActiveDescriptor<?> descriptor, Class<?> clazz, Constructor<?> c) static List<SystemInjecteeImpl> Utilities.getConstructorInjectees(Constructor<?> c, ActiveDescriptor<?> injecteeDescriptor) Returns all the injectees for a constructorstatic Class<?> Utilities.getFactoryAwareImplementationClass(ActiveDescriptor<?> descriptor) This utility will return the proper implementation class, taking into account that the descriptor may be a factoryprivate static Class<?> Utilities.getFactoryProductionClass(ActiveDescriptor<?> descriptor) This method returns the class associated with the type of the factory.static List<SystemInjecteeImpl> Utilities.getFieldInjectees(Class<?> actualClass, Field f, ActiveDescriptor<?> injecteeDescriptor) Returns the injectees for a fieldstatic Class<? extends Annotation> Utilities.getInjectionResolverType(ActiveDescriptor<?> desc) Will return the class of the injection resolver annotation type, or null if no injection resolver annotation can be foundstatic List<SystemInjecteeImpl> Utilities.getMethodInjectees(Class<?> actualClass, Method c, ActiveDescriptor<?> injecteeDescriptor) Returns all the injectees for a constructorstatic List<SystemInjecteeImpl> Utilities.getMethodInjectees(Class<?> actualClass, Method c, ActiveDescriptor<?> injecteeDescriptor, Map<Integer, MethodParameter> knownValues) Returns all the injectees for a constructor<T> TServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root) Deprecated.<T> TServiceLocatorImpl.getService(ActiveDescriptor<T> activeDescriptor, ServiceHandle<?> root, Injectee originalRequest) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor) <T> ServiceHandle<T> ServiceLocatorImpl.getServiceHandle(ActiveDescriptor<T> activeDescriptor, Injectee injectee) private <T> ServiceHandleImpl<T> ServiceLocatorImpl.getServiceHandleImpl(ActiveDescriptor<T> activeDescriptor, Injectee injectee) (package private) voidClazzCreator.initialize(ActiveDescriptor<?> selfDescriptor, String analyzerName, Collector collector) (package private) voidClazzCreator.initialize(ActiveDescriptor<?> selfDescriptor, Collector collector) private <T> ServiceHandleImpl<T> ServiceLocatorImpl.internalGetServiceHandle(ActiveDescriptor<T> activeDescriptor, Type requestedType, Injectee originalRequest) private static booleanUtilities.isProxiable(ActiveDescriptor<?> desc, Injectee injectee) This method determines whether or not the descriptor should be proxied.(package private) voidSystemInjecteeImpl.resetInjecteeDescriptor(ActiveDescriptor<?> injecteeDescriptor) (package private) voidAutoActiveDescriptor.resetSelfDescriptor(ActiveDescriptor<?> toMe) (package private) voidClazzCreator.resetSelfDescriptor(ActiveDescriptor<?> selfDescriptor) This is done because sometimes when creating the creator we do not know what the true system descriptor will be(package private) voidTwoPhaseTransactionDataImpl.toAdd(ActiveDescriptor<?> addMe) (package private) voidTwoPhaseTransactionDataImpl.toRemove(ActiveDescriptor<?> removeMe) static voidUtilities.validateSelfInjectees(ActiveDescriptor<?> givenDescriptor, List<SystemInjecteeImpl> injectees, Collector collector) This method validates a list of injectees to ensure that any self injectees have the proper set of requirements.Method parameters in org.jvnet.hk2.internal with type arguments of type ActiveDescriptorModifier and TypeMethodDescription(package private) voidNarrowResults.setUnnarrowedResults(List<ActiveDescriptor<?>> unnarrowed) Constructors in org.jvnet.hk2.internal with parameters of type ActiveDescriptorModifierConstructorDescription(package private)ErrorResults(ActiveDescriptor<?> descriptor, Injectee injectee, MultiException me) (package private)FactoryCreator(ServiceLocator locator, ActiveDescriptor<?> factoryDescriptor) (package private)InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, Object lifecycleObject, Map<Injectee, Object> knownInjectees, ActiveDescriptor<?> descriptor) (package private)InstanceLifecycleEventImpl(InstanceLifecycleEventType eventType, Object lifecycleObject, ActiveDescriptor<?> descriptor) (package private)MethodInterceptorHandler(ServiceLocatorImpl locator, ActiveDescriptor<?> underlyingDescriptor, Map<Method, List<org.aopalliance.intercept.MethodInterceptor>> interceptorLists) (package private)MethodInterceptorImpl(ServiceLocatorImpl sli, ActiveDescriptor<?> descriptor, ServiceHandleImpl<?> root, Injectee injectee) (package private)ServiceHandleImpl(ServiceLocatorImpl locator, ActiveDescriptor<T> root, Injectee injectee) (package private)SystemInjecteeImpl(Type requiredType, Set<Annotation> qualifiers, int position, AnnotatedElement parent, boolean isOptional, boolean isSelf, Unqualified unqualified, ActiveDescriptor<?> injecteeDescriptor) ValidationInformationImpl(Operation operation, ActiveDescriptor<?> candidate) Creates the validation informationValidationInformationImpl(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee, Filter filter) Creates the validation information -
Uses of ActiveDescriptor in org.jvnet.hk2.jmx.api
Methods in org.jvnet.hk2.jmx.api with parameters of type ActiveDescriptorModifier and TypeMethodDescriptionHK2JmxSpecifier.getJmxObject(ActiveDescriptor<?> descriptor, Object instance) Gets the Object that should be used either directly or to be modelled.
ServiceLocator.getService(ActiveDescriptor, ServiceHandle, Injectee)