- 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.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, ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
Creates a constant active descriptor with the given locator ID
- 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
- 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
- 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
- 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(String, ServiceLocator) - Method in class org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
-
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
-
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.ClazzCreator
-
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- 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
-
- create(Class<T>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- create(Class<T>, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- 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
- 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(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
-
- getAllServiceHandles(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(Annotation, 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.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.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(Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getInjecteeDescriptor() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- 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(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
-
- getService(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getService(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getService(Class<T>, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getService(Type, String, Annotation...) - 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(ActiveDescriptor<T>, Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(ActiveDescriptor<T>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Class<T>, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Type, String, Annotation...) - 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
-