Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addActiveDescriptor(Class<T>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- addActiveDescriptor(ActiveDescriptor<T>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- addDescriptor(SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.IndexedListData
- addIdempotentFilter(Filter...) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- addMultiException(MultiException) - Method in class org.jvnet.hk2.internal.Collector
- addSubHandle(ServiceHandleImpl<?>) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
-
Add a sub handle to this for proper destruction
- addThrowable(Throwable) - Method in class org.jvnet.hk2.internal.Collector
-
Adds a throwable to the list of throwables in this collector
- addUnbindFilter(Filter) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- assistedInject(Object, Method, MethodParameter...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- assistedInject(Object, Method, ServiceHandle<?>, MethodParameter...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- AutoActiveDescriptor<T> - Class in org.jvnet.hk2.internal
- AutoActiveDescriptor() - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
-
For serialization
- AutoActiveDescriptor(Class<?>, Creator<T>, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, int, Boolean, Boolean, String, Map<String, List<String>>, DescriptorType, Type) - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
-
Constructor with all relevant fields
B
- bind(Descriptor) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- bind(Descriptor, boolean) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- bind(FactoryDescriptors) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- bind(FactoryDescriptors, boolean) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
C
- CacheKey - Class in org.jvnet.hk2.internal
-
This is the cache key, which encapsulates very specific lookup queries.
- CacheKey(Type, String, Unqualified, Annotation...) - Constructor for class org.jvnet.hk2.internal.CacheKey
-
Key used for LRU cache
- checkFactoryType(Class<?>, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Checks to be sure the Factory class is ok
- checkLookupType(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Checks that the incoming lookup type is not improper in some way
- ClazzCreator<T> - Class in org.jvnet.hk2.internal
- clear() - Method in class org.jvnet.hk2.internal.IndexedListData
- clearReflectionCache() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Clears all entries from the HK2 reflection cache.
- clearReflectionCache() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- clearServiceCache() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Clears all entries from the HK2 service cache.
- clearServiceCache() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- close() - Method in interface org.jvnet.hk2.internal.Closeable
-
Idempotent close method.
- close() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- close() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- Closeable - Interface in org.jvnet.hk2.internal
-
A closeable object is one that can be closed once, and can not be opened again
- Collector - Class in org.jvnet.hk2.internal
-
This class collects errors, and can then also produce a MultiException from those errors if necessary
- Collector() - Constructor for class org.jvnet.hk2.internal.Collector
- commit() - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- compare(Descriptor, Descriptor) - Method in class org.jvnet.hk2.internal.DescriptorComparator
- compare(ServiceHandle<?>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ServiceHandleComparator
- ConstantActiveDescriptor<T> - Class in org.jvnet.hk2.internal
- ConstantActiveDescriptor() - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
For serialization
- ConstantActiveDescriptor(T, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, int, Boolean, Boolean, String, long, Map<String, List<String>>) - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
Constructor with more control over the fields of the descriptor
- ConstantActiveDescriptor(T, ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
Creates a constant active descriptor with the given locator
- construct(Constructor<?>, Object[], boolean, List<ConstructorInterceptor>) - Static method in class org.jvnet.hk2.internal.ConstructorInterceptorHandler
-
Call this to construct objects taking constructor interceptors into consideration
- construct(Constructor<?>, Object[], boolean, List<ConstructorInterceptor>, ConstructorAction) - Static method in class org.jvnet.hk2.internal.ConstructorInterceptorHandler
-
Call this to construct objects taking constructor interceptors into consideration
- ConstructorAction - Interface in org.jvnet.hk2.internal
-
This represents the action used in order to create an object.
- ConstructorInterceptorHandler - Class in org.jvnet.hk2.internal
- ConstructorInterceptorHandler() - Constructor for class org.jvnet.hk2.internal.ConstructorInterceptorHandler
- containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
- containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
- create(Class<T>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- create(Class<T>, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- create(String, ServiceLocator) - Method in class org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.OptionalActiveDescriptor
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.SystemDescriptor
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.ClazzCreator
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in interface org.jvnet.hk2.internal.Creator
-
Creates an instance of the given type
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.FactoryCreator
- createAndInitialize(Class<U>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Creates, injects and postConstructs, all in one
- createAndInitialize(Class<U>, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Creates, injects and postConstructs, all in one
- createAutoDescriptor(Class<T>, ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates a reified automatically generated descriptor
- createAutoFactoryDescriptor(Class<T>, ActiveDescriptor<?>, ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates a reified automatically generated descriptor
- createDynamicConfiguration() - Method in class org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
- createService(ActiveDescriptor<T>, Injectee, ServiceLocatorImpl, ServiceHandle<T>, Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates the service (without the need for an intermediate ServiceHandle to be created)
- Creator<T> - Interface in org.jvnet.hk2.internal
-
An internal interface that allows us to have the factory and class implementations
D
- DefaultClassAnalyzer - Class in org.jvnet.hk2.internal
-
this is the default implementation of the ClassAnalyzer
- DefaultClassAnalyzer(ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
The DefaultClassAnalyzer is per ServiceLocatorImpl
- DescriptorComparator - Class in org.jvnet.hk2.internal
- DescriptorComparator() - Constructor for class org.jvnet.hk2.internal.DescriptorComparator
- destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
- destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
-
Release one system descriptor
- dispose(T) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
- dispose(T) - Method in class org.jvnet.hk2.internal.ClazzCreator
- dispose(T) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- dispose(T) - Method in interface org.jvnet.hk2.internal.Creator
-
Disposes the given instance
- dispose(T) - Method in class org.jvnet.hk2.internal.FactoryCreator
- dispose(T) - Method in class org.jvnet.hk2.internal.SystemDescriptor
- DynamicConfigurationImpl - Class in org.jvnet.hk2.internal
-
The system implementation of the DynamicConfiguration service
- DynamicConfigurationImpl(ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
Created by the generator, and hence must be public
- DynamicConfigurationServiceImpl - Class in org.jvnet.hk2.internal
E
- equals(Object) - Method in class org.jvnet.hk2.internal.CacheKey
- equals(Object) - Method in class org.jvnet.hk2.internal.SystemDescriptor
- equals(Object) - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- ErrorInformationImpl - Class in org.jvnet.hk2.internal
- ErrorResults - Class in org.jvnet.hk2.internal
F
- FactoryCreator<T> - Class in org.jvnet.hk2.internal
- findInitializerFields(Class<?>, ServiceLocatorImpl, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Will find all the initialize fields in the class
- findInitializerMethods(Class<?>, ServiceLocatorImpl, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Get all the initializer methods of the annotatedType.
- findOrCreate(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
- findOrCreate(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
- findPostConstruct(Class<?>, ServiceLocatorImpl, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Finds the post construct method on this class
- findPreDestroy(Class<?>, ServiceLocatorImpl, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Finds the pre destroy method on this class
- findProducerConstructor(Class<?>, ServiceLocatorImpl, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Validates the constructors of the annotated type and returns the producer for the annotatedType (if there is no valid producer constructor then this method returns null)
- fixAndCheckQualifiers(Annotation[], String) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method returns a set of qualifiers from an array of qualifiers.
G
- generateProxy(Class<?>, ServiceLocatorImpl, ActiveDescriptor<T>, ServiceHandleImpl<T>, Injectee) - Method in class org.jvnet.hk2.internal.ProxyUtilities
- get() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- getActiveDescriptor() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
- getActiveDescriptor() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- getAdvertisedContracts() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getAllAddedDescriptors() - Method in class org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
- getAllQualifiers(AnnotatedElement, String, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the full set of qualifier annotations on this class
- getAllRemovedDescriptors() - Method in class org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
- getAllServiceHandles(Annotation, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServiceHandles(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServiceHandles(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServiceHandles(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServices(Annotation, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServices(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServices(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAllServices(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getAssociatedException() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
- getAutoAnalyzerName(Class<?>) - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
-
Gets the analyzer name from the Service annotation
- getBestDescriptor(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getCache() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- getCache() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getCaller() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
-
The implementation of this method is VERY dependent on the implementation of ServiceLocatorImpl.
- getCandidate() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
- getClassAnalysisName() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getClassAnalyzer(ServiceLocatorImpl, String, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the class analyzer with the given name
- getConstructor(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
- getConstructor(Class<T>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the constructor given the implClass and analyzer.
- getConstructorInjectees(Constructor<?>, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the injectees for a constructor
- getConstructorInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
-
Gets the constructor interceptors
- getContractTypes() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getDefaultClassAnalyzerName() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getDefaultNameFromMethod(Method, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the default name if one can be found.
- getDefaultUnqualified() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getDescriptor() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
- getDescriptors(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getDescriptorType() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getDescriptorVisibility() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getErrorType() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
- getEventType() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
- getFactoryAwareImplementationClass(ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
This utility will return the proper implementation class, taking into account that the descriptor may be a factory
- getFactoryLocatorId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getFactoryProductionType(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method returns the type produced by a factory class
- getFactoryProvideMethod(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method will retrieve the provide method from a Factory
- getFactoryServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getFieldInjectees(Class<?>, Field, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the injectees for a field
- getFields(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
- getFilter() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
- getFirstThingInList(List<T>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the first thing found in the set
- getHandle() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- getImplementation() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- getImplementation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getImplementationClass() - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
- getImplementationClass() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- getImplementationClass() - Method in class org.jvnet.hk2.internal.OptionalActiveDescriptor
- getImplementationClass() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getImplementationType() - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
- getImplementationType() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- getImplementationType() - Method in class org.jvnet.hk2.internal.OptionalActiveDescriptor
- getImplementationType() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getInitFields(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the initializer fields from the given class and analyzer.
- getInitializerMethods(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
- getInitMethods(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the initializer methods from the given class and analyzer.
- getInjectee() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
- getInjectee() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
- getInjecteeClass() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- getInjecteeDescriptor() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- getInjecteeDescriptor(Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getInjectees() - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
- getInjectees() - Method in class org.jvnet.hk2.internal.ClazzCreator
- getInjectees() - Method in interface org.jvnet.hk2.internal.Creator
-
Returns all the injectees needed prior to creating this object
- getInjectees() - Method in class org.jvnet.hk2.internal.FactoryCreator
- getInjectees() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getInjectionResolver(ServiceLocatorImpl, Injectee) - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
-
Returns an injection resolver for the injectee
- getInjectionResolverType(ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Will return the class of the injection resolver annotation type, or null if no injection resolver annotation can be found
- getInstantiationData() - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
- getInterfacesForProxy(Set<Type>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the interfaces the proxy must implement
- getKnownInjectees() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
- getLifecycleObject() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
- getLoader() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getLocatorDescriptor(ServiceLocator) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns a constant ActiveDescriptor for the basic ServiceLocator
- getLocatorId() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- getLocatorId() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getLocatorId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getMetadata() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getMethodInjectees(Class<?>, Method, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the injectees for a constructor
- getMethodInjectees(Class<?>, Method, ActiveDescriptor<?>, Map<Integer, MethodParameter>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the injectees for a constructor
- getMethodInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
-
Gets the method interceptors
- getName() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getName() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getNeutralContextClassLoader() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getNoInitialServicesFilter() - Static method in class org.jvnet.hk2.external.runtime.Hk2LocatorUtilities
-
Returns a filter that only returns services that are not in the initial set of services offered by all ServiceLocators created by this implementation of hk2.
- getNumberOfChildren() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the current total number of children attached to this ServiceLocator
- getNumberOfChildren() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- getNumberOfDescriptors() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the total number of descriptors in this ServiceLocator.
- getNumberOfDescriptors() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- getOperation() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
- getOriginalRequest() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- getParent() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getParent() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- getPopulator() - Method in class org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
- getPosition() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- getPostConstruct(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the post construct from the analyzer, checking output
- getPostConstructMethod(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
- getPreDestroy(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the preDestroy from the analyzer, checking output
- getPreDestroyMethod(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
- getProxyUtilities() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
- getQualifierAnnotations() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getQualifiers() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getRanking() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getReflectionCacheSize() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the current size of the HK2 reflection cache.
- getReflectionCacheSize() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- getRequiredQualifiers() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- getRequiredType() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- getScope() - Method in class org.jvnet.hk2.internal.PerLookupContext
- getScope() - Method in class org.jvnet.hk2.internal.SingletonContext
- getScope() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getScopeAnnotation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getScopeAnnotationType(Class<?>, Descriptor) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the scope of this thing
- getScopeAnnotationType(AnnotatedElement, Descriptor, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the scope of this thing
- getScopeAsAnnotation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getService() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- getService(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getService(Class<T>, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getService(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getService(Type, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getService(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Deprecated.
- getService(ActiveDescriptor<T>, ServiceHandle<?>, Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceCacheMaximumSize() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the maximum number of entries allowed in the HK2 service cache.
- getServiceCacheMaximumSize() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- getServiceCacheSize() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the current size of the HK2 service cache.
- getServiceCacheSize() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
- getServiceData() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- getServiceHandle(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceHandle(Class<T>, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceHandle(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceHandle(Type, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceHandle(ActiveDescriptor<T>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceHandle(ActiveDescriptor<T>, Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- getSize() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- getSortedList() - Method in class org.jvnet.hk2.internal.IndexedListData
- getState() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- getSubHandles() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- getThreeThirtyDescriptor(ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates a Three Thirty constant active descriptor
- getTopicQualifiers() - Method in class org.jvnet.hk2.internal.TopicImpl
- getTopicType() - Method in class org.jvnet.hk2.internal.TopicImpl
- getUnqualified() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
H
- handleErrors(NarrowResults, LinkedList<ErrorService>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Calls the list of error services for the list of errors
- handleIterator() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- hasErrors() - Method in class org.jvnet.hk2.internal.Collector
-
Returns true if this collector has errors
- hashCode() - Method in class org.jvnet.hk2.internal.CacheKey
- hashCode() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- hashCode() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- Hk2LocatorUtilities - Class in org.jvnet.hk2.external.runtime
-
This is a utility class specific to this implementation of the hk2 API
- Hk2LocatorUtilities() - Constructor for class org.jvnet.hk2.external.runtime.Hk2LocatorUtilities
I
- ImmediateResults - Class in org.jvnet.hk2.internal
-
This contains the local portion of the narrowed result
- IndexedListData - Class in org.jvnet.hk2.internal
-
This object contains a list of values.
- IndexedListData() - Constructor for class org.jvnet.hk2.internal.IndexedListData
- inject(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- inject(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- InstanceLifecycleEventImpl - Class in org.jvnet.hk2.internal
- InstantiationServiceImpl - Class in org.jvnet.hk2.internal
- InstantiationServiceImpl() - Constructor for class org.jvnet.hk2.internal.InstantiationServiceImpl
- invoke(Object, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorInvocationHandler
- invoke(Object, Method, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorHandler
- invoke(Object, Method, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorImpl
- isAbstract(Member) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if the underlying member is abstract
- isActive() - Method in class org.jvnet.hk2.internal.PerLookupContext
- isActive() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- isActive() - Method in class org.jvnet.hk2.internal.SingletonContext
- isCacheSet() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- isCacheSet() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- isClosed() - Method in interface org.jvnet.hk2.internal.Closeable
-
Returns true if the instance has been closed
- isClosed() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- isConstructorParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
- isEmpty() - Method in class org.jvnet.hk2.internal.IndexedListData
- isFinal(Member) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if the underlying member is abstract
- isMethodParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
- isOptional() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- isProxiable() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- isProxiableScope(Class<? extends Annotation>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if this scope is proxiable
- isProxyForSameScope() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- isReified() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- isSelf() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- isShutdown() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- isTypeSafe(Type, Type) - Static method in class org.jvnet.hk2.internal.Utilities
-
This code uses the TypeChecker but does some extra checking if the types are annotations
- isUnproxiableScope(Class<? extends Annotation>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if this scope is unproxiable
- IterableProviderImpl<T> - Class in org.jvnet.hk2.internal
- iterator() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
J
- justAssistedInject(Object, Method, ServiceLocatorImpl, ServiceHandle<?>, MethodParameter...) - Static method in class org.jvnet.hk2.internal.Utilities
-
Just injects this one method
- justCreate(Class<T>, ServiceLocatorImpl, String) - Static method in class org.jvnet.hk2.internal.Utilities
-
Just creates the thing, doesn't try to do anything else
- justInject(Object, ServiceLocatorImpl, String) - Static method in class org.jvnet.hk2.internal.Utilities
-
Just injects the thing, doesn't try to do anything else
- justPostConstruct(Object, ServiceLocatorImpl, String) - Static method in class org.jvnet.hk2.internal.Utilities
-
Post constructs the given object
- justPreDestroy(Object, ServiceLocatorImpl, String) - Static method in class org.jvnet.hk2.internal.Utilities
-
Pre Destroys the given object
L
- loadClass(String, Descriptor, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Loads the class using the loader from the given descriptor or the classloader of the utilities class otherwise
- loadClass(String, Injectee) - Static method in class org.jvnet.hk2.internal.Utilities
-
Load the given class for the given injectee.
M
- makeMe(Constructor<?>, Object[], boolean) - Method in interface org.jvnet.hk2.internal.ConstructorAction
-
Creates the raw object
- matchesRemovalName(String) - Method in class org.jvnet.hk2.internal.CacheKey
-
Used when bulk removing a contract that has been removed from the system
- MethodInterceptorHandler - Class in org.jvnet.hk2.internal
-
This is the handler that runs the aopalliance method interception
- MethodInterceptorImpl - Class in org.jvnet.hk2.internal
- MethodInterceptorInvocationHandler - Class in org.jvnet.hk2.internal
- MethodInterceptorInvocationHandler(MethodHandler) - Constructor for class org.jvnet.hk2.internal.MethodInterceptorInvocationHandler
N
- named(String) - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- named(String) - Method in class org.jvnet.hk2.internal.TopicImpl
- NarrowResults - Class in org.jvnet.hk2.internal
- NarrowResults() - Constructor for class org.jvnet.hk2.internal.NarrowResults
O
- ofType(Type) - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- ofType(Type) - Method in class org.jvnet.hk2.internal.TopicImpl
- OptionalActiveDescriptor<T> - Class in org.jvnet.hk2.internal
-
Descriptor for
Optionalto allow for injection of a service if it exists or elseOptional.EMPTY. - OptionalActiveDescriptor() - Constructor for class org.jvnet.hk2.internal.OptionalActiveDescriptor
-
For serialization
- org.glassfish.hk2.locator - module org.glassfish.hk2.locator
- org.jvnet.hk2.external.generator - package org.jvnet.hk2.external.generator
- org.jvnet.hk2.external.runtime - package org.jvnet.hk2.external.runtime
- org.jvnet.hk2.internal - package org.jvnet.hk2.internal
P
- PerLocatorUtilities - Class in org.jvnet.hk2.internal
-
These utilities are per service locator.
- PerLookupContext - Class in org.jvnet.hk2.internal
- PerLookupContext() - Constructor for class org.jvnet.hk2.internal.PerLookupContext
- popInjectee() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- popInjecteeParent() - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
- populate() - Method in class org.jvnet.hk2.internal.PopulatorImpl
- populate(DescriptorFileFinder, PopulatorPostProcessor...) - Method in class org.jvnet.hk2.internal.PopulatorImpl
- PopulatorImpl - Class in org.jvnet.hk2.internal
-
Implementation of the Populator for DynamicConfigurationService
- postConstruct(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- postConstruct(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- preDestroy(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- preDestroy(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- proxiesAvailable() - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if the system can create proxies, false otherwise
- ProxyUtilities - Class in org.jvnet.hk2.internal
-
Utilities around proxying
- ProxyUtilities() - Constructor for class org.jvnet.hk2.internal.ProxyUtilities
- publish(T) - Method in class org.jvnet.hk2.internal.TopicImpl
- pushInjectee(Injectee) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- pushInjecteeParent(Injectee) - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
Q
- qualifiedWith(Annotation...) - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- qualifiedWith(Annotation...) - Method in class org.jvnet.hk2.internal.TopicImpl
R
- registerTwoPhaseResources(TwoPhaseResource...) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- reifyDescriptor(Descriptor) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- reifyDescriptor(Descriptor, Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- releaseCache() - Method in class org.jvnet.hk2.internal.ProxyUtilities
- releaseCache() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- releaseCaches() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
- removeDescriptor(SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.IndexedListData
- resolve(Injectee, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
S
- ServiceHandleComparator - Class in org.jvnet.hk2.internal
- ServiceHandleComparator() - Constructor for class org.jvnet.hk2.internal.ServiceHandleComparator
- ServiceHandleImpl<T> - Class in org.jvnet.hk2.internal
-
This handle does the underlying work of getting the service.
- ServiceLocatorGeneratorImpl - Class in org.jvnet.hk2.external.generator
- ServiceLocatorGeneratorImpl() - Constructor for class org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
- ServiceLocatorImpl - Class in org.jvnet.hk2.internal
- ServiceLocatorImpl(String, ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Called by the Generator, and hence must be a public method
- ServiceLocatorRuntimeBean - Interface in org.jvnet.hk2.external.runtime
-
Runtime information about the ServiceLocator.
- ServiceLocatorRuntimeImpl - Class in org.jvnet.hk2.internal
- setCache(T) - Method in class org.jvnet.hk2.internal.SystemDescriptor
- setDefaultClassAnalyzerName(String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- setDefaultUnqualified(Unqualified) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- setImplementationType(Type) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
- setImplementationType(Type) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
- setNeutralContextClassLoader(boolean) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- setRanking(int) - Method in class org.jvnet.hk2.internal.SystemDescriptor
- setServiceData(Object) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- shutdown() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
- shutdown() - Method in class org.jvnet.hk2.internal.PerLookupContext
- shutdown() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- shutdown() - Method in class org.jvnet.hk2.internal.SingletonContext
- SingletonContext - Class in org.jvnet.hk2.internal
- size() - Method in class org.jvnet.hk2.internal.IndexedListData
- supportsNullCreation() - Method in class org.jvnet.hk2.internal.PerLookupContext
- supportsNullCreation() - Method in class org.jvnet.hk2.internal.SingletonContext
- SystemDescriptor<T> - Class in org.jvnet.hk2.internal
- SystemInjecteeImpl - Class in org.jvnet.hk2.internal
-
This is an implementation of Injectee that is used by the system.
T
- ThreeThirtyResolver - Class in org.jvnet.hk2.internal
- throwIfErrors() - Method in class org.jvnet.hk2.internal.Collector
-
This method will throw if the list of throwables associated with this collector is not empty
- TopicImpl<T> - Class in org.jvnet.hk2.internal
- toString() - Method in class org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
- toString() - Method in class org.jvnet.hk2.internal.CacheKey
- toString() - Method in class org.jvnet.hk2.internal.ClazzCreator
- toString() - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
- toString() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
- toString() - Method in class org.jvnet.hk2.internal.ErrorResults
- toString() - Method in class org.jvnet.hk2.internal.FactoryCreator
- toString() - Method in class org.jvnet.hk2.internal.ImmediateResults
- toString() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
- toString() - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
- toString() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
- toString() - Method in class org.jvnet.hk2.internal.NarrowResults
- toString() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
- toString() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
- toString() - Method in class org.jvnet.hk2.internal.SystemDescriptor
- toString() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
- toString() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
- toString() - Method in class org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
- toString() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
- translatePrimitiveType(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Converts the type to its java form, or returns the original
- TwoPhaseTransactionDataImpl - Class in org.jvnet.hk2.internal
- TwoPhaseTransactionDataImpl() - Constructor for class org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
U
- unSort() - Method in class org.jvnet.hk2.internal.IndexedListData
-
Called by a SystemDescriptor when its ranking has changed
- Utilities - Class in org.jvnet.hk2.internal
-
This class contains a set of static utilities useful for implementing HK2
- Utilities() - Constructor for class org.jvnet.hk2.internal.Utilities
- Utilities.Interceptors - Interface in org.jvnet.hk2.internal
-
The return type from getAllInterceptors
V
- validateSelfInjectees(ActiveDescriptor<?>, List<SystemInjecteeImpl>, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method validates a list of injectees to ensure that any self injectees have the proper set of requirements.
- ValidationInformationImpl - Class in org.jvnet.hk2.internal
- ValidationInformationImpl(Operation, ActiveDescriptor<?>) - Constructor for class org.jvnet.hk2.internal.ValidationInformationImpl
-
Creates the validation information
- ValidationInformationImpl(Operation, ActiveDescriptor<?>, Injectee, Filter) - Constructor for class org.jvnet.hk2.internal.ValidationInformationImpl
-
Creates the validation information
All Classes and Interfaces|All Packages|Serialized Form