A B C D E F G H I J K L M N O P Q R S T U V W _ 

A

AbstractActiveDescriptor<T> - Class in org.glassfish.hk2.utilities
This class can be used as a starting point for those writing their own ActiveDescriptor.
AbstractActiveDescriptor() - Constructor for class org.glassfish.hk2.utilities.AbstractActiveDescriptor
For serialization
AbstractActiveDescriptor(Descriptor) - Constructor for class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Creates a NON reified ActiveDescriptor based on a copy of the given baseDescriptor.
AbstractActiveDescriptor(Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorType, DescriptorVisibility, int, Boolean, Boolean, String, Map<String, List<String>>) - Constructor for class org.glassfish.hk2.utilities.AbstractActiveDescriptor
This constructor must be called with the information about this descriptor
AbstractBinder - Class in org.glassfish.hk2.utilities.binding
Skeleton implementation of injection binder with convenience methods for binding definitions.
AbstractBinder() - Constructor for class org.glassfish.hk2.utilities.binding.AbstractBinder
 
ActiveDescriptor<T> - Interface in org.glassfish.hk2.api
An ActiveDescriptor contains information about a Descriptor after it has been reified.
ActiveDescriptorBuilder - Interface in org.glassfish.hk2.utilities
The active descriptor build is for building up a non-reified ActiveDescriptor.
ActiveDescriptorBuilderImpl - Class in org.glassfish.hk2.internal
 
ActiveDescriptorBuilderImpl(Class<?>) - Constructor for class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
constructor with the impl class
activeLink(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This method creates an ActiveDescriptorBuilder, whose job it is to create an unreified ActiveDescriptor.
add(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Adds one more key-value pair.
addActiveDescriptor(ActiveDescriptor<T>) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This allows third party systems to add reified active descriptors to the system.
addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This allows third party systems to add reified active descriptors to the system.
addActiveDescriptor(Class<T>) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This adds an active descriptor to the system based completely on the analysis of the given class.
addActiveDescriptor(ActiveDescriptor<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This allows third party systems to add reified active descriptors to the system.
addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
 
addActiveDescriptor(Class<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This adds an active descriptor to the system based completely on the analysis of the given class.
addActiveDescriptor(ActiveDescriptor<T>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
addActiveDescriptor(Class<T>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This adds two active descriptors to the system based completely on the analysis of the given Factory class.
addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This adds two active descriptors to the system based completely on the analysis of the given Factory class.
addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
addAdvertisedContract(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Adds an advertised contract to the set of contracts advertised by this descriptor
addBinding(BindingBuilder<?>, DynamicConfiguration) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Add a binding represented by the binding builder to the HK2 dynamic configuration.
addBinding(BindingBuilder<?>, DynamicConfiguration, HK2Loader) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Add a binding represented by the binding builder to the HK2 dynamic configuration.
addClasses(ServiceLocator, Class<?>...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
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.
addContractType(Type) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Adds an advertised contract to the set of contracts advertised by this descriptor
addDescriptor(SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.IndexedListData
 
addError(Throwable) - Method in exception org.glassfish.hk2.api.MultiException
Adds an error to an existing exception
addFactoryConstants(ServiceLocator, Factory<?>...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method adds factory constants to the given locator.
addFactoryDescriptors(ServiceLocator, FactoryDescriptors...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Adds the given factory descriptors to the service locator
addFactoryDescriptors(ServiceLocator, boolean, FactoryDescriptors...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Adds the given factory descriptors to the service locator
addListener(ServiceLocatorListener) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Adds a service listener to the unordered set of listeners that will be notified when named listeners are added or removed from the system.
addListener(ServiceLocatorListener) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
addMetadata(Map<String, List<String>>) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Adds all of the entries from this map to the existing descriptor's metadata.
addMetadata(String, String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Adds a value to the list of values associated with this key
addMetadata(Map<String, List<String>>, String, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Adds a value to the list of values associated with this key
addMultiException(MultiException) - Method in class org.jvnet.hk2.internal.Collector
 
addOneConstant(ServiceLocator, Object) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method adds one existing object to the given service locator.
addOneConstant(ServiceLocator, Object, String, Type...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method adds one existing object to the given service locator.
addOneDescriptor(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
It is very often the case that one wishes to add a single descriptor to a service locator.
addOneDescriptor(ServiceLocator, Descriptor, boolean) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
It is very often the case that one wishes to add a single descriptor to a service locator.
addQualifier(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Adds the given string to the list of qualifiers
addQualifierAnnotation(Annotation) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Adds the given string to the list of qualifiers
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 interface org.glassfish.hk2.api.DynamicConfiguration
This filter will added to the list of filters in this Configuration that will determine which Descriptors will be removed from the system.
addUnbindFilter(Filter) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This filter will added to the list of filters in this Configuration that will determine which Descriptors will be removed from the system.
addUnbindFilter(Filter) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
ALIAS_FREE_DESCRIPTOR - Static variable in class org.glassfish.hk2.utilities.AliasDescriptor
This is the value the metadata field ALIAS_METADATA_MARKER will take if the descriptor being aliased does not have a locator id or a service id
ALIAS_METADATA_MARKER - Static variable in class org.glassfish.hk2.utilities.AliasDescriptor
This will be put in all Alias descriptors.
AliasDescriptor<T> - Class in org.glassfish.hk2.utilities
An active descriptor class that serves as an alias for another descriptor.
AliasDescriptor() - Constructor for class org.glassfish.hk2.utilities.AliasDescriptor
For serialization
AliasDescriptor(ServiceLocator, ActiveDescriptor<T>, String, String) - Constructor for class org.glassfish.hk2.utilities.AliasDescriptor
Construct an AliasDescriptor.
allFilter() - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Returns a filter of type Descriptor that matches all descriptors
analyzeWith(String) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
analyzeWith(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Call this if the descriptor should be analyzed with the ClassAnalyzer service of the given name
analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Set the name of the ClassAnalyzer on the binding.
analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Set the name of the ClassAnalyzer on the binding.
analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Set the name of the ClassAnalyzer on the binding.
analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
Call this if the descriptor should be analyzed with the ClassAnalyzer service of the given name
andLoadWith(HK2Loader) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
andLoadWith(HK2Loader) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
andLoadWith(HK2Loader) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Call this if this descriptor should be loaded with the given HK2Loader
andLoadWith(HK2Loader) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
Call this if this descriptor should be loaded with the given HK2Loader
annotationContainsAll(Set<Annotation>, Set<Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This is used to check on the annotation set.
AnnotationLiteral<T extends Annotation> - Class in org.glassfish.hk2.api
Supports inline instantiation of annotation type instances.
AnnotationLiteral() - Constructor for class org.glassfish.hk2.api.AnnotationLiteral
 
annotationType() - Method in class org.glassfish.hk2.api.AnnotationLiteral
 
AOPProxyCtl - Interface in org.glassfish.hk2.api
This interface is implemented by all services that use the AOP Alliance Interceptor feature of HK2.
array(Object[]) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Returns a pretty string for the given array
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) - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
Constructor with all relevant fields

B

BeanReflectionHelper - Class in org.glassfish.hk2.utilities.reflection
 
BeanReflectionHelper() - Constructor for class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
 
bind(Descriptor) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This method will bind the given descriptor to this Module.
bind(Descriptor, boolean) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This method will bind the given descriptor to this Module.
bind(FactoryDescriptors) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This method will bind the descriptors found in the FactoryDescriptors.
bind(FactoryDescriptors, boolean) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This method will bind the descriptors found in the FactoryDescriptors.
bind(DynamicConfiguration) - Method in interface org.glassfish.hk2.utilities.Binder
This method will be called by the ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...) method for each binder given.
bind(Class<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new class-based service binding.
bind(T) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new instance-based service binding.
bind(DynamicConfiguration) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
 
bind(Descriptor) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This method will bind the given descriptor to this Module.
bind(Descriptor, boolean) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
 
bind(FactoryDescriptors) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This method will bind the descriptors found in the FactoryDescriptors.
bind(FactoryDescriptors, boolean) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
 
bind(ServiceLocator, Binder...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will bind all of the binders given together in a single config transaction.
bind(String, Binder...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will create or find a ServiceLocator with the given name and bind all of the binders given together in a single config transaction.
bind(Binder...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will create or find a ServiceLocator with the name "default" and bind all of the binders given together in a single config transaction.
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
 
bindAsContract(Class<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new class-based service binding.
bindAsContract(TypeLiteral<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new generic type-based service binding.
Binder - Interface in org.glassfish.hk2.utilities
The binder is used in conjunction with the ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...) method in order to add (or remove) services to a ServiceLocator.
bindFactory(Class<? extends Factory<T>>, Class<? extends Annotation>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new factory class-based service binding.
bindFactory(Class<? extends Factory<T>>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new factory class-based service binding.
bindFactory(Factory<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Start building a new factory instance-based service binding.
BindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
Base binding builder (marker) interface.
BindingBuilderFactory - Class in org.glassfish.hk2.utilities.binding
HK2 injection binding utility methods.
BindingBuilderFactory() - Constructor for class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
 
build() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
build() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
build() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Generates a descriptor that can be used in binding operations
build() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
Generates a descriptor that can be used in binding operations
BuilderHelper - Class in org.glassfish.hk2.utilities
This class is used to generate DescriptorBuilders to be used as a simple mechanism to create a Filter or Descriptor.
BuilderHelper() - Constructor for class org.glassfish.hk2.utilities.BuilderHelper
 
buildFactory() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
Deprecated.
buildFactory(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
buildFactory() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
buildFactory(Class<? extends Annotation>) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
buildFactory() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Deprecated.
Use buildProvideMethod instead
buildFactory() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
Generates a factory descriptor that can be used in binding operations.
buildFactory(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
Generates a factory descriptor that can be used in binding operations.
buildFactory(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
Generates a factory descriptor that can be used in binding operations.
buildProvideMethod() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
buildProvideMethod() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Generates a descriptor that can be used in binding operations that describes a factorys provide method

C

Cache<K,V> - Class in org.glassfish.hk2.utilities.cache
Cache implementation that relies on FutureTask.
Cache(Computable<K, V>) - Constructor for class org.glassfish.hk2.utilities.cache.Cache
Create new cache with given computable to compute values.
Cache(Computable<K, V>, Cache.CycleHandler<K>) - Constructor for class org.glassfish.hk2.utilities.cache.Cache
Create new cache with given computable and cycle handler.
Cache.CycleHandler<K> - Interface in org.glassfish.hk2.utilities.cache
Should a cycle be detected during computation of a value for given key, this interface allows client code to register a callback that would get invoked in such a case.
CacheEntry - Interface in org.glassfish.hk2.utilities.cache
This can be used to remove a specific cache entry from the cache, for better control of the caching release semantics
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
CacheKeyFilter<K> - Interface in org.glassfish.hk2.utilities.cache
This is used by the cache to remove a series of entries that match this filter
cast(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Casts this thing to the given type
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
ClassAnalyzer - Interface in org.glassfish.hk2.api
When HK2 automatically analyzes a class to find the constructor, fields, initializer methods and postConstruct and preDestroy methods it uses this service to analyze the class.
ClassLoaderPostProcessor - Class in org.glassfish.hk2.utilities
This is a PopulatorPostProcessor that adds an HK2Loader based on a ClassLoader.
ClassLoaderPostProcessor(ClassLoader, boolean) - Constructor for class org.glassfish.hk2.utilities.ClassLoaderPostProcessor
ClassLoaderPostProcessor(ClassLoader) - Constructor for class org.glassfish.hk2.utilities.ClassLoaderPostProcessor
ClasspathDescriptorFileFinder - Class in org.glassfish.hk2.utilities
This is an implementation of DescriptorFileFinder that uses a particular classloader in order to find descriptor files.
ClasspathDescriptorFileFinder() - Constructor for class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
If this constructor is used then HK2 descriptor files will be found by looking in the classpath of the process.
ClasspathDescriptorFileFinder(ClassLoader) - Constructor for class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
This constructor can be used to select the particular classloader to search for HK2 descriptor files.
ClasspathDescriptorFileFinder(ClassLoader, String...) - Constructor for class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
This constructor can be used to select the particular classloader to search for HK2 descriptor files.
ClassReflectionHelper - Interface in org.glassfish.hk2.utilities.reflection
An interface representing useful reflection utilities
ClassReflectionHelperImpl - Class in org.glassfish.hk2.utilities.reflection.internal
 
ClassReflectionHelperImpl() - Constructor for class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
ClassReflectionHelperUtilities - Class in org.glassfish.hk2.utilities.reflection.internal
 
ClassReflectionHelperUtilities() - Constructor for class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperUtilities
 
clazz(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Makes a nice, pretty class (without the package name)
ClazzCreator<T> - Class in org.jvnet.hk2.internal
 
clean(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Removes this class (and all appropriate sub-classes) from the cache
clean(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
clear() - Method in class org.glassfish.hk2.utilities.cache.Cache
Empty cache.
clear() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Empty the cache.
clear() - Method in class org.jvnet.hk2.internal.IndexedListData
 
clearMetadata() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Removes all metadata values
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
 
clone() - Method in class org.jvnet.hk2.component.MultiMap
Creates a copy of the map that contains the exact same key and value set.
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
collection(Collection<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Returns a pretty string representing the collection
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
 
com.sun.enterprise.module.maven - package com.sun.enterprise.module.maven
 
commit() - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This causes the configuration to get committed.
commit() - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
This causes the configuration to get committed.
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
 
Computable<K,V> - Interface in org.glassfish.hk2.utilities.cache
Utility interface to capture generic computation of type V from type K.
compute(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
 
compute(K) - Method in interface org.glassfish.hk2.utilities.cache.Computable
Defines an expensive computation to retrieve value V from key K.
compute(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
 
configurationChanged() - Method in interface org.glassfish.hk2.api.DynamicConfigurationListener
This method is called when the set of descriptors in this service locator has been changed.
configurationChanged() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
configure() - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Implement to provide binding definitions using the exposed binding methods.
configure() - Method in class org.glassfish.hk2.utilities.EnableLookupExceptionsModule
 
configure() - Method in class org.glassfish.hk2.utilities.ImmediateScopeModule
 
configure() - Method in class org.glassfish.hk2.utilities.InheritableThreadScopeModule
 
configure() - Method in class org.glassfish.hk2.utilities.PerThreadScopeModule
 
ConstantActiveDescriptor<T> - Class in org.glassfish.hk2.internal
 
ConstantActiveDescriptor() - Constructor for class org.glassfish.hk2.internal.ConstantActiveDescriptor
For serializable
ConstantActiveDescriptor(T, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, Boolean, Boolean, String, Map<String, List<String>>, int) - Constructor for class org.glassfish.hk2.internal.ConstantActiveDescriptor
Creates the constant descriptor
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
Constants - Class in org.glassfish.hk2.utilities.reflection
 
Constants() - Constructor for class org.glassfish.hk2.utilities.reflection.Constants
 
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
constructor(Constructor<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Make a nice pretty string out of the constructor and all its parameters
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
 
contains(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Checks if the map contains the given key(s), also extending the search to including the sub collection.
containsKey(ActiveDescriptor<?>) - Method in interface org.glassfish.hk2.api.Context
Determines if this context has a value for the given key
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.ImmediateHelper
Delegated to from the Context
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.PerThreadContext
 
containsKey(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
Returns true if the key has already been cached.
containsKey(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Returns true if the key has already been cached.
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
containsKey(K) - Method in class org.jvnet.hk2.component.MultiMap
Checks if the map contains the given key.
containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
 
Context<T> - Interface in org.glassfish.hk2.api
An implementation of this must be put into the system in order to create contextual instances of services.
ContextualInput<T> - Class in org.glassfish.hk2.utilities
Used by several contexts for keeping the inputs of Context.findOrCreate(ActiveDescriptor, ServiceHandle).
ContextualInput(ActiveDescriptor<T>, ServiceHandle<?>) - Constructor for class org.glassfish.hk2.utilities.ContextualInput
Contract - Annotation Type in org.jvnet.hk2.annotations
This annotation is used by HK2 during automatic class analysis to indicate that a class or interface should be included in the list of contracts for a service
ContractIndicator - Annotation Type in org.glassfish.hk2.api
This annotation is put on annotations that are used to mark things as hk2 contracts.
ContractsProvided - Annotation Type in org.jvnet.hk2.annotations
An explicit list of contracts provided.
convertJavaBeanToBeanLikeMap(ClassReflectionHelper, Object) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
Converts a Java bean to a bean-like Map
convertToOsgi(Version.COMPONENT) - Method in class org.glassfish.hk2.maven.Version
 
create(ServiceHandle<?>) - Method in interface org.glassfish.hk2.api.ActiveDescriptor
Creates an instance of the ActiveDescriptor.
create(Class<T>) - Method in interface org.glassfish.hk2.api.ServiceLocator
This method will analyze the given class, and create it if can.
create(Class<T>, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
This method will analyze the given class, and create it if can.
create(String) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Creates (or finds) a ServiceLocator.
create(String, ServiceLocator) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Creates or finds a ServiceLocator.
create(String, ServiceLocator, ServiceLocatorGenerator) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Creates or finds a ServiceLocator.
create(String, ServiceLocator, ServiceLocatorGenerator, ServiceLocatorFactory.CreatePolicy) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Creates a ServiceLocator.
create(String, ServiceLocator) - Method in interface org.glassfish.hk2.extension.ServiceLocatorGenerator
Creates the ServiceLocator that will be used to generate the ServiceLocators
create(ServiceHandle<?>) - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
 
create(String) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
create(String, ServiceLocator) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
create(String, ServiceLocator, ServiceLocatorGenerator) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
create(String, ServiceLocator, ServiceLocatorGenerator, ServiceLocatorFactory.CreatePolicy) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
create(ServiceHandle<?>) - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
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 interface org.glassfish.hk2.api.ServiceLocator
This method creates, injects and post-constructs an object with the given class.
createAndInitialize(Class<U>, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
This method creates, injects and post-constructs an object with the given class.
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
createAndPopulateServiceLocator(String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method is often the first line of a stand-alone client that wishes to use HK2.
createAndPopulateServiceLocator() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method is often the first line of a stand-alone client that wishes to use HK2.
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
createCache(int) - Static method in class org.glassfish.hk2.utilities.cache.LRUCache
Creates a cache with the given maximum cache size
createCacheEntry(K, V, boolean) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Create cache entry for given values.
createConstantDescriptor(T) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This creates a descriptor that will always return the given object.
createConstantDescriptor(T, String, Type...) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This creates a descriptor that will always return the given object.
createConstantServiceHandle(T) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Creates a ServiceHandle that will always return the given object from the ServiceHandle.getService() method.
createContractFilter(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Returns an indexed filter that will return all descriptors that have contract as an advertised contract
createDescriptorFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This returns a DescriptorImpl based on the given class.
createDynamicConfiguration() - Method in interface org.glassfish.hk2.api.DynamicConfigurationService
Creates a dynamic configuration that can be used to add or remove values to the system
createDynamicConfiguration(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method returns a DynamicConfiguration for use with adding and removing services to the given ServiceLocator.
createDynamicConfiguration() - Method in class org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
 
createMethodWrapper(Method) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Creates a method wrapper from the given method
createMethodWrapper(Method) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
createMethodWrapper(Method) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Creates a method wrapper for the given method
createNameAndContractFilter(String, String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Returns an indexed filter that will return all descriptors that have the given name and given contract
createNameFilter(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Returns an indexed filter that will return all descriptors that have the given name
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)
createSpecificDescriptorFilter(Descriptor) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This method creates a filter that will match one and only one descriptor.
createTokenizedFilter(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Creates a filter from a token string as per the following rules. The token delimiter is ; The first token is the contract.
Creator<T> - Interface in org.jvnet.hk2.internal
An internal interface that allows us to have the factory and class implementations

D

debug(String) - Method in class org.glassfish.hk2.utilities.reflection.Logger
Sends this message to the Debug channel (FINER level in JDK parlance)
debug(String, String, Throwable) - Method in class org.glassfish.hk2.utilities.reflection.Logger
Sends this message to the Debug channel (FINER level in JDK parlance)
deepCopyDescriptor(Descriptor) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Makes a deep copy of the incoming descriptor
deepCopyMetadata(Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This method does a deep copy of the incoming meta-data, (which basically means we will also make copies of the value list)
DEFAULT_IMPLEMENTATION_NAME - Static variable in interface org.glassfish.hk2.api.ClassAnalyzer
The name of the default ClassAnalyzer service
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
Descriptor - Interface in org.glassfish.hk2.api
A Descriptor is a bean-like structure that describes a service declaration in HK2.
DescriptorBuilder - Interface in org.glassfish.hk2.utilities
This is an object that uses the Builder pattern in order to generate a Descriptor (for binding) or a Filter (for searching).
DescriptorBuilderImpl - Class in org.glassfish.hk2.internal
This is a simple implementation of the DescriptorBuilder
DescriptorBuilderImpl() - Constructor for class org.glassfish.hk2.internal.DescriptorBuilderImpl
The basid constructor
DescriptorBuilderImpl(String, boolean) - Constructor for class org.glassfish.hk2.internal.DescriptorBuilderImpl
A descriptor builder with the given implementation
DescriptorComparator - Class in org.jvnet.hk2.internal
 
DescriptorComparator() - Constructor for class org.jvnet.hk2.internal.DescriptorComparator
 
DescriptorFileFinder - Interface in org.glassfish.hk2.api
Implementations of this interface allow the customization of how hk2 inhabitant files are found.
DescriptorFileFinderInformation - Interface in org.glassfish.hk2.api
Returns information about the InputStream returned by DescriptorFileFinder.findDescriptorFiles() that can be used to give better information when one of the streams fails.
DescriptorImpl - Class in org.glassfish.hk2.utilities
The implementation of the descriptor itself, with the bonus of being externalizable, and having writeable fields
DescriptorImpl() - Constructor for class org.glassfish.hk2.utilities.DescriptorImpl
For serialization
DescriptorImpl(Descriptor) - Constructor for class org.glassfish.hk2.utilities.DescriptorImpl
Does a deep copy of the incoming descriptor
DescriptorImpl(Set<String>, String, String, String, Map<String, List<String>>, Set<String>, DescriptorType, DescriptorVisibility, HK2Loader, int, Boolean, Boolean, String, Long, Long) - Constructor for class org.glassfish.hk2.utilities.DescriptorImpl
This creates this descriptor impl, taking all of the fields as given
DescriptorType - Enum in org.glassfish.hk2.api
This describes the type of descriptor
DescriptorVisibility - Enum in org.glassfish.hk2.api
This enumeration determines how visibility of a descriptor
destroy() - Method in interface org.glassfish.hk2.api.ServiceHandle
Will destroy this object and all PerLookup instances created because of this service
destroy(String) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Removes the ServiceLocator with this name
destroy(ServiceLocator) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Removes the given ServiceLocator
destroy(String) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
destroy(ServiceLocator) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
destroy() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
destroyOne(ActiveDescriptor<?>) - Method in interface org.glassfish.hk2.api.Context
This method is called when ServiceHandle.destroy() method is called.
destroyOne(ActiveDescriptor<?>, List<ImmediateErrorHandler>) - Method in class org.glassfish.hk2.internal.ImmediateHelper
Destroys a single descriptor
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.PerThreadContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
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 interface org.glassfish.hk2.api.ActiveDescriptor
Disposes this instance.
dispose(T) - Method in interface org.glassfish.hk2.api.Factory
This method will dispose of objects created with this scope.
dispose(T) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
dispose(T) - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
dispose() - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Releases the entire cache, though the ClassReflectionHelper is still usable after calling dispose
dispose() - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
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
 
distributeMessage(Topic<?>, Object) - Method in interface org.glassfish.hk2.api.messaging.TopicDistributionService
Must distribute the message to all of the matching topic subscribers.
dropMe() - Method in interface org.glassfish.hk2.utilities.cache.HybridCacheEntry
Tell the cache if this entry should be dropped as opposed to being kept in the cache.
dropVersionComponent - Variable in class com.sun.enterprise.module.maven.OsgiVersionMojo
Flag used to determine what components of the version will be used in OSGi version.
dumpAllDescriptors(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Dumps all descriptors in this ServiceLocator to stderr
dumpAllDescriptors(ServiceLocator, PrintStream) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Dumps all descriptors in this ServiceLocator to the given PrintStream
DuplicatePostProcessor - Class in org.glassfish.hk2.utilities
This post-processor removes duplicate descriptors from the set of descriptors being added to the service registry.
DuplicatePostProcessor() - Constructor for class org.glassfish.hk2.utilities.DuplicatePostProcessor
 
DynamicConfiguration - Interface in org.glassfish.hk2.api
This class is used to add Descriptors to a ServiceLocator instance.
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
DynamicConfigurationListener - Interface in org.glassfish.hk2.api
A service that listens for dynamic configuration changes.
DynamicConfigurationService - Interface in org.glassfish.hk2.api
The dynamic configuration service is the source of DynamicConfiguration instances, which can be used to bind and unbind entities into the system
DynamicConfigurationServiceImpl - Class in org.jvnet.hk2.internal
 

E

enableImmediateScope(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will add the ability to use the Immediate scope to the given locator.
enableInheritableThreadScope(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will add the ability to use the InheritableThread scope to the given locator.
enableLookupExceptions(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will cause lookup operations to throw exceptions when exceptions are encountered in underlying operations such as classloading.
EnableLookupExceptionsModule - Class in org.glassfish.hk2.utilities
This module can be used to enable exceptions to be thrown from getService API when a descriptor throws an exception during reification or other errors.
EnableLookupExceptionsModule() - Constructor for class org.glassfish.hk2.utilities.EnableLookupExceptionsModule
 
enablePerThreadScope(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will add the ability to use the PerThread scope to the given locator.
enableTopicDistribution(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Deprecated.
Use ExtrasUtilities.enableTopicDistribution. This method WILL BE REMOVED in the next version of hk2
entrySet() - Method in class org.jvnet.hk2.component.MultiMap
Lists up all entries.
equals(Object) - Method in class org.glassfish.hk2.api.AnnotationLiteral
 
equals(Object) - Method in class org.glassfish.hk2.api.TypeLiteral
 
equals(Object) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
equals(Object) - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
equals(Object) - Method in class org.glassfish.hk2.utilities.ContextualInput
 
equals(Object) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
equals(Object) - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
 
equals(Object) - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
 
equals(Object) - Method in class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
 
equals(Object) - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
equals(Object) - Method in class org.jvnet.hk2.component.MultiMap
 
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
 
ErrorInformation - Interface in org.glassfish.hk2.api
This class has information in it about the error that has occurred
ErrorInformationImpl - Class in org.jvnet.hk2.internal
 
ErrorResults - Class in org.jvnet.hk2.internal
 
ErrorService - Interface in org.glassfish.hk2.api
This interface should be implemented by those who wish to be notified of error conditions that occur within HK2.
ErrorType - Enum in org.glassfish.hk2.api
This enumeration describes the types of errors that might occur
EVENT_RECEIVER_TYPES - Static variable in annotation type org.glassfish.hk2.api.messaging.MessageReceiver
 
execute() - Method in class com.sun.enterprise.module.maven.OsgiVersionMojo
 

F

Factory<T> - Interface in org.glassfish.hk2.api
This interface should be implemented in order to provide a factory for another type.
FactoryCreator<T> - Class in org.jvnet.hk2.internal
 
FactoryDescriptors - Interface in org.glassfish.hk2.api
This is a convenience class that links together the factory descriptor as a factory for another type and the factory as a service itself.
FactoryDescriptorsImpl - Class in org.glassfish.hk2.utilities
This is an implementation of FactoryDescriptors that can be used by hk2 uses when creating descriptors that describe a Factory
FactoryDescriptorsImpl(Descriptor, Descriptor) - Constructor for class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
This creates a descriptor pair describing a Factory and the associated Factory.provide() method
field(Field) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Returns a pretty string representing a Field
Filter - Interface in org.glassfish.hk2.api
This object is used to search for items in the service registry
filterMatches(Descriptor, Filter) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Determines if the given descriptor matches the given filter.
find(String) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Finds the ServiceLocator with this name
find(String) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
findDescriptorFiles() - Method in interface org.glassfish.hk2.api.DescriptorFileFinder
Returns a list of input streams for hk2 locator files
findDescriptorFiles() - Method in class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
Simple implementation of the findDescriptorFiles which does a simple getResources on the classloader in order to find the hk2 descriptor files
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.
findOneDescriptor(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Finds a descriptor in the given service locator.
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in interface org.glassfish.hk2.api.Context
Creates a contextual instance of this ActiveDescriptor by calling its create method if there is no other matching contextual instance.
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.internal.ImmediateHelper
Delegated to from the Context
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.internal.PerThreadContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
findOrCreate(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
 
findOrCreate(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
 
findOrCreateService(ServiceLocator, Class<T>, Annotation...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will first attempt to find a service corresponding to the type and qualifiers passed in to the method, and if one is found simply returns it.
findPostConstruct(Class<?>, Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Finds the postConstruct method on this class
findPostConstruct(Class<?>, Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
findPostConstruct(Class<?>, ServiceLocatorImpl, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
Finds the post construct method on this class
findPreDestroy(Class<?>, Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Finds the preDestroy method on this class
findPreDestroy(Class<?>, Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
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

GeneralUtilities - Class in org.glassfish.hk2.utilities.general
This class contains utilities useful for any code
GeneralUtilities() - Constructor for class org.glassfish.hk2.utilities.general.GeneralUtilities
 
generateProxy(Class<?>, ServiceLocatorImpl, ActiveDescriptor<T>, ServiceHandle<T>) - Method in class org.jvnet.hk2.internal.ProxyUtilities
 
get(K) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
 
get(K) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Returns the value associated with the given key.
get(K) - Method in class org.jvnet.hk2.component.MultiMap
Returns the elements indexed by the provided key
get() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
getActiveDescriptor() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
The active descriptor that is being used for the operation.
getActiveDescriptor() - Method in interface org.glassfish.hk2.api.ServiceHandle
Returns the ActiveDescriptor associated with this service handle
getActiveDescriptor() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
 
getActiveDescriptor() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
getActualTypeArguments() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
getAdvertisedContract() - Method in interface org.glassfish.hk2.api.IndexedFilter
If this returns non-null then this index will be used to limit the set of Descriptors that will be passed to the matches method.
getAdvertisedContract() - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
 
getAdvertisedContract() - Method in class org.glassfish.hk2.internal.SpecificFilterImpl
 
getAdvertisedContracts() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the base class name of the contracts that this service describes.
getAdvertisedContracts() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getAdvertisedContracts() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getAdvertisedTypesFromClass(Type, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the set of types this class advertises
getAdvertisedTypesFromObject(Object, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the set of types this class advertises
getAllFields(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Gets all fields for a class (taking class heirarchy into account)
getAllFields(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
getAllMethods(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Gets all methods for a class (taking class heirarchy into account)
getAllMethods(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
getAllQualifiers(AnnotatedElement, String, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
Returns the full set of qualifier annotations on this class
getAllServiceHandles(Class<T>, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a list of ServiceHandle that can be used to get and destroy services associated with descriptors that match the provided criteria
getAllServiceHandles(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a list of ServiceHandle that can be used to get and destroy services associated with descriptors that match the provided criteria
getAllServiceHandles(Annotation, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a list of ServiceHandle that can be used to get and destroy services associated with descriptors that match the provided criteria
getAllServiceHandles(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a list of ServiceHandle whose ActiveDescriptors match the supplied filter.
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 interface org.glassfish.hk2.api.ServiceLocator
Gets the all the services from this locator that implements this contract or has this implementation
getAllServices(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the all the services from this locator that implements this contract or has this implementation
getAllServices(Annotation, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the all the services from this locator that has the given qualifier or qualifiers
getAllServices(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the all the services from this locator that matches the Filter
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
 
getAllTypes(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
 
getAnnoType() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
Returns the annotation class for this annotation type
getAssociatedException() - Method in interface org.glassfish.hk2.api.ErrorInformation
This will contain the associated exception or exceptions that caused the failure.
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
getBeanPropertyNameFromGetter(Method) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
Returns the bean version of the property name if the method is a getter, or returns null if the method is not a getter
getBestDescriptor(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the descriptor that best matches this filter, taking ranking and service id into account
getBestDescriptor(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getCache() - Method in interface org.glassfish.hk2.api.SingleCache
This can be used for scopes that will only every be created once.
getCache() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
 
getCache() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getCache() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
 
getCache() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getCaller() - Method in interface org.glassfish.hk2.api.ValidationInformation
This method attempts to return the StackTraceElement of the code calling the HK2 method that caused this validation to occur
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 interface org.glassfish.hk2.api.ValidationInformation
The candidate descriptor for this operation
getCandidate() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
 
getChangeEvents(ClassReflectionHelper, Object, Object) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
Gets the set of change events by comparing two different beans.
getClassAnalysisName() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the name of the ClassAnalyzer service that should be used to discover the constructors, initialization methods, field and postConstruct and preDestory methods.
getClassAnalysisName() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
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 interface org.glassfish.hk2.api.ClassAnalyzer
Will return the constructor that it to be used when constructing this service
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(Constructor<?>) - Method in interface org.glassfish.hk2.api.InterceptionService
The single chosen constructor of a service that passes the InterceptionService.getDescriptorFilter() method will be passed to this method to determine if it will intercepted
getConstructorInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
Gets the constructor interceptors
getContractsFromClass(Class<?>, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the set of types this class advertises
getContractTypes() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
The set of types that this ActiveDescriptor must produce.
getContractTypes() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getContractTypes() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
getContractTypes() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getDefaultClassAnalyzerName() - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the name of the default class analyzer service
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 interface org.glassfish.hk2.api.ServiceLocator
This returns the default Unqualified annotation that will be put on all injection points that do not have any qualifiers.
getDefaultUnqualified() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getDescriptor() - Method in interface org.glassfish.hk2.api.ErrorInformation
This will contain the active descriptor that is associated with this failure.
getDescriptor() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
Get the descriptor being aliased.
getDescriptor() - Method in class org.glassfish.hk2.utilities.ContextualInput
Returns the descriptor associated with this contextual creation
getDescriptor() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
 
getDescriptorFileInformation() - Method in interface org.glassfish.hk2.api.DescriptorFileFinderInformation
This list must have the same cardinality as DescriptorFileFinder.findDescriptorFiles().
getDescriptorFileInformation() - Method in class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
 
getDescriptorFilter() - Method in interface org.glassfish.hk2.api.InterceptionService
If the returned filter returns true then the methods of the service will be passed to InterceptionService.getMethodInterceptors(Method) to determine if a method should be intercepted and the constructor of the service will be passed to InterceptionService.getConstructorInterceptors(Constructor) to determine if the constructor should be intercepted
getDescriptorFilter() - Static method in class org.glassfish.hk2.internal.StarFilter
Gets the static instance of this filter
getDescriptors(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the list of descriptors that match the given filter
getDescriptors(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getDescriptorType() - Method in interface org.glassfish.hk2.api.Descriptor
Returns CLASS if this is a class descriptor and FACTORY if this is a descriptor describing a factory for a type, in which case the implClass should point to the implementation class of the factory
getDescriptorType() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getDescriptorType() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getDescriptorVisibility() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the visibility of this descriptor.
getDescriptorVisibility() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getDescriptorVisibility() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getErrors() - Method in exception org.glassfish.hk2.api.MultiException
Gets all the errors associated with this MultiException
getErrorType() - Method in interface org.glassfish.hk2.api.ErrorInformation
Gets the type of error that has occurred.
getErrorType() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
 
getEventType() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
Gets the type of event this describes.
getEventType() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
 
getFactoryAsAFactory() - Method in interface org.glassfish.hk2.api.FactoryDescriptors
This returns the factory as a factory for some other type.
getFactoryAsAFactory() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
 
getFactoryAsAService() - Method in interface org.glassfish.hk2.api.FactoryDescriptors
This returns the factory as a service itself.
getFactoryAsAService() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
 
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 interface org.glassfish.hk2.api.ActiveDescriptor
If this ActiveDescriptor has DescriptorType of PROVIDE_METHOD then this field will return the ServiceId of its associated Factory service.
getFactoryLocatorId() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
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 interface org.glassfish.hk2.api.ActiveDescriptor
If this ActiveDescriptor has DescriptorType of PROVIDE_METHOD then this field will return the ServiceId of its associated Factory service.
getFactoryServiceId() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getFactoryServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getFieldInjectees(Field, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
Returns the injectees for a field
getFields(Class<T>) - Method in interface org.glassfish.hk2.api.ClassAnalyzer
Will return the set of initializer fields to be used when initializing this service
getFields(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
 
getFilter() - Method in interface org.glassfish.hk2.api.InstanceLifecycleListener
This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle listener.
getFilter() - Method in interface org.glassfish.hk2.api.ValidationInformation
On a LOOKUP operation the Filter that was used in the lookup operation.
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
getFirstTypeArgument(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the first type argument if this is a parameterized type, otherwise it returns Object.class
getHandle() - Method in interface org.glassfish.hk2.api.IterableProvider
Rather than getting the service directly with get (in which case the returned service cannot be disposed of) this method will instead return a service handle for the current best service.
getHandle() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
getImmediateAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns a Immediate Annotation implementation
getImplementation() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the fully qualified class name of the implementation class.
getImplementation() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
 
getImplementation() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
getImplementation() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getImplementation() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
 
getImplementation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getImplementationClass() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
The implementation class that should be used to generate new instances of this descriptor.
getImplementationClass() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
 
getImplementationClass() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
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
 
getIncomingObject() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
Gets the incoming object bound to the thread id
getIncrementalVersion() - Method in class org.glassfish.hk2.maven.Version
 
getInheritableThreadAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns a InheritableThread Annotation implementation
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 interface org.glassfish.hk2.api.ClassAnalyzer
Will return the set of initializer method to be used when initializing this service
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 interface org.glassfish.hk2.api.ErrorInformation
This will contain information about the Injectee that was being injected into when the error occurred.
getInjectee() - Method in exception org.glassfish.hk2.api.UnsatisfiedDependencyException
Returns the injectee that is unsatisfied
getInjectee() - Method in interface org.glassfish.hk2.api.ValidationInformation
On a LOOKUP operation if the lookup is being performed due to an injection point (as opposed to a lookup via the API) then this method will return a non-null Injectee that is the injection point that would be injected into
getInjectee() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
 
getInjectee() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
 
getInjecteeClass() - Method in interface org.glassfish.hk2.api.Injectee
Returns the parent class for this injectee.
getInjecteeClass() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
getInjecteeClass() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
getInjecteeDescriptor() - Method in interface org.glassfish.hk2.api.Injectee
This returns the ActiveDescriptor of the injectee if it is known
getInjecteeDescriptor(Injectee) - Method in interface org.glassfish.hk2.api.ServiceLocator
This method will first find a descriptor for this injectee, and then reify that descriptor.
getInjecteeDescriptor() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
getInjecteeDescriptor(Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getInjecteeDescriptor() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
getInjectees() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
Returns the full list of Injectees this class has.
getInjectees() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getInjectees() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
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, SystemInjecteeImpl) - 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
getInstance() - Static method in class org.glassfish.hk2.api.ServiceLocatorFactory
This will return a factory where the ServiceLocatorGenerator is discovered from the META-INF/services of the process
getInstantiationData() - Method in interface org.glassfish.hk2.api.InstantiationService
This method may be called from inside the implementation of Factory.provide() method to get more information about the reason for instantiation.
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 interface org.glassfish.hk2.api.InstanceLifecycleEvent
A map from the Injectee to the object actually used in the production, if known.
getKnownInjectees() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
 
getLifecycleObject() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
The object that is being described by this event.
getLifecycleObject() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
 
getLoader() - Method in interface org.glassfish.hk2.api.Descriptor
This returns the loader that should be used when classloading this descriptor.
getLoader() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
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 interface org.glassfish.hk2.api.Descriptor
This returns the id of the ServiceLocator which this descriptor is registered with.
getLocatorId() - Method in interface org.glassfish.hk2.api.ServiceLocator
This returns the unique locator ID for this locator.
getLocatorId() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
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
 
getLogger() - Static method in class org.glassfish.hk2.utilities.reflection.Logger
Gets the singleton instance of the Logger
getLookupFilter() - Method in interface org.glassfish.hk2.api.ValidationService
This filter will be run at least once per descriptor at the point that the descriptor is being looked up, either with the ServiceLocator API or due to an @Inject resolution.
getLookupFilter() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
getMajorVersion() - Method in class org.glassfish.hk2.maven.Version
 
getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
 
getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Returns the maximum number of entries that will be stored in this cache
getMaximumCacheSize() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
 
getMessage() - Method in exception org.glassfish.hk2.api.MultiException
Gets the message associated with this exception
getMetadata() - Method in interface org.glassfish.hk2.api.Descriptor
Returns all of the metadata associated that this object should be registered with or looked up by
getMetadata() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getMetadata() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getMetadataValues(Annotation, Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This is a helper method that gets the metadata values from the Metadata annotations found in an annotation.
getMethod() - Method in class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
 
getMethod() - Method in interface org.glassfish.hk2.utilities.reflection.MethodWrapper
Returns the method associated with this wrapper
getMethodInjectees(Method, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
Returns all the injectees for a constructor
getMethodInterceptors(Method) - Method in interface org.glassfish.hk2.api.InterceptionService
Each non-final method of a service that passes the InterceptionService.getDescriptorFilter() method will be passed to this method to determine if it will intercepted
getMethodInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
Gets the method interceptors
getMinorVersion() - Method in class org.glassfish.hk2.maven.Version
 
getName() - Method in interface org.glassfish.hk2.api.Descriptor
The name of this descriptor.
getName() - Method in interface org.glassfish.hk2.api.IndexedFilter
If this returns non-null then this name will be used to limit the set of Descriptors that will be passed to the matches method.
getName() - Method in interface org.glassfish.hk2.api.ServiceLocator
Returns the name of this ServiceLocator
getName() - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
 
getName() - Method in class org.glassfish.hk2.internal.SpecificFilterImpl
 
getName() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getName(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the name that should be associated with this class
getName() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getName() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getNameFromAllQualifiers(Set<Annotation>, AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the name from the &46;Named qualifier in this set of qualifiers
getNeutralContextClassLoader() - Method in interface org.glassfish.hk2.api.ServiceLocator
This returns the value of neutralContextClassLoader.
getNeutralContextClassLoader() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
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
 
getOne(K) - Method in class org.jvnet.hk2.component.MultiMap
Gets the first value if any, or null.
getOneMetadataField(Descriptor, String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Gets one value from a metadata field from the given descriptor
getOneMetadataField(ServiceHandle<?>, String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Gets one value from a metadata field from the given service handle
getOperation() - Method in interface org.glassfish.hk2.api.ValidationInformation
The operation that is to be performed, one of BIND - The candidate descriptor is being added to the system UNBIND - The candidate descriptor is being removed from the system LOOKUP - The candidate descriptor is being looked up
getOperation() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
 
getOriginalRequest() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
getOwnerType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
getParameterTypes() - Method in class org.glassfish.hk2.api.TypeLiteral
Gets the types associated with this literal
getParent() - Method in interface org.glassfish.hk2.api.Injectee
If this Injectee is in a constructor this will return the constructor being injected into.
getParent() - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the parent service locator for this locator
getParent() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
getParent() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getParent() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
getParentInjectee() - Method in interface org.glassfish.hk2.api.InstantiationData
Returns the Injectee of the service that is being instantiated with this Factory.provide() method
getPerLookupAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns a PerLookup Annotation implementation
getPerThreadAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns a PerThread Annotation implementation
getPopulator() - Method in interface org.glassfish.hk2.api.DynamicConfigurationService
Returns a populator for this service locator that can be used to automatically read in hk2 inhabitant files (or some other external source)
getPopulator() - Method in class org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
 
getPosition() - Method in interface org.glassfish.hk2.api.Injectee
If this Injectee is a constructor or method parameter, this will return the index of the parameter.
getPosition() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
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 interface org.glassfish.hk2.api.ClassAnalyzer
Will return the postConstruct method of the class
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 interface org.glassfish.hk2.api.ClassAnalyzer
Will return the preDestroy method of the class
getPreDestroyMethod(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
 
getProxyUtilities() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
 
getQualifier() - Method in class org.glassfish.hk2.maven.Version
 
getQualifierAnnotations() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
The full set of qualifiers that this ActiveDescriptor provides
getQualifierAnnotations() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getQualifierAnnotations() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
getQualifierAnnotations(AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets all the qualifier annotations from the object
getQualifierAnnotations() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getQualifiers() - Method in interface org.glassfish.hk2.api.Descriptor
Returns all of the annotation classes that this object should be registered with or looked up by
getQualifiers() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
getQualifiers() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getQualifiers() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getQualifiersFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets all the qualifiers from the object
getQualifiersFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets all the qualifiers from the object
getRanking() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the ranking of this descriptor.
getRanking() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getRanking() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getRawClass(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Given the type parameter gets the raw type represented by the type, or null if this has no associated raw class
getRawType() - Method in class org.glassfish.hk2.api.TypeLiteral
 
getRawType(Type) - Static method in class org.glassfish.hk2.api.TypeLiteral
Gets the base associated class from this type
getRawType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
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
 
getReportToErrorService() - Method in exception org.glassfish.hk2.api.MultiException
Returns true if this exception should be reported to the error service when thrown during a creation or deletion of a service
getRequiredQualifiers() - Method in interface org.glassfish.hk2.api.Injectee
This is the set of required qualifiers for this injectee.
getRequiredQualifiers() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
getRequiredQualifiers() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
getRequiredType() - Method in interface org.glassfish.hk2.api.Injectee
This is the required type of the injectee.
getRequiredType() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
getRequiredType() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
getRoot() - Method in class org.glassfish.hk2.utilities.ContextualInput
Returns the ServiceHandle root associated with this contextual creation
getScope() - Method in interface org.glassfish.hk2.api.Context
The scope for which this is the context
getScope() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the fully qualified class name of the scope annotation that should be associated with this descriptor.
getScope() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
getScope() - Method in class org.glassfish.hk2.internal.PerThreadContext
 
getScope() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getScope() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
getScope() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
Returns the scope for this data structure
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 interface org.glassfish.hk2.api.ActiveDescriptor
Returns the scope that this ActiveDescriptor belongs to
getScopeAnnotation() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getScopeAnnotation() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
getScopeAnnotation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getScopeAnnotationFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getScopeAnnotationFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
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 interface org.glassfish.hk2.api.ActiveDescriptor
Returns the scope as an Annotation implementation that this ActiveDescriptor belongs to
getScopeAsAnnotation() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getScopeAsAnnotation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getScopeFromClass(Class<?>, Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getScopeFromObject(Object, Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Gets the scope annotation from the object
getService() - Method in interface org.glassfish.hk2.api.ServiceHandle
Gets the underlying service object
getService(Class<T>, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the best service from this locator that implements this contract or has this implementation
getService(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the best service from this locator that implements this contract or has this implementation
getService(Class<T>, String, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the best service from this locator that implements this contract or has this implementation and has the given name
getService(Type, String, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets the best service from this locator that implements this contract or has this implementation and has the given name
getService(ActiveDescriptor<T>, ServiceHandle<?>) - Method in interface org.glassfish.hk2.api.ServiceLocator
getService(ActiveDescriptor<T>, ServiceHandle<?>, Injectee) - Method in interface org.glassfish.hk2.api.ServiceLocator
This method should be called by code resolving injectee's on behalf of some root service, usually by an implementation of InjectionResolver.resolve(Injectee, ServiceHandle).
getService(ServiceLocator, String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns the best service matching the passed in fully qualified class name of the service
getService(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns the service in this service locator given the current descriptor.
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 interface org.glassfish.hk2.api.ServiceHandle
Service data can be set on a service handle.
getServiceData() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
getServiceHandle(Class<T>, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a ServiceHandle that can be used to get and destroy the service that best matches the given criteria
getServiceHandle(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a ServiceHandle that can be used to get and destroy the service that best matches the given criteria
getServiceHandle(Class<T>, String, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a ServiceHandle that can be used to get and destroy the service that best matches the given criteria
getServiceHandle(Type, String, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a ServiceHandle that can be used to get and destroy the service that best matches the given criteria
getServiceHandle(ActiveDescriptor<T>, Injectee) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a ServiceHandle that can be used to get and destroy the service described by the ActiveDescriptor.
getServiceHandle(ActiveDescriptor<T>) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets a ServiceHandle that can be used to get and destroy the service described by the ActiveDescriptor.
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 interface org.glassfish.hk2.api.Descriptor
This returns the unique identifier for this descriptor.
getServiceId() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getSingletonAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns a Singleton Annotation implementation
getSize() - Method in interface org.glassfish.hk2.api.IterableProvider
Returns the size of the iterator that would be returned
getSize() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
getSortedList() - Method in class org.jvnet.hk2.internal.IndexedListData
 
getState() - Method in interface org.glassfish.hk2.api.ServiceLocator
Returns the current state of this service locator.
getState() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getSystemProperty(String, String) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
 
getThreadIdentifier() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
Gets the thread on which this object was created
getThreeThirtyDescriptor(ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
Creates a Three Thirty constant active descriptor
getTopicQualifiers() - Method in interface org.glassfish.hk2.api.messaging.Topic
The qualifiers associated with this Topic.
getTopicQualifiers() - Method in class org.jvnet.hk2.internal.TopicImpl
 
getTopicType() - Method in interface org.glassfish.hk2.api.messaging.Topic
Gets the type of the topic, in order to match the message to subscribers
getTopicType() - Method in class org.jvnet.hk2.internal.TopicImpl
 
getType() - Method in class org.glassfish.hk2.api.TypeLiteral
 
getTypeClosure(Type, Set<String>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns the type closure, as restricted by the classes listed in the set of contracts implemented
getUnqualified() - Method in interface org.glassfish.hk2.api.Injectee
This method returns the Unqualified annotation if it is present on the injection point.
getUnqualified() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
getUnqualified() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
getUserData(String) - Method in interface org.glassfish.hk2.api.HK2Invocation
Gets the user data associated with the given key
getValidator() - Method in interface org.glassfish.hk2.api.ValidationService
Returns the Validator that will be run whenever a Descriptor that passed the filter is to be looked up with the API or injected into an injection point, or on any bind or unbind operation.
getValidator() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
getValue() - Method in interface org.glassfish.hk2.utilities.cache.HybridCacheEntry
Getter for this cache entry internal value.

H

handleCycle(K) - Method in interface org.glassfish.hk2.utilities.cache.Cache.CycleHandler
Handle cycle that was detected while computing a cache value for given key.
handleCycle(K) - Method in interface org.glassfish.hk2.utilities.cache.LRUHybridCache.CycleHandler
Handle cycle that was detected while computing a cache value for given key.
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 interface org.glassfish.hk2.api.IterableProvider
This version of iterator returns an iterator of ServiceHandles rather than returning the services (which then have no way to be properly destroyed)
handleIterator() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
has(String, String) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
has(String, List<String>) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
has(String, String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
has(String, List<String>) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
has(String, String) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
An instance of data to be associated with this descriptor
has(String, List<String>) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
An instance of data to be associated with this descriptor
has(String, String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
An instance of data to be associated with this descriptor
has(String, List<String>) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
An instance of data to be associated with this descriptor
hasErrors() - Method in class org.jvnet.hk2.internal.Collector
Returns true if this collector has errors
hashCode() - Method in class org.glassfish.hk2.api.AnnotationLiteral
 
hashCode() - Method in class org.glassfish.hk2.api.TypeLiteral
 
hashCode() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
hashCode() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
hashCode() - Method in class org.glassfish.hk2.utilities.ContextualInput
 
hashCode() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
hashCode() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
 
hashCode() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
 
hashCode() - Method in class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
 
hashCode() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
hashCode() - Method in class org.jvnet.hk2.component.MultiMap
 
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
 
HK2_DEFAULT_TOPIC_DISTRIBUTOR - Static variable in interface org.glassfish.hk2.api.messaging.TopicDistributionService
The name of the default TopicDistributionService that is added by ServiceLocatorUtilities
HK2Exception - Exception in org.glassfish.hk2.api
Base class for HK2 defined checked exceptions
HK2Exception() - Constructor for exception org.glassfish.hk2.api.HK2Exception
 
HK2Exception(String) - Constructor for exception org.glassfish.hk2.api.HK2Exception
 
HK2Exception(Throwable) - Constructor for exception org.glassfish.hk2.api.HK2Exception
 
HK2Exception(String, Throwable) - Constructor for exception org.glassfish.hk2.api.HK2Exception
 
HK2Invocation - Interface in org.glassfish.hk2.api
This is an interface that is also implemented by the MethodInvocation object passed to the invoke method of MethodInterceptor and the ConstructorInvocation object passed to the invoke method of ConstructorInterceptor.
HK2Loader - Interface in org.glassfish.hk2.api
This class is responsible for loading classes, and different implementations can be used for different descriptors.
HK2LoaderImpl - Class in org.glassfish.hk2.utilities
This is an implementation of an HK2Loader that uses a given classloader
HK2LoaderImpl() - Constructor for class org.glassfish.hk2.utilities.HK2LoaderImpl
Initializes this HK2Loader with the system classloader
HK2LoaderImpl(ClassLoader) - Constructor for class org.glassfish.hk2.utilities.HK2LoaderImpl
Initializes this HK2Loader with the given ClassLoader
HK2RuntimeException - Exception in org.glassfish.hk2.api
Base class for HK2 defined runtime exceptions
HK2RuntimeException() - Constructor for exception org.glassfish.hk2.api.HK2RuntimeException
 
HK2RuntimeException(String) - Constructor for exception org.glassfish.hk2.api.HK2RuntimeException
 
HK2RuntimeException(Throwable) - Constructor for exception org.glassfish.hk2.api.HK2RuntimeException
 
HK2RuntimeException(String, Throwable) - Constructor for exception org.glassfish.hk2.api.HK2RuntimeException
 
HybridCacheEntry<V> - Interface in org.glassfish.hk2.utilities.cache
Represents a single hybrid cache entry.

I

Immediate - Annotation Type in org.glassfish.hk2.api
Immediate is a scope that operates like Singleton scope, except that instances are created as soon as their corresponding Descriptors are added.
ImmediateContext - Class in org.glassfish.hk2.utilities
This is the Context implementation for the Immediate scope
ImmediateContext() - Constructor for class org.glassfish.hk2.utilities.ImmediateContext
 
ImmediateErrorHandler - Interface in org.glassfish.hk2.utilities
Implementations of this service will be called whenever an Immediate scoped service fails
ImmediateHelper - Class in org.glassfish.hk2.internal
The implementation of the immediate context.
ImmediateResults - Class in org.jvnet.hk2.internal
This contains the local portion of the narrowed result
ImmediateScopeModule - Class in org.glassfish.hk2.utilities
This module can be used to enable the Immediate scope feature.
ImmediateScopeModule() - Constructor for class org.glassfish.hk2.utilities.ImmediateScopeModule
 
in(Annotation) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
in(Class<? extends Annotation>) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
in(Class<? extends Annotation>) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
in(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
in(Annotation) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
A scope to be associated with this descriptor object.
in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
A scope to be associated with this descriptor object.
in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Scope a binding.
in(Annotation) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Scope a binding.
in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Scope a binding.
in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
A scope to be associated with this descriptor object.
in(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
A scope to be associated with this descriptor object.
IndexedFilter - Interface in org.glassfish.hk2.api
This filter can be used to limit the set of Descriptors passed to the matches method.
IndexedFilterImpl - Class in org.glassfish.hk2.internal
Implementation created by the builder
IndexedFilterImpl(String, String) - Constructor for class org.glassfish.hk2.internal.IndexedFilterImpl
Created by the builder
IndexedListData - Class in org.jvnet.hk2.internal
This object contains a list of values.
IndexedListData() - Constructor for class org.jvnet.hk2.internal.IndexedListData
 
InhabitantAnnotation - Annotation Type in org.jvnet.hk2.annotations
Meta-annotation indicating that the annotation designates a resident service of a ServiceLocator.
InheritableThread - Annotation Type in org.glassfish.hk2.api
InheritableThread is a scope that operates like PerThread scope, except with the caveat that InheritableThread scoped services provide inheritance of values from parent thread to child thread.
InheritableThreadContext - Class in org.glassfish.hk2.internal
 
InheritableThreadContext() - Constructor for class org.glassfish.hk2.internal.InheritableThreadContext
 
InheritableThreadScopeModule - Class in org.glassfish.hk2.utilities
This module can be used to enable the InheritableThread scope feature.
InheritableThreadScopeModule() - Constructor for class org.glassfish.hk2.utilities.InheritableThreadScopeModule
 
initialize(Set<ServiceLocator>) - Method in interface org.glassfish.hk2.api.ServiceLocatorListener
This method returns the complete list of named service locators at the time that this listener is registered.
inject(Object) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will analyze the given object and inject into its fields and methods.
inject(Object, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will analyze the given object and inject into its fields and methods.
inject(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
inject(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
Injectee - Interface in org.glassfish.hk2.api
An Injectee represents the point of injection.
InjecteeImpl - Class in org.glassfish.hk2.utilities
This is a writeable version of the Injectee interface.
InjecteeImpl() - Constructor for class org.glassfish.hk2.utilities.InjecteeImpl
None of the fields of the returned object will be set
InjecteeImpl(Type) - Constructor for class org.glassfish.hk2.utilities.InjecteeImpl
Only the requiredType field will be set
InjecteeImpl(Injectee) - Constructor for class org.glassfish.hk2.utilities.InjecteeImpl
This is the copy constructor, which will copy all the values from the incoming Injectee
InjectionPointIndicator - Annotation Type in org.glassfish.hk2.api
This annotation is placed on another annotation to indicate that the annotation may be used to indicate an injection point
InjectionResolver<T> - Interface in org.glassfish.hk2.api
This class allows users to provide a custom injection target for any annotation (including @Inject).
install(Binder...) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
Adds all binding definitions from the binders to the binding configuration.
InstanceLifecycleEvent - Interface in org.glassfish.hk2.api
This object contains information about a lifecycle event.
InstanceLifecycleEventImpl - Class in org.jvnet.hk2.internal
 
InstanceLifecycleEventType - Enum in org.glassfish.hk2.api
This describes the type of lifecycle events that can happen in the system
InstanceLifecycleListener - Interface in org.glassfish.hk2.api
This processor is called for certain events in the lifecycle of instances of services.
InstantiationData - Interface in org.glassfish.hk2.api
Contains information about the caller of a Factory.provide() method
InstantiationService - Interface in org.glassfish.hk2.api
This service is used to get information about the creation of a service from an implementation of Factory.
InstantiationServiceImpl - Class in org.jvnet.hk2.internal
 
InstantiationServiceImpl() - Constructor for class org.jvnet.hk2.internal.InstantiationServiceImpl
 
InterceptionService - Interface in org.glassfish.hk2.api
This service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.
invoke(Object, Method, Object[], boolean) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This version of invoke is CCL neutral (it will return with the same CCL as what it went in with)
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
 
invoke(Object, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorInvocationHandler
 
isAbstract(Member) - Static method in class org.jvnet.hk2.internal.Utilities
Returns true if the underlying member is abstract
isActive() - Method in interface org.glassfish.hk2.api.Context
True if this context is active, false otherwise
isActive() - Method in interface org.glassfish.hk2.api.ServiceHandle
This returns true if the underlying service has already been created
isActive() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
isActive() - Method in class org.glassfish.hk2.internal.PerThreadContext
 
isActive() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
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
 
isAnnotationAQualifier(Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns true if the given annotation is a qualifier
isCacheSet() - Method in interface org.glassfish.hk2.api.SingleCache
Returns true if this cache has been set
isCacheSet() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
 
isCacheSet() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
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 interface org.glassfish.hk2.api.InjectionResolver
This method should return true if the annotation that indicates that this is an injection point can appear in the parameter list of a constructor.
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 interface org.glassfish.hk2.api.InjectionResolver
This method should return true if the annotation that indicates that this is an injection point can appear in the parameter list of a method.
isMethodParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
 
isOptional() - Method in interface org.glassfish.hk2.api.Injectee
This method returns true if this injection point is annotated with VOptional.
isOptional() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
isOptional() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
isPrivate(Member) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns true if the underlying member is private
isProxiable() - Method in interface org.glassfish.hk2.api.Descriptor
If this returns true then the system will create a proxy for instances of this descriptor.
isProxiable() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
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 interface org.glassfish.hk2.api.Descriptor
This value determines whether or not this service should be proxied when being injected into other services of the same scope.
isProxyForSameScope() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
isProxyForSameScope() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
isRawTypeSafe(Type, Type) - Static method in class org.glassfish.hk2.utilities.reflection.TypeChecker
Returns true if the given requiredType is safely assignable from the given beanType.
isReified() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
This method returns true if this descriptor has been reified (class loaded).
isReified() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
isReified() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
isReified() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
isSelf() - Method in interface org.glassfish.hk2.api.Injectee
This method returns true if this injection point is annotated with VSelf.
isSelf() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
isSelf() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
 
isStatic(Member) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Returns true if the underlying member is static
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
IterableProvider<T> - Interface in org.glassfish.hk2.api
This object can be injected rather than Provider or ExtendedProvider when it is desired to iterate over more than one returned instance of the type.
IterableProviderImpl<T> - Class in org.jvnet.hk2.internal
 
iterator() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 

J

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 creates the thing, doesn't try to do anything else
JustInTimeInjectionResolver - Interface in org.glassfish.hk2.api
The JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.
justInTimeResolution(Injectee) - Method in interface org.glassfish.hk2.api.JustInTimeInjectionResolver
This method will be called whenever an injection point cannot be resolved.
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

K

keySet() - Method in class org.jvnet.hk2.component.MultiMap
Returns the set of keys associated with this MultiMap

L

lifecycleEvent(InstanceLifecycleEvent) - Method in interface org.glassfish.hk2.api.InstanceLifecycleListener
This method will be called when any lifecycle event occurs.
link(String, boolean) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This method links an implementation class with a DescriptorBuilder, to be used to further build the Descriptor.
link(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This method links an implementation class with a DescriptorBuilder, to be used to further build the Descriptor.
link(Class<?>, boolean) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This method links an implementation class with a DescriptorBuilder, to be used to further build the Descriptor
link(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This method links an implementation class with a DescriptorBuilder, to be used to further build the Descriptor.
listenerAdded(ServiceLocator) - Method in interface org.glassfish.hk2.api.ServiceLocatorListener
This method is called whenever a named ServiceLocator has been added to the set of ServiceLocators
listenerDestroyed(ServiceLocator) - Method in interface org.glassfish.hk2.api.ServiceLocatorListener
This method is called whenever a named ServiceLocator will be removed from the set of ServiceLocators
loadClass(String) - Method in interface org.glassfish.hk2.api.HK2Loader
Loads a class given the class name to instantiate
loadClass(ClassLoader, String) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
Loads the class from the given classloader or returns null (does not throw)
loadClass(String) - Method in class org.glassfish.hk2.utilities.HK2LoaderImpl
 
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.
loadedBy(HK2Loader) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Custom HK2 loader to be used when service class is about to be loaded.
loadedBy(HK2Loader) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Custom HK2 loader to be used when service class is about to be loaded.
loadedBy(HK2Loader) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Custom HK2 loader to be used when service class is about to be loaded.
loadedBy(HK2Loader) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Custom HK2 loader to be used when service class is about to be loaded.
localOnly() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
localOnly() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
localOnly() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
This will cause the descriptorVisibility field of the returned descriptor to return LOCAL
localOnly() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
This will cause the descriptorVisibility field of the returned descriptor to return LOCAL
Logger - Class in org.glassfish.hk2.utilities.reflection
A logger for HK2.
LRUCache<K,V> - Class in org.glassfish.hk2.utilities.cache
A cache that contains a certain number of entries, and whose oldest accessed entries are removed when removal is necessary.
LRUCache() - Constructor for class org.glassfish.hk2.utilities.cache.LRUCache
 
LRUCacheCheapRead<K,V> - Class in org.glassfish.hk2.utilities.cache.internal
LRU Cache implementation that relies on entries that keep last hit (get/put) timestamp in order to be able to remove least recently accessed items when running out of cache capacity.
LRUCacheCheapRead(int) - Constructor for class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
Create new cache with given maximum capacity.
LRUHybridCache<K,V> - Class in org.glassfish.hk2.utilities.cache
Hybrid cache that allows explicit removals of included entries as well as implicit removal of entries that have been least recently accessed.
LRUHybridCache(int, Computable<K, HybridCacheEntry<V>>) - Constructor for class org.glassfish.hk2.utilities.cache.LRUHybridCache
Create new cache with given computable to compute values.
LRUHybridCache(int, Computable<K, HybridCacheEntry<V>>, LRUHybridCache.CycleHandler<K>) - Constructor for class org.glassfish.hk2.utilities.cache.LRUHybridCache
Create new cache with given computable and cycleHandler.
LRUHybridCache.CycleHandler<K> - Interface in org.glassfish.hk2.utilities.cache
Should a cycle be detected during computation of a value for given key, this interface allows client code to register a callback that would get invoked in such a case.

M

makeMe(Constructor<?>, Object[], boolean) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This version of invoke is CCL neutral (it will return with the same CCL as what it went in with)
makeMe(Constructor<?>, Object[], boolean) - Method in interface org.jvnet.hk2.internal.ConstructorAction
Creates the raw object
matches(Descriptor) - Method in interface org.glassfish.hk2.api.Filter
Returns true if this filter matches the given object
matches(Descriptor) - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
 
matches(Descriptor) - Method in class org.glassfish.hk2.internal.SpecificFilterImpl
 
matches(Descriptor) - Method in class org.glassfish.hk2.internal.StarFilter
 
matches(K) - Method in interface org.glassfish.hk2.utilities.cache.CacheKeyFilter
Returns true if the key matches the filter
matches(Descriptor) - Method in class org.glassfish.hk2.utilities.OrFilter
 
matchesRemovalName(String) - Method in class org.jvnet.hk2.internal.CacheKey
Used when bulk removing a contract that has been removed from the system
mergeAll(MultiMap<K, V>) - Method in class org.jvnet.hk2.component.MultiMap
This method merges all of the keys and values from another MultiMap into this MultiMap.
MessageReceiver - Annotation Type in org.glassfish.hk2.api.messaging
This qualifier must be placed on any hk2 descriptor that can receive messages.
Metadata - Annotation Type in org.glassfish.hk2.api
This annotation marks a method of an annotation as providing a value that should be placed into the metadata of a Descriptor.
method(Method) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Makes a nice pretty string of the method, with the method name and all parameters
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
 
MethodWrapper - Interface in org.glassfish.hk2.utilities.reflection
Wraps a java.lang.reflect.Method but has an equals and hashCode that honors the class hierarchy
MethodWrapperImpl - Class in org.glassfish.hk2.utilities.reflection.internal
Wrapper of methods with an equals and hashCode that makes methods hiding other methods be equal
MethodWrapperImpl(Method) - Constructor for class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
 
MultiException - Exception in org.glassfish.hk2.api
This exception can contain multiple other exceptions.
MultiException() - Constructor for exception org.glassfish.hk2.api.MultiException
Creates an empty MultiException
MultiException(List<Throwable>) - Constructor for exception org.glassfish.hk2.api.MultiException
This list must have at least one element in it.
MultiException(Throwable, boolean) - Constructor for exception org.glassfish.hk2.api.MultiException
This allows for construction of a MultiException with one element in its list
MultiException(Throwable) - Constructor for exception org.glassfish.hk2.api.MultiException
This allows for construction of a MultiException with one element in its list
MultiMap<K,V> - Class in org.jvnet.hk2.component
Map from a key to multiple values.
MultiMap() - Constructor for class org.jvnet.hk2.component.MultiMap
Creates an empty multi-map with default concurrency controls
MultiMap(MultiMap<K, V>) - Constructor for class org.jvnet.hk2.component.MultiMap
Copy constructor.

N

NAME_KEY - Static variable in class org.glassfish.hk2.utilities.BuilderHelper
The key for the name field of the tokenized string
named(String) - Method in interface org.glassfish.hk2.api.IterableProvider
Returns an IterableProvider that is further qualified with the given name
named(String) - Method in interface org.glassfish.hk2.api.messaging.Topic
Returns an Topic that is further qualified with the given name
named(String) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
named(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
named(String) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
The name for this descriptor object.
named(String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Name the binding.
named(String) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Name the binding.
named(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
The name for this descriptor object.
named(String) - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
named(String) - Method in class org.jvnet.hk2.internal.TopicImpl
 
NamedBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
Named service binding builder.
NamedImpl - Class in org.glassfish.hk2.utilities
This is an implementation of the Named annotation.
NamedImpl(String) - Constructor for class org.glassfish.hk2.utilities.NamedImpl
Creates a Named annotation with the given name
NarrowResults - Class in org.jvnet.hk2.internal
 
NarrowResults() - Constructor for class org.jvnet.hk2.internal.NarrowResults
 
newBinder(Class<T>) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Get a new class-based service binding builder.
newBinder(T) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Get a new instance-based service binding builder.
newFactoryBinder(Class<? extends Factory<T>>, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Get a new factory class-based service binding builder.
newFactoryBinder(Class<? extends Factory<T>>) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Get a new factory class-based service binding builder.
newFactoryBinder(Factory<T>) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
Get a new factory instance-based service binding builder.

O

ofRank(int) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
ofRank(int) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
ofRank(int) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
The rank to be associated with this descriptor.
ofRank(int) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
The rank to be associated with this descriptor.
ofType(Type) - Method in interface org.glassfish.hk2.api.IterableProvider
Returns an IterableProvider that is of the given type.
ofType(Type) - Method in interface org.glassfish.hk2.api.messaging.Topic
Returns an Topic that is of the given type.
ofType(Type) - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
ofType(Type) - Method in class org.jvnet.hk2.internal.TopicImpl
 
onFailure(ErrorInformation) - Method in interface org.glassfish.hk2.api.ErrorService
This method is called when a failure occurs in the system.
onFailure(ErrorInformation) - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
onFailure(ErrorInformation) - Method in class org.glassfish.hk2.utilities.RethrowErrorService
 
Operation - Enum in org.glassfish.hk2.api
This defines the operations that may be validated
Optional - Annotation Type in org.jvnet.hk2.annotations
Marker annotation indicating that an instance variable or method marked with Inject is not required to be present at run-time.
OrFilter - Class in org.glassfish.hk2.utilities
Creates a filter that matches if at least one of the sub-filters is a match.
OrFilter(Filter...) - Constructor for class org.glassfish.hk2.utilities.OrFilter
Creates an OrFilter whose matches methods returns true if at least one of the filters given returns true.
org.glassfish.hk2.api - package org.glassfish.hk2.api
 
org.glassfish.hk2.api.messaging - package org.glassfish.hk2.api.messaging
 
org.glassfish.hk2.extension - package org.glassfish.hk2.extension
 
org.glassfish.hk2.internal - package org.glassfish.hk2.internal
 
org.glassfish.hk2.maven - package org.glassfish.hk2.maven
 
org.glassfish.hk2.utilities - package org.glassfish.hk2.utilities
 
org.glassfish.hk2.utilities.binding - package org.glassfish.hk2.utilities.binding
 
org.glassfish.hk2.utilities.cache - package org.glassfish.hk2.utilities.cache
 
org.glassfish.hk2.utilities.cache.internal - package org.glassfish.hk2.utilities.cache.internal
 
org.glassfish.hk2.utilities.general - package org.glassfish.hk2.utilities.general
 
org.glassfish.hk2.utilities.reflection - package org.glassfish.hk2.utilities.reflection
 
org.glassfish.hk2.utilities.reflection.internal - package org.glassfish.hk2.utilities.reflection.internal
 
org.jvnet.hk2.annotations - package org.jvnet.hk2.annotations
HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.
org.jvnet.hk2.component - package org.jvnet.hk2.component
 
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
 
OsgiVersionMojo - Class in com.sun.enterprise.module.maven
Converts the project version into the OSGi format and set that to "project.osgi.version" property.
OsgiVersionMojo() - Constructor for class com.sun.enterprise.module.maven.OsgiVersionMojo
 

P

ParameterizedTypeImpl - Class in org.glassfish.hk2.utilities.reflection
 
ParameterizedTypeImpl(Type, Type...) - Constructor for class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
A new parameterized type
parseServiceMetadataString(String, Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
This method parses the string that is found in the VService metadata field.
PerLocatorUtilities - Class in org.jvnet.hk2.internal
These utilities are per service locator.
PerLocatorUtilities() - Constructor for class org.jvnet.hk2.internal.PerLocatorUtilities
 
PerLookup - Annotation Type in org.glassfish.hk2.api
PerLookup is the scope for objects that are created every time they are looked up.
PerLookupContext - Class in org.jvnet.hk2.internal
 
PerLookupContext() - Constructor for class org.jvnet.hk2.internal.PerLookupContext
 
PerThread - Annotation Type in org.glassfish.hk2.api
PerThread is a scope that operates like Singleton scope, except on a per-thread basis.
PerThreadContext - Class in org.glassfish.hk2.internal
 
PerThreadContext() - Constructor for class org.glassfish.hk2.internal.PerThreadContext
 
PerThreadScopeModule - Class in org.glassfish.hk2.utilities
This module can be used to enable the PerThread scope feature.
PerThreadScopeModule() - Constructor for class org.glassfish.hk2.utilities.PerThreadScopeModule
 
popInjecteeParent() - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
 
populate(DescriptorFileFinder, PopulatorPostProcessor...) - Method in interface org.glassfish.hk2.api.Populator
This method can be used to populate the service locator with files that have been written out using the DescriptorImpl writeObject method.
populate() - Method in interface org.glassfish.hk2.api.Populator
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.
populate(DescriptorFileFinder, PopulatorPostProcessor...) - Method in class org.jvnet.hk2.internal.PopulatorImpl
 
populate() - Method in class org.jvnet.hk2.internal.PopulatorImpl
 
Populator - Interface in org.glassfish.hk2.api
Implementations of this interface are used to populate HK2 service locators from inhabitants files
PopulatorImpl - Class in org.jvnet.hk2.internal
Implementation of the Populator for DynamicConfigurationService
PopulatorPostProcessor - Interface in org.glassfish.hk2.api
This interface allows the customization of services read in from an external source.
PostConstruct - Interface in org.glassfish.hk2.api
Classes implementing this interface register an interest in being notified when the instance has been created and the component is about to be place into commission.
postConstruct() - Method in interface org.glassfish.hk2.api.PostConstruct
The component has been injected with any dependency and will be placed into commission by the subsystem.
postConstruct(Object) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will analyze the given object and call the postConstruct method.
postConstruct(Object, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will analyze the given object and call the postConstruct method.
postConstruct(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
postConstruct(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
postConstructFailed(ActiveDescriptor<?>, Throwable) - Method in interface org.glassfish.hk2.utilities.ImmediateErrorHandler
This is called whenever an immediate service fails in its constructor or postConstruct method.
PreDestroy - Interface in org.glassfish.hk2.api
Components implementing this interface registers an interest in being notified when they are about to be decommissioned.
preDestroy() - Method in interface org.glassfish.hk2.api.PreDestroy
The component is about to be removed from the registry.
preDestroy(Object) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will analyze the given object and call the preDestroy method.
preDestroy(Object, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will analyze the given object and call the preDestroy method.
preDestroy(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
preDestroy(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
preDestroyFailed(ActiveDescriptor<?>, Throwable) - Method in interface org.glassfish.hk2.utilities.ImmediateErrorHandler
This is called whenever an immediate service fails in its preDestroy method.
pretty(StringBuffer, Descriptor) - Static method in class org.glassfish.hk2.utilities.DescriptorImpl
Will pretty print a descriptor
Pretty - Class in org.glassfish.hk2.utilities.reflection
 
Pretty() - Constructor for class org.glassfish.hk2.utilities.reflection.Pretty
 
PRIMITIVE_MAP - Static variable in class org.glassfish.hk2.utilities.reflection.Constants
Map from primitive type to java type
printStackTrace(PrintStream) - Method in exception org.glassfish.hk2.api.MultiException
Prints the stack trace of this exception to the given PrintStream
printStackTrace(PrintWriter) - Method in exception org.glassfish.hk2.api.MultiException
Prints the stack trace of this exception to the given PrintWriter
printThrowable(Throwable) - Static method in class org.glassfish.hk2.utilities.reflection.Logger
Prints a throwable to stdout
process(ServiceLocator, DescriptorImpl) - Method in interface org.glassfish.hk2.api.PopulatorPostProcessor
This method can be used to alter the descriptor read in.
process(ServiceLocator, DescriptorImpl) - Method in class org.glassfish.hk2.utilities.ClassLoaderPostProcessor
 
process(ServiceLocator, DescriptorImpl) - Method in class org.glassfish.hk2.utilities.DuplicatePostProcessor
 
project - Variable in class com.sun.enterprise.module.maven.OsgiVersionMojo
The maven project.
provide() - Method in interface org.glassfish.hk2.api.Factory
This method will create instances of the type of this factory.
Proxiable - Annotation Type in org.glassfish.hk2.api
Scope annotations that are also marked with this annotation are proxiable.
proxiesAvailable() - Static method in class org.jvnet.hk2.internal.Utilities
Returns true if the system can create proxies, false otherwise
proxy() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
proxy(boolean) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
proxy() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
proxy(boolean) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
proxy() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
This will cause the isProxiable field of the returned descriptor to return true (it will force this descriptor to use proxies).
proxy(boolean) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
This will cause the isProxiable field of the returned descriptor to return the given value.
proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Set proxy flag on the binding.
proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Set proxy flag on the binding.
proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Set proxy flag on the binding.
proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Set proxy flag on the binding.
proxy() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
This will cause the isProxiable field of the returned descriptor to return true (it will force this descriptor to use proxies).
proxy(boolean) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
This will cause the isProxiable field of the returned descriptor to return the given value.
ProxyCtl - Interface in org.glassfish.hk2.api
Every proxy generated by HK2 will implement this interface, which can be used to have finer control on the behavior of the proxy
ProxyForSameScope - Annotation Type in org.glassfish.hk2.api
This annotation is used when automatically analyzing a class or a {link Factory.provide() method to indicate that the descriptor either should or should use a proxy when being injected into a service from the same scope.
proxyForSameScope() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
proxyForSameScope(boolean) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
proxyForSameScope() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
proxyForSameScope(boolean) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
proxyForSameScope() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
This will cause the isProxyForSameScope field of the returned descriptor to return true (it will force this descriptor to use proxies even when injecting into the same scope).
proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
This will cause the isProxyForSameScope field of the returned descriptor to return the given value.
proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Set proxyForSameScope flag on the binding
proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Set proxyForSameScope flag on the binding
proxyForSameScope() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
This will cause the isProxyForSameScope field of the returned descriptor to return true (it will force this descriptor to proxy even when injecting into the same scope).
proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
This will cause the isProxyForSameScope field of the returned descriptor to return the given value.
ProxyUtilities - Class in org.jvnet.hk2.internal
Utilities around proxying
ProxyUtilities() - Constructor for class org.jvnet.hk2.internal.ProxyUtilities
 
pType(ParameterizedType) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Prints a pretty parameterized type
publish(T) - Method in interface org.glassfish.hk2.api.messaging.Topic
Publishes a message to all subscribers
publish(T) - Method in class org.jvnet.hk2.internal.TopicImpl
 
pushInjecteeParent(Injectee) - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
 
put(K, V) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
 
put(K, V) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Adds the given key and value pair into the cache

Q

qualifiedBy(Annotation) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
qualifiedBy(Annotation) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
qualifiedBy(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
qualifiedBy(Annotation) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
A qualifier to be associated with this descriptor object
qualifiedBy(Annotation) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Add a binging qualifier annotation.
qualifiedBy(Annotation) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Add a binging qualifier annotation.
qualifiedBy(Annotation) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Add a binging qualifier annotation.
qualifiedBy(Annotation) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Add a binging qualifier annotation.
qualifiedBy(Annotation) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
A qualifier to be associated with this descriptor object
qualifiedBy(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
A qualifier to be associated with this descriptor object
qualifiedWith(Annotation...) - Method in interface org.glassfish.hk2.api.IterableProvider
A set of qualifiers to further restrict this iterator to.
qualifiedWith(Annotation...) - Method in interface org.glassfish.hk2.api.messaging.Topic
A set of qualifiers to further restrict this Topic to.
qualifiedWith(Annotation...) - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
qualifiedWith(Annotation...) - Method in class org.jvnet.hk2.internal.TopicImpl
 
QUALIFIER_KEY - Static variable in class org.glassfish.hk2.utilities.BuilderHelper
The key for the qualifier field of the tokenized string

R

Rank - Annotation Type in org.glassfish.hk2.api
This annotation is used to provide the initial rank of a service marked with Service.
ranked(int) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Rank the binding.
ranked(int) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Rank the binding.
ranked(int) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Rank the binding.
ranked(int) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Rank the binding.
readExternal(ObjectInput) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
readMetadataMap(String, Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well
readObject(BufferedReader) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
This can be used to read in instances of this object that were previously written out with writeObject.
readSet(String, Collection<String>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well.
ReflectionHelper - Class in org.glassfish.hk2.utilities.reflection
 
ReflectionHelper() - Constructor for class org.glassfish.hk2.utilities.reflection.ReflectionHelper
 
reifyDescriptor(Descriptor, Injectee) - Method in interface org.glassfish.hk2.api.ServiceLocator
Converts a descriptor to an ActiveDescriptor.
reifyDescriptor(Descriptor) - Method in interface org.glassfish.hk2.api.ServiceLocator
Converts a descriptor to an ActiveDescriptor.
reifyDescriptor(Descriptor, Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
reifyDescriptor(Descriptor) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
releaseCache() - Method in interface org.glassfish.hk2.api.SingleCache
Removes the cached value and makes it such that this cache has not been set
releaseCache() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
releaseCache() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
 
releaseCache() - Method in class org.glassfish.hk2.utilities.cache.LRUCache
Clears all entries in the cache, for use when a known event makes the cache incorrect
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
 
releaseMatching(CacheKeyFilter<K>) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
 
releaseMatching(CacheKeyFilter<K>) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
This method will remove all cache entries for which this filter matches
releaseMatching(CacheKeyFilter<K>) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
This method will remove all cache entries for which this filter matches
remove(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
Remove item from the cache.
remove(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Remove given item from the cache.
remove(K) - Method in class org.jvnet.hk2.component.MultiMap
Removes an key value from the map
remove(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Removes an key value pair from the map.
removeAdvertisedContract(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Removes an advertised contract from the set of contracts advertised by this descriptor
removeAllMetadata(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Removes all the metadata values associated with key
removeAllMetadata(Map<String, List<String>>, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Removes all the metadata values associated with key
removeContractType(Type) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Removes an advertised contract from the set of contracts advertised by this descriptor
removeDescriptor(SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.IndexedListData
 
removeFilter(ServiceLocator, Filter) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Removes all the descriptors from the given locator that match the given filter
removeFilter(ServiceLocator, Filter, boolean) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Removes all the descriptors from the given locator that match the given filter
removeFromCache() - Method in interface org.glassfish.hk2.utilities.cache.CacheEntry
Call this method on this entry to remove it from the LRUCache.
removeListener(ServiceLocatorListener) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
Removes a service listener from the set of listeners that are notified when named listeners are added or removed from the system
removeListener(ServiceLocatorListener) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
 
removeMetadata(String, String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Removes the given value from the given key
removeMetadata(Map<String, List<String>>, String, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Removes the given value from the given key
removeOneDescriptor(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will attempt to remove descriptors matching the passed in descriptor from the given locator.
removeOneDescriptor(ServiceLocator, Descriptor, boolean) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
This method will attempt to remove descriptors matching the passed in descriptor from the given locator.
removeQualifier(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Removes the given qualifier from the list of qualifiers
removeQualifierAnnotation(Annotation) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Removes the given qualifier from the list of qualifiers
resolve(Injectee, ServiceHandle<?>) - Method in interface org.glassfish.hk2.api.InjectionResolver
This method will return the object that should be injected into the given injection point.
resolve(Injectee, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
 
RESOURCE_BASE - Static variable in interface org.glassfish.hk2.api.DescriptorFileFinder
The name of the default location for hk2 inhabitant files
RethrowErrorService - Class in org.glassfish.hk2.utilities
This is an implementation of ErrorService that simply rethrows the exception caught.
RethrowErrorService() - Constructor for class org.glassfish.hk2.utilities.RethrowErrorService
 
run() - Method in class org.glassfish.hk2.internal.ImmediateHelper
This thread will wait twenty seconds for new work to come in, and then kill itself

S

safeEquals(Object, Object) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
Returns true if a is equals to b, or both and and b are null.
ScopedBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
Scoped service binding builder.
ScopedNamedBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
Scoped and named service binding builder.
ScopeInfo - Class in org.glassfish.hk2.utilities.reflection
Data structure concerning scope annotations
ScopeInfo(Annotation, Class<? extends Annotation>) - Constructor for class org.glassfish.hk2.utilities.reflection.ScopeInfo
Constructor of the data structure concerning the scope annotation
Self - Annotation Type in org.glassfish.hk2.api
This annotation is placed on an injection point that is to be injected with the ActiveDescriptor that was used to create the instance.
Service - Annotation Type in org.jvnet.hk2.annotations
Annotation placed on classes that are to be automatically added to an hk2 ServiceLocator.
ServiceBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
Service binding builder.
ServiceHandle<T> - Interface in org.glassfish.hk2.api
This service handle can be used to get a specific instance of a service, and can be used to destroy that service as well
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.
ServiceLocator - Interface in org.glassfish.hk2.api
ServiceLocator is the registry for HK2 services
ServiceLocatorFactory - Class in org.glassfish.hk2.api
This factory can be used to create new named ServiceLocators
ServiceLocatorFactory() - Constructor for class org.glassfish.hk2.api.ServiceLocatorFactory
 
ServiceLocatorFactory.CreatePolicy - Enum in org.glassfish.hk2.api
Tells the create method what to do if an existing ServiceLocator with the given name exists
ServiceLocatorFactoryImpl - Class in org.glassfish.hk2.internal
The implementation of the ServiceLocatorFactory that looks in the OSGi service registry or the META-INF/services for the implementation to use.
ServiceLocatorFactoryImpl() - Constructor for class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
This will create a new set of name to locator mappings
ServiceLocatorGenerator - Interface in org.glassfish.hk2.extension
An implementation of this class can be placed in META-INF/services in order to customize the creation of the ServiceLocator
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
ServiceLocatorListener - Interface in org.glassfish.hk2.api
This is added to ServiceLocatorFactory in order to listen on service locators coming and going.
ServiceLocatorRuntimeBean - Interface in org.jvnet.hk2.external.runtime
Runtime information about the ServiceLocator.
ServiceLocatorRuntimeImpl - Class in org.jvnet.hk2.internal
 
ServiceLocatorState - Enum in org.glassfish.hk2.api
The possible states in which a service locator can be in.
ServiceLocatorUtilities - Class in org.glassfish.hk2.utilities
This is a set of useful utilities for working with ServiceLocator.
ServiceLocatorUtilities() - Constructor for class org.glassfish.hk2.utilities.ServiceLocatorUtilities
 
set(K, Collection<? extends V>) - Method in class org.jvnet.hk2.component.MultiMap
Replaces all the existing values associated with the key by the given value.
set(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Replaces all the existing values associated with the key by the given single value.
setCache(T) - Method in interface org.glassfish.hk2.api.SingleCache
Sets the value into the cache
setCache(T) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
setCache(T) - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
setClassAnalysisName(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the name of the service that will be used to analyze this class
setDefaultClassAnalyzerName(String) - Method in interface org.glassfish.hk2.api.ServiceLocator
Sets the name of the default class analyzer that should be used for all Descriptors that return null as their class analyzer.
setDefaultClassAnalyzerName(String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
setDefaultUnqualified(Unqualified) - Method in interface org.glassfish.hk2.api.ServiceLocator
This sets the default Unqualified annotation that will be put on all injection points that do not have any qualifiers.
setDefaultUnqualified(Unqualified) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
setDescriptorType(DescriptorType) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the descriptor type
setDescriptorVisibility(DescriptorVisibility) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the descriptor visilibity
setFactoryId(Long, Long) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Sets the locator and serviceId for the factory.
setField(Field, Object, Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Sets the given field to the given value
setImplementation(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the implementation
setInjecteeDescriptor(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets the descriptor to be associated with this injectee
setLoader(HK2Loader) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the loader to use with this descriptor
setLocatorId(Long) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the locator id for this descriptor
setMetadata(Map<String, List<String>>) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the metadata of this DescriptorImpl to exactly the set of metadata in the incoming map.
setName(String) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Sets the name of this descriptor.
setName(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the name this descriptor should have
setNeutralContextClassLoader(boolean) - Method in interface org.glassfish.hk2.api.ServiceLocator
This sets the value of neutralContextClassLoader.
setNeutralContextClassLoader(boolean) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
setOptional(boolean) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets whether or not this Injectee should be considered optional
setParent(AnnotatedElement) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
This setter sets both the parent and the injecteeClass fields.
setPosition(int) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets the position of this Injectee.
setProxiable(Boolean) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets whether or not this descriptor should be proxied
setProxyForSameScope(Boolean) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets whether or not to proxy this descriptor for other services in the same scope
setRanking(int) - Method in interface org.glassfish.hk2.api.Descriptor
Returns the ranking of this descriptor.
setRanking(int) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
setRanking(int) - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
setReified(boolean) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
This method is called to change the state of the reification of this descriptor
setReportToErrorService(boolean) - Method in exception org.glassfish.hk2.api.MultiException
Sets if this exception should be reported to the error service when thrown during a creation or deletion of a service
setRequiredQualifiers(Set<Annotation>) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets the required qualifiers for this Injectee
setRequiredType(Type) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets the required type of this Injectee
setScope(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the scope this descriptor should have
setScopeAnnotation(Class<? extends Annotation>) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Sets the scope annotation for this descriptor
setScopeAsAnnotation(Annotation) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
Sets the scope as an Annotation implementation.
setSelf(boolean) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets whether or not this is a self-referencing injectee
setServiceData(Object) - Method in interface org.glassfish.hk2.api.ServiceHandle
Service data can be set on a service handle.
setServiceData(Object) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
setServiceId(Long) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the service id for this descriptor
setUnqualified(Unqualified) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets the unqualified annotation to be associated with this injectee
setUserData(String, Object) - Method in interface org.glassfish.hk2.api.HK2Invocation
Sets the user data to be associated with the invocation frame.
shutdown() - Method in interface org.glassfish.hk2.api.Context
Shut down this context.
shutdown() - Method in interface org.glassfish.hk2.api.ServiceLocator
This method will shutdown every service associated with this ServiceLocator.
shutdown() - Method in class org.glassfish.hk2.internal.ImmediateHelper
For when the server shuts down
shutdown() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
shutdown() - Method in class org.glassfish.hk2.internal.PerThreadContext
 
shutdown() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
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
 
SingleCache<T> - Interface in org.glassfish.hk2.api
This cache can be used in some circumstances when there can be only one of a service.
SingletonContext - Class in org.jvnet.hk2.internal
 
size() - Method in class org.glassfish.hk2.utilities.cache.Cache
Returns the size of the cache
size() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Return the size of the cache
size() - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
Returns an approximation of the current size of the cache
size() - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
size() - Method in class org.jvnet.hk2.component.MultiMap
Returns the size of the map.
size() - Method in class org.jvnet.hk2.internal.IndexedListData
 
SpecificFilterImpl - Class in org.glassfish.hk2.internal
This is a filter that matches an exact descriptor
SpecificFilterImpl(String, String, long, long) - Constructor for class org.glassfish.hk2.internal.SpecificFilterImpl
For matching an exact descriptor
STANDARD_PATTERN - Static variable in class org.glassfish.hk2.maven.Version
 
StarFilter - Class in org.glassfish.hk2.internal
A filter that gets everything! w00t w00t!
StarFilter() - Constructor for class org.glassfish.hk2.internal.StarFilter
 
SubscribeTo - Annotation Type in org.glassfish.hk2.api.messaging
This annotation is put onto one parameter of a method to indicate that this method should be called whenever a Topic sends a message.
supportsNullCreation() - Method in interface org.glassfish.hk2.api.Context
Returns true if the findOrCreate method can return null
supportsNullCreation() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
supportsNullCreation() - Method in class org.glassfish.hk2.internal.PerThreadContext
 
supportsNullCreation() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
supportsNullCreation() - Method in class org.jvnet.hk2.internal.PerLookupContext
 
supportsNullCreation() - Method in class org.jvnet.hk2.internal.SingletonContext
 
SYSTEM_LOADER_NAME - Static variable in class org.glassfish.hk2.utilities.reflection.Constants
The name of the system class loader
SYSTEM_RESOLVER_NAME - Static variable in interface org.glassfish.hk2.api.InjectionResolver
This is the name of the system provided resolver for 330 injections
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

ThreadSpecificObject<T> - Class in org.glassfish.hk2.utilities.general
This ties the given object with the thread upon which this object is created This class can be used as the key in a hashSet if the incoming object can be used as the key in a hashSet
ThreadSpecificObject(T) - Constructor for class org.glassfish.hk2.utilities.general.ThreadSpecificObject
 
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
to(Type) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
to(Class<?>) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
to(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
to(Type) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
A contract to be associated with this descriptor object.
to(Class<? super T>) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Bind a new contract to a service.
to(TypeLiteral<?>) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Bind a new contract to a service.
to(Class<? super T>) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Bind a new contract to a service.
to(TypeLiteral<?>) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Bind a new contract to a service.
to(Class<? super T>) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Bind a new contract to a service.
to(TypeLiteral<?>) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Bind a new contract to a service.
to(Class<? super T>) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Bind a new contract to a service.
to(TypeLiteral<?>) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Bind a new contract to a service.
to(Type) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Bind a new contract to a service.
to(Class<?>) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
A contract to be associated with this descriptor object.
to(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
A contract to be associated with this descriptor object.
toCommaSeparatedString() - Method in class org.jvnet.hk2.component.MultiMap
 
TOKEN_SEPARATOR - Static variable in class org.glassfish.hk2.utilities.BuilderHelper
The token separator
Topic<T> - Interface in org.glassfish.hk2.api.messaging
This service is used for publishing events to subscribers.
TopicDistributionService - Interface in org.glassfish.hk2.api.messaging
This service is responsible for distributing messages to Topic subscribers
TopicImpl<T> - Class in org.jvnet.hk2.internal
 
toString() - Method in exception org.glassfish.hk2.api.MultiException
 
toString() - Method in class org.glassfish.hk2.api.TypeLiteral
 
toString() - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
 
toString() - Method in class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
 
toString() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
toString() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
 
toString() - Method in class org.glassfish.hk2.utilities.HK2LoaderImpl
 
toString() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
 
toString() - Method in class org.glassfish.hk2.utilities.NamedImpl
 
toString() - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
 
toString() - Method in class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
 
toString() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
toString() - Method in class org.glassfish.hk2.utilities.UnqualifiedImpl
 
toString() - Method in class org.jvnet.hk2.component.MultiMap
 
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.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.ValidationInformationImpl
 
translatePrimitiveType(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Converts the type to its java form, or returns the original
translatePrimitiveType(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
Converts the type to its java form, or returns the original
type(Type) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Returns a pretty string for the given type
TypeChecker - Class in org.glassfish.hk2.utilities.reflection
This class contains various utilities for ensuring java type safety
TypeChecker() - Constructor for class org.glassfish.hk2.utilities.reflection.TypeChecker
 
TypeLiteral<T> - Class in org.glassfish.hk2.api
Supports inline instantiation of objects that represent parameterized types with actual type parameters.
TypeLiteral() - Constructor for class org.glassfish.hk2.api.TypeLiteral
 

U

UNDERLYING_METHOD_NAME - Static variable in interface org.glassfish.hk2.api.AOPProxyCtl
The name of the method of this interface
Unproxiable - Annotation Type in org.glassfish.hk2.api
This annotation must go on a scope annotation in order to indicate that no services from this scope may be proxied.
Unqualified - Annotation Type in org.glassfish.hk2.api
An injection point can be annotated with @Unqualified if it should only be injected with services that have no qualifiers at all
UnqualifiedImpl - Class in org.glassfish.hk2.utilities
This is an implementation of Unqualified.
UnqualifiedImpl(Class<? extends Annotation>...) - Constructor for class org.glassfish.hk2.utilities.UnqualifiedImpl
Makes a copy of the annotation classes values and initializes this Unqualified annotation with those values
UnsatisfiedDependencyException - Exception in org.glassfish.hk2.api
This exception will be found in a MultiException when a class has a dependency that should be satisfied but cannot be.
UnsatisfiedDependencyException() - Constructor for exception org.glassfish.hk2.api.UnsatisfiedDependencyException
Use this if the injectee is unknown
UnsatisfiedDependencyException(Injectee) - Constructor for exception org.glassfish.hk2.api.UnsatisfiedDependencyException
Constructs the exception with the given injectee
unSort() - Method in class org.jvnet.hk2.internal.IndexedListData
Called by a SystemDescriptor when its ranking has changed
UseProxy - Annotation Type in org.glassfish.hk2.api
This annotation is used when automatically analyzing a class or a {link Factory.provide() method to indicate that the descriptor either should or should not use a proxy.
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

validate(ValidationInformation) - Method in interface org.glassfish.hk2.api.Validator
This method is called whenever it has been determined that a validating class is to be injected into an injection point, or when a descriptor is being looked up explicitly with the API, or a descriptor is being bound or unbound into the registry.
validate(ValidationInformation) - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
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.
ValidationInformation - Interface in org.glassfish.hk2.api
This object contains information about the validation point.
ValidationInformationImpl - Class in org.jvnet.hk2.internal
 
ValidationInformationImpl(Operation, ActiveDescriptor<?>, Injectee, Filter) - Constructor for class org.jvnet.hk2.internal.ValidationInformationImpl
Creates the validation information
ValidationInformationImpl(Operation, ActiveDescriptor<?>) - Constructor for class org.jvnet.hk2.internal.ValidationInformationImpl
Creates the validation information
ValidationService - Interface in org.glassfish.hk2.api
This service can be used to add validation points to Descriptors.
Validator - Interface in org.glassfish.hk2.api
This method is called when it determined that a type that is annotated with a Validating annotation is to be injected into any other class.
value() - Method in class org.glassfish.hk2.utilities.NamedImpl
 
value() - Method in class org.glassfish.hk2.utilities.UnqualifiedImpl
The set of annotations that must not be associated with the service being injected
valueOf(String) - Static method in enum org.glassfish.hk2.api.DescriptorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.api.DescriptorVisibility
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.api.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.api.InstanceLifecycleEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.api.Operation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.api.ServiceLocatorFactory.CreatePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.api.ServiceLocatorState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.hk2.maven.Version.COMPONENT
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.hk2.api.DescriptorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.api.DescriptorVisibility
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.api.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.api.InstanceLifecycleEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.api.Operation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.api.ServiceLocatorFactory.CreatePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.api.ServiceLocatorState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.hk2.maven.Version.COMPONENT
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.glassfish.hk2.maven
 
Version(String) - Constructor for class org.glassfish.hk2.maven.Version
 
Version.COMPONENT - Enum in org.glassfish.hk2.maven
 
versionPropertyName - Variable in class com.sun.enterprise.module.maven.OsgiVersionMojo
 
Visibility - Annotation Type in org.glassfish.hk2.api
This annotation is used when automatically analyzing a class or a {link Factory.provide() method to indicate that the descriptor either should or should not have LOCAL visibility.
visibility(DescriptorVisibility) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
visibility(DescriptorVisibility) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
 
visibility(DescriptorVisibility) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
This will set the descriptorVisibility field of the returned descriptor
visibility(DescriptorVisibility) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
This will set the descriptorVisibility field of the returned descriptor

W

warning(String) - Method in class org.glassfish.hk2.utilities.reflection.Logger
Sends this message to the Debug channel (FINER level in JDK parlance)
withMetadata(String, String) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Add binding descriptor metadata.
withMetadata(String, List<String>) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Add binding descriptor metadata.
withMetadata(String, String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Add binding descriptor metadata.
withMetadata(String, List<String>) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
Add binding descriptor metadata.
withMetadata(String, String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Add binding descriptor metadata.
withMetadata(String, List<String>) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
Add binding descriptor metadata.
withMetadata(String, String) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Add binding descriptor metadata.
withMetadata(String, List<String>) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Add binding descriptor metadata.
writeExternal(ObjectOutput) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
writeMetadata(Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Used to write the metadata out
writeObject(PrintWriter) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
This writes this object to the data output stream in a human-readable format, excellent for writing out data files
writeSet(Set<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well
writeSet(Set<?>, Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Writes a set in a way that can be read from an input stream as well

_

__getUnderlyingDescriptor() - Method in interface org.glassfish.hk2.api.AOPProxyCtl
This method returns the ActiveDescriptor underlying the service for which this object is a proxy
__make() - Method in interface org.glassfish.hk2.api.ProxyCtl
This method causes the proxy instance to get created at the current time, without calling any of the methods on the underlying class itself.
A B C D E F G H I J K L M N O P Q R S T U V W _ 

Copyright © 2009-2016 Oracle Corporation. All Rights Reserved.