Skip navigation links
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
AbstractAnnotationVisitorImpl - Class in org.jvnet.hk2.generator.internal
This just makes the main-line code less messy
AbstractAnnotationVisitorImpl() - Constructor for class org.jvnet.hk2.generator.internal.AbstractAnnotationVisitorImpl
Gives the version implemented to the superclass
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
 
AbstractClassVisitorImpl - Class in org.jvnet.hk2.generator.internal
 
AbstractClassVisitorImpl() - Constructor for class org.jvnet.hk2.generator.internal.AbstractClassVisitorImpl
The constructor that gives the version we are implementing to the superclass
AbstractCollectionTest - Class in org.glassfish.hk2.testing.collections
This is a base class used for testing raw collections.
AbstractCollectionTest() - Constructor for class org.glassfish.hk2.testing.collections.AbstractCollectionTest
 
AbstractInhabitantsGeneratorMojo - Class in org.jvnet.hk2.generator.maven
Abstract Mojo for inhabitant generator
AbstractInhabitantsGeneratorMojo() - Constructor for class org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
 
AbstractListTest - Class in org.glassfish.hk2.testing.collections
This class can be used to test any implementation of java.util.List which follows the basic rules of the List interface.
AbstractListTest() - Constructor for class org.glassfish.hk2.testing.collections.AbstractListTest
 
AbstractMapTest - Class in org.glassfish.hk2.testing.collections
This class should be used to test the basic Map functionality of those classes implementing the Map interface.
AbstractMapTest() - Constructor for class org.glassfish.hk2.testing.collections.AbstractMapTest
 
AbstractMethodVisitorImpl - Class in org.jvnet.hk2.generator.internal
This in only here to keep the main-line code less messy
AbstractMethodVisitorImpl() - Constructor for class org.jvnet.hk2.generator.internal.AbstractMethodVisitorImpl
The constructor that gives the implemented version to the superclass
AbstractSetTest - Class in org.glassfish.hk2.testing.collections
This class can be used to test Sets for basic Set functionality.
AbstractSetTest() - Constructor for class org.glassfish.hk2.testing.collections.AbstractSetTest
 
activateDynamicConfiguration(TwoPhaseTransactionData) - Method in interface org.glassfish.hk2.api.TwoPhaseResource
Once all TwoPhaseResource prepare methods have completed successfully the activate method will be called on all registered TwoPhaseResource implementations.
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) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
add(K) - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Adds the given key to the LRU.
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, boolean, 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.
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.
addClasspath(Path) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
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
addIdempotentFilter(Filter...) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
At commit time all idempotent filters in this dynamic configuration will be run against all validation-visible descriptors.
addIdempotentFilter(Filter...) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
At commit time all idempotent filters in this dynamic configuration will be run against all validation-visible descriptors.
addIdempotentFilter(Filter...) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
addInstance(String, Object) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableType
Adds the instance with the given key to the type
addInstance(String, Object, Object) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableType
Adds the instance with the given key to the type
addInstance(String, Object) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
addInstance(String, Object, Object) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
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.
addPropertyFileBean(PropertyFileBean) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
addPropertyFileBean(PropertyFileBean) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
This is a utility method that will add the given PropertyFileBean to the Hub for use in configuring this service
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
addType(String) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Adds a type of the given name
addType(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
addTypeMapping(String, Class<?>) - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
Adds a type mapping to the set of type mappings
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
 
after() - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Shuts down and cleans up the ServiceLocator created by this ServiceLocatorTestRule.
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.
apply(Statement, Description) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Overrides the ExternalResource.apply(Statement, Description) method to save the supplied Description so that other methods in this class can refer to it.
array(Object[]) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
Returns a pretty string for the given array
assistedInject(Object, Method, MethodParameter...) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will invoke the given method on the given object.
assistedInject(Object, Method, ServiceHandle<?>, MethodParameter...) - Method in interface org.glassfish.hk2.api.ServiceLocator
This will invoke the given method on the given object.
assistedInject(Object, Method, MethodParameter...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
assistedInject(Object, Method, ServiceHandle<?>, MethodParameter...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
asType(Type) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
 
asType(Type) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
Call this if the parameterized type of the implementation class is known.
asType(Type) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
Call this if the parameterized type of the implementation class is known.
asType(Type) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
Call this if the parameterized type of the implementation class is known.
AsyncRunLevelContext - Class in org.glassfish.hk2.runlevel.internal
 
AutoActiveDescriptor<T> - Class in org.jvnet.hk2.internal
 
AutoActiveDescriptor() - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
For serialization
AutoActiveDescriptor(Class<?>, Creator<T>, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, int, Boolean, Boolean, String, Map<String, List<String>>, DescriptorType, Type) - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
Constructor with all relevant fields

B

BEAN_KEY - Static variable in annotation type org.glassfish.hk2.configuration.api.Configured
This value can be used to indicate that the injection point should be the whole bean
BeanDatabase - Interface in org.glassfish.hk2.configuration.hub.api
A database of beans organized as types, where a type can have multiple instances of a configuration bean
BeanDatabaseImpl - Class in org.glassfish.hk2.configuration.hub.internal
 
BeanDatabaseUpdateListener - Interface in org.glassfish.hk2.configuration.hub.api
This is a listener that is notified when changes are made to the current BeanDatabase
BeanInfo - Class in org.glassfish.hk2.configuration.internal
 
BeanReflectionHelper - Class in org.glassfish.hk2.utilities.reflection
 
BeanReflectionHelper() - Constructor for class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
 
BeanUtilities - Class in org.glassfish.hk2.configuration.internal
For JavaBean or Bean-Like-Map utilities
BeanUtilities() - Constructor for class org.glassfish.hk2.configuration.internal.BeanUtilities
 
before() - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This will generate the default testLocator for this test class, which will search the package of the test itself for classes annotated with @Service.
before() - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
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
 
bind(DynamicConfiguration) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Called at the appropriate time by the ServiceLocatorTestRule.configureServiceLocator(ServiceLocator, Description) method in case subclasses wish to add services to the ServiceLocator being configured.
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.
bindAsContract(Type) - 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
 
bridgeGuiceInjector(Injector) - Method in interface org.jvnet.hk2.guice.bridge.api.GuiceIntoHK2Bridge
Creates a link between hk2 services and a Guice injector
bridgeGuiceInjector(Injector) - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceIntoHK2BridgeImpl
 
bridgeServiceLocator(ServiceLocator, ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method will bridge all non-local services from the from ServiceLocator into the into ServiceLocator.
bridgeSpringBeanFactory(BeanFactory) - Method in interface org.jvnet.hk2.spring.bridge.api.SpringIntoHK2Bridge
Tells HK2 which Spring bean factory to use when finding spring services
bridgeSpringBeanFactory(BeanFactory) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringIntoHK2BridgeImpl
 
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
byKey(String) - Method in interface org.glassfish.hk2.configuration.api.ChildIterable
Gets the child with the given key.
byKey(String) - Method in class org.glassfish.hk2.configuration.internal.ChildIterableImpl
 

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
CacheUtilities - Class in org.glassfish.hk2.utilities.cache
Utilities for creating caches
CacheUtilities() - Constructor for class org.glassfish.hk2.utilities.cache.CacheUtilities
 
cancel(boolean) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
cancel(boolean) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
cancel() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
cancel() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
If there is a current procedure in process this method will get it and cancel it
cancel(boolean) - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
The cancel method attempts to cancel the current running job (if the job is not already completed or already cancelled).
cast(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Casts this thing to the given type
Change - Interface in org.glassfish.hk2.configuration.hub.api
This represents a single change made to a BeanDatabase
Change.ChangeCategory - Enum in org.glassfish.hk2.configuration.hub.api
 
ChangeableRunLevelFuture - Interface in org.glassfish.hk2.runlevel
 
ChangeImpl - Class in org.glassfish.hk2.configuration.hub.internal
 
changeProposedLevel(int) - Method in interface org.glassfish.hk2.runlevel.ChangeableRunLevelFuture
Changes the proposedLevel of this future.
changeProposedLevel(int) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
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
ChildInject - Annotation Type in org.glassfish.hk2.configuration.api
This Injection point indicator can be used for services that have a hierarchical names.
ChildInjectResolverImpl - Class in org.glassfish.hk2.configuration.internal
 
ChildInjectResolverImpl() - Constructor for class org.glassfish.hk2.configuration.internal.ChildInjectResolverImpl
 
ChildIterable<T> - Interface in org.glassfish.hk2.configuration.api
This interface can be used in conjunction with the ChildInject annotation to get the current list of children for this injection point
ChildIterableImpl<T> - Class in org.glassfish.hk2.configuration.internal
 
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.
Classes - Annotation Type in org.jvnet.hk2.testing.junit.annotations
A set of classes that should be analyzed as services, whether they declare @Service or not.
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
 
ClassVisitorImpl - Class in org.jvnet.hk2.generator.internal
 
ClassVisitorImpl(Utilities, boolean, List<File>) - Constructor for class org.jvnet.hk2.generator.internal.ClassVisitorImpl
Creates this with the config to add to if this is a service
ClassVisitorImpl - Class in org.jvnet.hk2.testing.junit.internal
 
ClassVisitorImpl(ServiceLocator, boolean, Set<String>) - Constructor for class org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
Creates this with the config to add to if this is a service
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.internal.WeakCARCacheImpl
 
clear() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Empty the cache.
clear() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Clears the current cache, making the current size zero
clear() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
clear() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
clear() - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Sets the clock size back to zero, no entries
clear() - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Removes all entries from this LRU
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
 
clearStaleReferences() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
clearStaleReferences() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Causes stale references to be cleared from the data structures.
clearStaleReferences() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
clearStaleReferences() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
clearStaleReferences() - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Causes stale references to be cleared from the data structures.
clearStaleReferences() - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Causes stale references to be cleared from the data structures.
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 class org.jvnet.hk2.generator.internal.Utilities
 
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
closeOperation() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
closeOperation(OperationHandleImpl<T>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
closeOperation() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
suspends this Operation on all threads where it is associated and closes the operation.
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
 
commit() - Method in interface org.glassfish.hk2.api.DynamicConfiguration
This causes the configuration to get committed.
commit() - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
This method should be called when the writeable database should become the current database.
commit(Object) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
This method should be called when the writeable database should become the current database.
commit() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
commit(Object) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
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
 
commitDatabaseChange(BeanDatabase, BeanDatabase, Object, List<Change>) - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabaseUpdateListener
This method is called after the change of database has already happened.
commitDatabaseChange(BeanDatabase, BeanDatabase, Object, List<Change>) - Method in class org.glassfish.hk2.configuration.internal.ConfigurationListener
 
CommitFailedException - Exception in org.glassfish.hk2.configuration.hub.api
CommitFailedException() - Constructor for exception org.glassfish.hk2.configuration.hub.api.CommitFailedException
 
CommitFailedException(Throwable) - Constructor for exception org.glassfish.hk2.configuration.hub.api.CommitFailedException
 
compare(DescriptorImpl, DescriptorImpl) - Method in class org.jvnet.hk2.generator.internal.DescriptorComparitor
 
compare(Descriptor, Descriptor) - Method in class org.jvnet.hk2.internal.DescriptorComparator
 
compare(ServiceHandle<?>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ServiceHandleComparator
 
compareTo(TestCollectionElement) - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
 
Computable<K,V> - Interface in org.glassfish.hk2.utilities.cache
Utility interface to capture generic computation of type V from type K.
computation - Variable in exception org.glassfish.hk2.utilities.cache.ComputationErrorException
 
ComputationErrorException - Exception in org.glassfish.hk2.utilities.cache
This exception should be thrown from the Computable.compute(Object) method if the returned computation should NOT be kept in the cache.
ComputationErrorException() - Constructor for exception org.glassfish.hk2.utilities.cache.ComputationErrorException
 
ComputationErrorException(Object) - Constructor for exception org.glassfish.hk2.utilities.cache.ComputationErrorException
 
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.internal.WeakCARCacheImpl
 
compute(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
 
compute(K) - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
The method used to get or add values to this cache
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.extras.events.internal.DefaultTopicDistributionService
 
configurationChanged() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.Hk2BridgeImpl
 
configurationChanged() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
ConfigurationListener - Class in org.glassfish.hk2.configuration.internal
 
ConfigurationListener() - Constructor for class org.glassfish.hk2.configuration.internal.ConfigurationListener
 
ConfigurationUtilities - Class in org.glassfish.hk2.configuration.api
Useful utilities for using the hk2 configuration system
ConfigurationUtilities() - Constructor for class org.glassfish.hk2.configuration.api.ConfigurationUtilities
 
ConfigurationValidationService - Class in org.glassfish.hk2.configuration.internal
 
ConfigurationValidationService() - Constructor for class org.glassfish.hk2.configuration.internal.ConfigurationValidationService
 
configure() - Method in class org.glassfish.hk2.extras.events.internal.TopicDistributionModule
 
configure() - Method in class org.glassfish.hk2.runlevel.RunLevelServiceModule
 
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
 
configure() - Method in class org.jvnet.hk2.guice.bridge.api.HK2IntoGuiceBridge
 
configure(DynamicConfiguration) - Method in interface org.jvnet.hk2.testing.junit.HK2TestModule
Allows the test to easily configure their test
Configured - Annotation Type in org.glassfish.hk2.configuration.api
This annotation is placed on fields or on parameters of methods or constructors to indicate that these fields or parameters should come from the configuration instance of the type defined by the ConfiguredBy annotation on the class.
ConfiguredBy - Annotation Type in org.glassfish.hk2.configuration.api
This annotation is put onto classes to indicate that they should be created based on the availability of instances of a specify type of configuration in the Hub
ConfiguredBy.CreationPolicy - Enum in org.glassfish.hk2.configuration.api
 
ConfiguredByContext - Class in org.glassfish.hk2.configuration.internal
 
ConfiguredByContext() - Constructor for class org.glassfish.hk2.configuration.internal.ConfiguredByContext
 
ConfiguredByInjectionResolver - Class in org.glassfish.hk2.configuration.internal
 
ConfiguredByInjectionResolver() - Constructor for class org.glassfish.hk2.configuration.internal.ConfiguredByInjectionResolver
 
ConfiguredValidator - Class in org.glassfish.hk2.configuration.internal
 
ConfiguredValidator() - Constructor for class org.glassfish.hk2.configuration.internal.ConfiguredValidator
 
configureServiceLocator(ServiceLocator, Description) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Configures the supplied ServiceLocator for use by the test described by the supplied Description.
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) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
contains(K) - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Tells if the given key is in the LRU
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.configuration.internal.ConfiguredByContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.InheritableThreadContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.PerThreadContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
The Context API for discovering if a descriptor has been created
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.runlevel.RunLevelContext
 
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.guice.bridge.internal.GuiceScopeContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
 
containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
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
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(ServiceHandle<?>) - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
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.extras.hk2bridge.internal.CrossOverDescriptor
 
create(ServiceHandle<?>) - Method in class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
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.guice.bridge.internal.GuiceServiceHk2Bean
 
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
 
create(ServiceHandle<?>) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringServiceHK2Bean
 
create(String, HK2TestModule...) - Static method in class org.jvnet.hk2.testing.junit.HK2TestUtilities
 
create(String, ServiceLocator, HK2TestModule...) - Static method in class org.jvnet.hk2.testing.junit.HK2TestUtilities
Will create a ServiceLocator after doing test-specific bindings from the TestModule
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.
createAndStartOperation(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
createAndStartOperation(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Creates an OperationHandle that will be associated with the thread calling this method.
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.
createCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses must override this method in order to construct an empty Collection with the null argument constructor.
createCollection(Collection) - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses must override this method in order to construct a Collection with the elements found in the input Collection.
createCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
This overrides the abstract methods on the Collection test
createCollection(Collection) - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
This overrides the abstract methods on the Collection test
createCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractSetTest
 
createCollection(Collection) - Method in class org.glassfish.hk2.testing.collections.AbstractSetTest
 
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
createDescriptorFilter(Descriptor, boolean) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Returns a filter that will return true an IndexedFilter that will match the DescriptorImpl.equals(Object) return
createDescriptorFilter(Descriptor) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Returns a filter that will return true an IndexedFilter that will match the DescriptorImpl.equals(Object) return
createDescriptorFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
This returns a DescriptorImpl based on the given class.
createDescriptorIfService(InputStream, List<File>) - Method in class org.jvnet.hk2.generator.internal.Utilities
 
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
 
createList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Subclasses must override this method in order to construct an empty list with the null argument constructor.
createList(Collection) - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Subclasses must override this method in order to construct a list with the elements found in the (possibly null) Collection.
createMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses must override this method in order to construct an empty Map with the null argument constructor.
createMap(Map<?, ?>) - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses must override this method in order to construct a Map with the elements found in the input Map.
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
createOperation(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
createOperation() - Method in class org.glassfish.hk2.extras.operation.internal.SingleOperationManager
 
createOperation(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Creates an OperationHandle.
createPropertyHandleOfAnyType(String, String) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
createPropertyHandleOfAnyType() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
createPropertyHandleOfAnyType(String, String) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
Creates a PropertyFileHandle for reading an HK2 property file.
createPropertyHandleOfAnyType() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
Creates a PropertyFileHandle for reading an HK2 property file.
createPropertyHandleOfSpecificType(String, String) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
createPropertyHandleOfSpecificType(String) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
createPropertyHandleOfSpecificType(String, String) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
Creates a PropertyFileHandle for reading an HK2 property file that has a specific type name.
createPropertyHandleOfSpecificType(String) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
Creates a PropertyFileHandle for reading an HK2 property file that has a specific type 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)
createServiceLocator(Description) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Creates and returns a ServiceLocator suitable for the JUnit test described by the supplied Description.
createSet() - Method in class org.glassfish.hk2.testing.collections.AbstractSetTest
 
createSet(Collection) - Method in class org.glassfish.hk2.testing.collections.AbstractSetTest
 
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.
createWeakCARCache(Computable<K, V>, int, boolean) - Static method in class org.glassfish.hk2.utilities.cache.CacheUtilities
Returns a WEAKCarCache with the given computable and the given maximum value size of the cache.
Creator<T> - Interface in org.jvnet.hk2.internal
An internal interface that allows us to have the factory and class implementations
CrossOverDescriptor<T> - Class in org.glassfish.hk2.extras.hk2bridge.internal
 
CrossOverDescriptor(ServiceLocator, ActiveDescriptor<T>) - Constructor for class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
CurrentlyRunningException - Exception in org.glassfish.hk2.runlevel
This exception is thrown by proceedTo if there is currently a job being run when proceedTo is called
CurrentlyRunningException() - Constructor for exception org.glassfish.hk2.runlevel.CurrentlyRunningException
Basic no-arg constructor
CurrentlyRunningException(RunLevelFuture) - Constructor for exception org.glassfish.hk2.runlevel.CurrentlyRunningException
Constructor with job that is in progress
CurrentTaskFuture - Class in org.glassfish.hk2.runlevel.internal
This is the implementation of RunLevelFuture.
CurrentTaskFutureWrapper - Class in org.glassfish.hk2.runlevel.internal
This object is used to wrap the internal CurrentTaskFuture which is a ChangeableRunLevelFuture.
Customize - Annotation Type in org.glassfish.hk2.api
Indicates that a method should be customized.
Customizer - Annotation Type in org.glassfish.hk2.api
Gives the type (and optional name) of a customizer service to use when an unknown method on a bean interface is encountered.

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, Throwable) - 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
DEFAULT_INHABITANT_PATH - Static variable in annotation type org.jvnet.hk2.testing.junit.annotations.InhabitantFiles
 
DEFAULT_INSTANCE_NAME - Static variable in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
The default name for an instance if the instance name cannot be determined
DEFAULT_TYPE_NAME - Static variable in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
The default name for a type if the type name cannot be determined
DEFAULT_VALIDATION_MESSAGES - Static variable in class org.glassfish.hk2.utilities.general.internal.MessageInterpolatorImpl
The name of the default message bundle.
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
DefaultInterceptionService - Class in org.glassfish.hk2.extras.interception.internal
A default implementation of the interception service using annotation to denote services that are to be intercepted and other annotations to match methods or constructors to interceptors
DefaultInterceptionService() - Constructor for class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
DefaultTestCollectionElement - Class in org.glassfish.hk2.testing.collections
This is the default implementation of TestCollectionElement that will be used in tests if the getElement method is not overridden
DefaultTestCollectionElement(String) - Constructor for class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
 
DefaultTopicDistributionErrorService - Interface in org.glassfish.hk2.extras.events
When using the TopicDistributionService added with ServiceLocatorUtilities.enableTopicDistribution(org.glassfish.hk2.api.ServiceLocator) if a subscriber throws an exception this service will be called.
DefaultTopicDistributionService - Class in org.glassfish.hk2.extras.events.internal
This is the default implementation of the TopicDistributionService.
DefaultTopicDistributionService() - Constructor for class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
DelegatingNamedActiveDescriptor - Class in org.glassfish.hk2.configuration.internal
 
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
 
DescriptorComparitor - Class in org.jvnet.hk2.generator.internal
This is a comparator making things that don't really compare, compare.
DescriptorComparitor() - Constructor for class org.jvnet.hk2.generator.internal.DescriptorComparitor
 
descriptorEquals(Descriptor, Descriptor) - Static method in class org.glassfish.hk2.utilities.DescriptorImpl
Tests if two descriptors are equal not taking into account the locator-id and server-id by comparing the following fields: implementation contracts name scope qualifiers descriptorType descriptorVisibility metadata proxiable proxyForSameScope analysisName
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<?>) - Method in class org.glassfish.hk2.configuration.internal.ConfiguredByContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
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.runlevel.internal.AsyncRunLevelContext
The Context API.
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.runlevel.RunLevelContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
 
destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
Release one system descriptor
destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
DIRECTORY_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
This option gives the name of directory in the target location where the file should be placed
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(Object) - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
dispose() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
 
dispose() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
Will remove any instances added by this handle from the hub, and make it such that this handle can no longer be used
dispose(T) - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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.
distributeMessage(Topic<?>, Object) - Method in class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
doesCollectionAllowNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection implementation does not support null as an element in their Collection.
doesCollectionDelegateFromOriginalCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection implementation delegates to the passed in collection.
doesCollectionsIteratorSupportRemove() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if the Iterator returned from this collection does not support the optional remove operation
doesCollectionSupportDuplicateElements() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection implementation does not support duplicate elements.
doesCollectionSupportDuplicateElements() - Method in class org.glassfish.hk2.testing.collections.AbstractSetTest
Subclasses should override this method if their Set implementation allows duplicate elements.
doesCollectionSupportEmpty() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection does not support the optional empty method.
doesCollectionSupportRemove() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection does not support the optional remove method.
doesCollectionSupportRetainAll() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection does not support the optional retainAll method.
doesListIteratorSupportAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Subclasses should override this method if the ListIterator returned from this list does not support the optional add operation
doesListIteratorSupportSet() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Subclasses should override this method if the ListIterator returned from this list does not support the optional set operation
doesMapAllowNullKeys() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses should override this method if their Map implementation does not support null as an key in the Map.
doesMapAllowNullValues() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses should override this method if their Map implementation does not support null as an value in the Map.
doesMapDelegateFromOriginalMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses should override this method if their Map implementation delegates to the passed in Map.
doesMapSupportRemove() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses should override this method if their Map does not support the optional remove method.
DoubleNode<K,V> - Class in org.glassfish.hk2.utilities.general.internal
Used for doubly linked lists with weak keys
DoubleNode(K, V, ReferenceQueue<? super K>) - Constructor for class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
doWork() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
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.
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
dumpAllLists() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
dumpAllLists() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns a string that will contain all the elements of the four lists
dumpDatabase() - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabase
Dumps the type and instance names to stderr
dumpDatabase(PrintStream) - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabase
Dumps the type and instance names to the given stream
dumpDatabase() - Method in class org.glassfish.hk2.configuration.hub.internal.BeanDatabaseImpl
 
dumpDatabase(PrintStream) - Method in class org.glassfish.hk2.configuration.hub.internal.BeanDatabaseImpl
 
dumpDatabase(BeanDatabase, PrintStream) - Static method in class org.glassfish.hk2.configuration.hub.internal.Utilities
Dumps the database given
dumpDatabase() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
dumpDatabase(PrintStream) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
dumpDatabaseAsString() - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabase
Dumps the type and instance names to a String for debugging
dumpDatabaseAsString() - Method in class org.glassfish.hk2.configuration.hub.internal.BeanDatabaseImpl
 
dumpDatabaseAsString(BeanDatabase) - Static method in class org.glassfish.hk2.configuration.hub.internal.Utilities
 
dumpDatabaseAsString() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
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
Creates a DuplicatePostProcessor with the STRICT mode for determining duplicates
DuplicatePostProcessor(DuplicatePostProcessorMode) - Constructor for class org.glassfish.hk2.utilities.DuplicatePostProcessor
Creates a DuplicatePostProcessor with the
DuplicatePostProcessorMode - Enum in org.glassfish.hk2.utilities
The mode of the duplicate post processor
DuplicateServiceException - Exception in org.glassfish.hk2.api
This exception is thrown when an idempotent filter of a DynamicConfiguration object matches an existing descriptor in the ServiceLocator
DuplicateServiceException() - Constructor for exception org.glassfish.hk2.api.DuplicateServiceException
For serialization
DuplicateServiceException(Descriptor) - Constructor for exception org.glassfish.hk2.api.DuplicateServiceException
Called by the system to initialize the existing descriptor that matched
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
 
Dynamicity - Enum in org.glassfish.hk2.configuration.api
Describes how dynamic a configured field or parameter should be

E

embeddedMain(String[]) - Static method in class org.jvnet.hk2.generator.HabitatGenerator
A utility to generate inhabitants files.
enableConfigurationHub(ServiceLocator) - Static method in class org.glassfish.hk2.configuration.hub.api.ManagerUtilities
This method will add the Hub service to the given service locator.
enableConfigurationSystem(ServiceLocator) - Static method in class org.glassfish.hk2.configuration.api.ConfigurationUtilities
Enables the Configuration subsystem of HK2.
enableDefaultInterceptorServiceImplementation(ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method adds in a default implementation of the InterceptionService which uses annotations to denote which services should intercept other services.
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.
enableImmediateScopeSuspended(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
 
enableOperations(ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method adds in the infrastructure necessary to enable HK2 Operations support.
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.
enablePropertyFileService(ServiceLocator) - Static method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileUtilities
This class adds the system implementation of PropertyFileService to the given service locator.
enableRunLevelService(ServiceLocator) - Static method in class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
Enables the RunLevelService in the given ServiceLocator.
enableTopicDistribution(ServiceLocator) - Static method in class org.glassfish.hk2.extras.ExtrasUtilities
This method will enable the default topic distribution service.
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.extras.operation.internal.OperationHandleImpl
 
equals(Object) - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
equals(Object) - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
 
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
This equals matches only if the following fields of the descriptor match: implementation contracts name scope qualifiers descriptorType descriptorVisibility metadata proxiable proxyForSameScope analysisName
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.GenericArrayTypeImpl
 
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
ErrorInformation - Interface in org.glassfish.hk2.runlevel
 
ErrorInformation.ErrorAction - Enum in org.glassfish.hk2.runlevel
The set of actions that the system can perform when an error is detected
ErrorInformationImpl - Class in org.glassfish.hk2.runlevel.internal
 
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.
ErrorServiceImpl - Class in org.jvnet.hk2.testing.junit.internal
 
ErrorServiceImpl() - Constructor for class org.jvnet.hk2.testing.junit.internal.ErrorServiceImpl
 
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
 
Excludes - Annotation Type in org.jvnet.hk2.testing.junit.annotations
A set of implementations that should be excluded from being added to testLocator.
execute() - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
execute() - Method in class org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
This method will compile the inhabitants file based on the classes just compiled
ExtrasUtilities - Class in org.glassfish.hk2.extras
These are utilities for the extra features of hk2.
ExtrasUtilities() - Constructor for class org.glassfish.hk2.extras.ExtrasUtilities
 

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
FILE_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
The flag for the location of the file
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
 
findAllServicesFromDirectory(File, List<File>) - Method in class org.jvnet.hk2.generator.internal.Utilities
 
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.
findOrAddWriteableType(String) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Gets or creates a writeable type with the given name
findOrAddWriteableType(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
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.configuration.internal.ConfiguredByContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
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.runlevel.internal.AsyncRunLevelContext
This is from the Context API, called by the wrapper
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.runlevel.RunLevelContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
findOrCreate(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
 
findOrCreate(ActiveDescriptor<T>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
 
findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
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)
FIVE - Static variable in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
 
fixAndCheckQualifiers(Annotation[], String) - Static method in class org.jvnet.hk2.internal.Utilities
This method returns a set of qualifiers from an array of qualifiers.
FOUR - Static variable in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
 
FOUR_KEY - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 
FOUR_VALUE - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 

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
 
generateFromMultipleDirectories(List<File>, List<File>, boolean, OutputStream) - Method in interface org.jvnet.hk2.generator.InFlightGenerator
Scans multiple directories for HK2 services to be written to the given output stream
generateFromMultipleDirectories(List<File>, List<File>, boolean, OutputStream) - Method in class org.jvnet.hk2.generator.internal.InFlightGeneratorImpl
 
GenerateMethodAnnotationData - Class in org.jvnet.hk2.generator.internal
 
GenerateMethodAnnotationData(String, HashSet<String>, String) - Constructor for class org.jvnet.hk2.generator.internal.GenerateMethodAnnotationData
 
GenerateMethodAnnotationData(GenerateMethodAnnotationData) - Constructor for class org.jvnet.hk2.generator.internal.GenerateMethodAnnotationData
 
generateProxy(Class<?>, ServiceLocatorImpl, ActiveDescriptor<T>, ServiceHandleImpl<T>, Injectee) - Method in class org.jvnet.hk2.internal.ProxyUtilities
 
GeneratorRunner - Class in org.jvnet.hk2.generator.internal
 
GeneratorRunner(String, String, String, boolean, String, boolean, String, boolean) - Constructor for class org.jvnet.hk2.generator.internal.GeneratorRunner
This initializes the GeneratorRunner with the values needed to run
GenericArrayTypeImpl - Class in org.glassfish.hk2.utilities.reflection
An implementation of GenericArrayType for those times we need to create this on the fly
GenericArrayTypeImpl(Type) - Constructor for class org.glassfish.hk2.utilities.reflection.GenericArrayTypeImpl
Creates the GenericArrayType with the given array type
get() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
get(long, TimeUnit) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
get() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
get(long, TimeUnit) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
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() - Method in class org.glassfish.hk2.utilities.general.Hk2ThreadLocal
Returns the value in the current thread's copy of this thread-local variable.
get(K) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
get(K) - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Gets the given key, returning null if not found
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
 
get(String, ObjectFactory<?>) - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
 
getAction() - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
Returns the action the system will take
getAction() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
 
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
 
getActiveThreads() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getActiveThreads() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Gets a set of threads upon which this Operation is active
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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
getAllAddedDescriptors() - Method in interface org.glassfish.hk2.api.TwoPhaseTransactionData
Gets all ActiveDescriptors that will be added in this transaction
getAllAddedDescriptors() - Method in class org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
 
getAllBindingsFromClass(Class<?>) - Static method in class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
getAllBindingsFromConstructor(Constructor<?>) - Static method in class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
getAllBindingsFromMethod(Method) - Static method in class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
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
getAllRemovedDescriptors() - Method in interface org.glassfish.hk2.api.TwoPhaseTransactionData
Gets all ActiveDescriptors that will be removed by this transaction
getAllRemovedDescriptors() - Method in class org.jvnet.hk2.internal.TwoPhaseTransactionDataImpl
 
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 all services from this locator that implement this contract or have this implementation and have the provided qualifiers
getAllServices(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets all services from this locator that implement this contract or have this implementation and have the provided qualifiers
getAllServices(Annotation, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets all services from this locator that have the provided qualifiers
getAllServices(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
Gets all services from this locator that match the provided 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() - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabase
Gets an unmodifiable set of all the types in the bean database
getAllTypes() - Method in class org.glassfish.hk2.configuration.hub.internal.BeanDatabaseImpl
 
getAllTypes() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
getAllTypes(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
 
getAllWriteableTypes() - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Gets an unmodifiable set of all the types in the bean database
getAllWriteableTypes() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
getAnnoType() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
Returns the annotation class for this annotation type
getAssociatedContracts(List<File>, String) - Method in class org.jvnet.hk2.generator.internal.Utilities
Gets the contracts associated with the name passed in
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
getB1Size() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getB1Size() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the number of items in the B1 LRU
getB2Size() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getB2Size() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the number of items in the B2 LRU
getBean() - Method in interface org.glassfish.hk2.configuration.hub.api.Instance
Gets the bean (or bean-like-map) associated with this instance
getBean() - Method in class org.glassfish.hk2.configuration.hub.internal.InstanceImpl
 
getBean() - Method in class org.glassfish.hk2.configuration.internal.BeanInfo
 
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
getBeanPropertyValue(Type, String, BeanInfo) - Static method in class org.glassfish.hk2.configuration.internal.BeanUtilities
Gets the value from the given attribute from the given bean Safe to give both a bean-like map and a java bean
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.
getCancelTimeoutMilliseconds() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getCancelTimeoutMilliseconds() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Returns the amount of time in milliseconds the run level service will wait after a cancel call before orphaning services that have not yet completed execution
getCandidate() - Method in interface org.glassfish.hk2.api.ValidationInformation
The candidate descriptor for this operation
getCandidate() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
 
getChangeCategory() - Method in interface org.glassfish.hk2.configuration.hub.api.Change
Gets the category of change this Change object represents
getChangeCategory() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
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.
getChangeType() - Method in interface org.glassfish.hk2.configuration.hub.api.Change
Gets the type of the change for all change categories.
getChangeType() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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
getClassFromType(Type) - Static method in class org.jvnet.hk2.guice.bridge.internal.GuiceToHk2JITResolver
Gets the class from the given type
getClasspath() - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Returns a String representing the classpath to use to search for classes.
getCommitMessage() - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Gets the commit message for this writeable bean database
getCommitMessage() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
getComputable() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getComputable() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
The computable associated with this cache
getComputation() - Method in exception org.glassfish.hk2.utilities.cache.ComputationErrorException
 
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(Constructor<?>) - Method in class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
getConstructorInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
Gets the constructor interceptors
getContracts() - Method in class org.jvnet.hk2.generator.internal.GenerateMethodAnnotationData
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getContractTypes() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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
 
getConversationId() - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
 
getCurrentDatabase() - Method in interface org.glassfish.hk2.configuration.hub.api.Hub
Gets the current database running in the system
getCurrentDatabase() - Method in class org.glassfish.hk2.configuration.hub.internal.HubImpl
 
getCurrentFuture() - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
Gets the current task
getCurrentJob() - Method in exception org.glassfish.hk2.runlevel.CurrentlyRunningException
Gets the job current in progress
getCurrentOperation(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
getCurrentOperation(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Gets the current operation of scope type on the current thread.
getCurrentOperationOnThisThread() - Method in class org.glassfish.hk2.extras.operation.internal.SingleOperationManager
OperationLock need NOT be held
getCurrentOperations(T) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
getCurrentOperations(T) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
Gets a set of all Operations that are in state ACTIVE or SUSPENDED.
getCurrentProceeding() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getCurrentProceeding() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
This method will return the current proceedTo that the RunLevelController is working on, or it will return null if the controller is not currently moving up or down
getCurrentRunLevel() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getCurrentRunLevel() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
The current run level state.
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
 
getDefaultInstanceName() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
 
getDefaultInstanceName() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
Gets the default instance name that will be given to instances whose name cannot otherwise be determined
getDefaultNameFromMethod(Method, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
Returns the default name if one can be found.
getDefaultType() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
 
getDefaultType() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
Returns the default type name if the type cannot be determined from the key of the property.
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() - Method in class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getDescriptorVisibility() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getDescriptorVisibility() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getElement(String) - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This returns an implementation of TestCollectionElement that will be put into the Collection implementation.
getElement(String) - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This returns an implementation of TestCollectionElement that will be put into the Collection implementation.
getError() - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
Returns the throwable that caused the error
getError() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
 
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
 
getExecutor() - Method in interface org.glassfish.hk2.api.ImmediateController
Returns the executor that is currently in use by the Immediate subsystem
getExecutor() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
getExecutor() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getExecutor() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Gets the executor that will be used by the system when executing tasks.
getExistingDescriptor() - Method in exception org.glassfish.hk2.api.DuplicateServiceException
Gets the descriptor that matched one of the idempotent filters
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getFactoryLocatorId() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getFactoryServiceId() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getFactoryServiceId() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
getFactoryServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getFailedDescriptor() - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
Returns the descriptor associated with this failure, or null if the descriptor could not be determined
getFailedDescriptor() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
 
getFieldInjectees(Class<?>, 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.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
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
getGeneratedDescriptor() - Method in class org.jvnet.hk2.generator.internal.ClassVisitorImpl
Gets the generated descriptor created by this visitor
getGenericComponentType() - Method in class org.glassfish.hk2.utilities.reflection.GenericArrayTypeImpl
 
getGuiceBridge() - Static method in class org.jvnet.hk2.guice.bridge.api.GuiceBridge
 
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.glassfish.hk2.internal.HandleAndService
 
getHandle() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
getHardenedKey() - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
getHitRate() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getHitRate() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the hit rate from the last time clear was called
getIdentifier() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getIdentifier() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Returns a unique identifier for this operation
getImmediateAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
Returns a Immediate Annotation implementation
getImmediateState() - Method in interface org.glassfish.hk2.api.ImmediateController
Returns the state the system is currently running under
getImmediateState() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.generator.internal.GenerateMethodAnnotationData
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getImplementationClass() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getImplementationClass() - Method in class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
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.guice.bridge.internal.GuiceServiceHk2Bean
 
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
 
getImplementationClass() - Method in class org.jvnet.hk2.spring.bridge.internal.SpringServiceHK2Bean
 
getImplementationType() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
If known the Type of the implementation.
getImplementationType() - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
getImplementationType() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
getImplementationType() - Method in class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
getImplementationType() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
 
getImplementationType() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
 
getImplementationType() - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceServiceHk2Bean
 
getImplementationType() - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
 
getImplementationType() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
 
getImplementationType() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getImplementationType() - Method in class org.jvnet.hk2.spring.bridge.internal.SpringServiceHK2Bean
 
getIncomingObject() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
Gets the incoming object bound to the thread id
getIndentStep() - Method in class org.glassfish.hk2.utilities.general.IndentingXMLStreamWriter
Deprecated.
Only return the length of the indent string.
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getInjectees() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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, Injectee) - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
Returns an injection resolver for the injectee
getInjectionResolverType(ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
Will return the class of the injection resolver annotation type, or null if no injection resolver annotation can be found
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
getInstance(String, String) - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabase
Returns the instance with the given instanceKey from the type with the given name
getInstance(String) - Method in interface org.glassfish.hk2.configuration.hub.api.Type
Gets the instance associated with this key, or null if there is none
getInstance(String, String) - Method in class org.glassfish.hk2.configuration.hub.internal.BeanDatabaseImpl
 
getInstance(String) - Method in class org.glassfish.hk2.configuration.hub.internal.TypeImpl
 
getInstance(String, String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
getInstance(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
getInstanceKey() - Method in interface org.glassfish.hk2.configuration.hub.api.Change
Returns the key of the instance that was removed, added or modified for the categories ADD_INSTANCE, REMOVE_INSTANCE and MODIFY_INSTANCE
getInstanceKey() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
getInstanceName() - Method in class org.glassfish.hk2.configuration.internal.BeanInfo
 
getInstances() - Method in interface org.glassfish.hk2.configuration.hub.api.Type
Returns a read-only map of the instances that are associated with this type
getInstances() - Method in class org.glassfish.hk2.configuration.hub.internal.TypeImpl
 
getInstances() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
getInstanceValue() - Method in interface org.glassfish.hk2.configuration.hub.api.Change
Returns the value of the instance that was removed, added or modified for the categories ADD_INSTANCE, REMOVE_INSTANCE and MODIFY_INSTANCE.
getInstanceValue() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
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
getKeySize() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getKeySize() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the current number of keys in the cache.
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.configuration.internal.ConfigurationValidationService
 
getLookupFilter() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
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
 
getMaximumUseableThreads() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getMaximumUseableThreads() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Returns the current number of maximum useable threads
getMaxSize() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getMaxSize() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Gets the current maximum size of the cache (the maximum number of values that will be kept by the cache).
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 interface org.glassfish.hk2.configuration.hub.api.Instance
Gets information about this instance.
getMetadata() - Method in interface org.glassfish.hk2.configuration.hub.api.Type
Gets information about this type.
getMetadata() - Method in class org.glassfish.hk2.configuration.hub.internal.InstanceImpl
 
getMetadata() - Method in class org.glassfish.hk2.configuration.hub.internal.TypeImpl
 
getMetadata() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
getMetadata() - Method in class org.glassfish.hk2.configuration.internal.BeanInfo
 
getMetadata() - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
getMetadata() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getMetadata() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getMetadataKey(String, String) - Method in class org.jvnet.hk2.generator.internal.Utilities
 
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(Class<?>, Method, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
Returns all the injectees for a constructor
getMethodInjectees(Class<?>, Method, ActiveDescriptor<?>, Map<Integer, MethodParameter>) - Static method in class org.jvnet.hk2.internal.Utilities
Returns all the injectees for a constructor
getMethodInterceptors(Method) - 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) - Method in class org.glassfish.hk2.extras.interception.internal.DefaultInterceptionService
 
getMethodInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
Gets the method interceptors
getMode() - Method in class org.glassfish.hk2.utilities.DuplicatePostProcessor
Returns the mode of this DuplicatePostProcessorMode of this processor
getModifiedProperties() - Method in interface org.glassfish.hk2.configuration.hub.api.Change
Returns a list of properties that were changed if the change category is MODIFY_INSTANCE.
getModifiedProperties() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
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 interface org.glassfish.hk2.configuration.hub.api.Type
A unique identifier for this type
getName() - Method in class org.glassfish.hk2.configuration.hub.internal.TypeImpl
 
getName() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
getName() - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
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.generator.internal.GenerateMethodAnnotationData
 
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
getNameMethodName() - Method in class org.jvnet.hk2.generator.internal.GenerateMethodAnnotationData
 
getNeutralContextClassLoader() - Method in interface org.glassfish.hk2.api.ServiceLocator
This returns the value of neutralContextClassLoader.
getNeutralContextClassLoader() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getNext() - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
getNoInitialServicesFilter() - Static method in class org.jvnet.hk2.external.runtime.Hk2LocatorUtilities
Returns a filter that only returns services that are not in the initial set of services offered by all ServiceLocators created by this implementation of hk2.
getNoSwap() - Method in class org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
 
getNoSwap() - Method in class org.jvnet.hk2.generator.maven.InhabitantsGeneratorMojo
 
getNoSwap() - Method in class org.jvnet.hk2.generator.maven.TestInhabitantsGeneratorMojo
 
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
 
getOperationData() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getOperationData() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Gets arbitrary Operation data to be associated with this Operation
getOperationIdentifier() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
getOperationIdentifier() - Method in interface org.glassfish.hk2.extras.operation.OperationIdentifier
A uniquely generated name for an Operation identifier
getOperationScope() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
getOperationScope() - Method in interface org.glassfish.hk2.extras.operation.OperationIdentifier
Returns the scope associated with this annotation type
getOriginalInstanceValue() - Method in interface org.glassfish.hk2.configuration.hub.api.Change
Returns the original Instance for the category MODIFY_INSTANCE
getOriginalInstanceValue() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
getOriginalRequest() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
getOutputDirectory() - Method in class org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
 
getOutputDirectory() - Method in class org.jvnet.hk2.generator.maven.InhabitantsGeneratorMojo
 
getOutputDirectory() - Method in class org.jvnet.hk2.generator.maven.TestInhabitantsGeneratorMojo
 
getOwnerType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
 
getP() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getP() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the value of p from the CAR algorithm, which is the target size of the t1 clock
getParameterNameFromField(Field, boolean) - Static method in class org.glassfish.hk2.configuration.internal.BeanUtilities
Gets the parameter name from a field
getParameterNameFromMethod(Method, int) - Static method in class org.glassfish.hk2.configuration.internal.BeanUtilities
 
getParameterPosition() - Method in interface org.glassfish.hk2.api.MethodParameter
Returns the index of the parameter for which the MethodParameter.getParameterValue() result should go
getParameterPosition() - Method in class org.glassfish.hk2.utilities.MethodParameterImpl
 
getParameterTypes() - Method in class org.glassfish.hk2.api.TypeLiteral
Gets the types associated with this literal
getParameterValue() - Method in interface org.glassfish.hk2.api.MethodParameter
The value that should be given to the method at the parameter position specified by MethodParameter.getParameterPosition()
getParameterValue() - Method in class org.glassfish.hk2.utilities.MethodParameterImpl
 
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
 
getPrevious() - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
getProposedLevel() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
getProposedLevel() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
getProposedLevel() - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
This gets the level that this future job is attempting to get to
getProxyUtilities() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getQualifierAnnotations() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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
getRank(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
Gets the rank from the given class
getRanking() - Method in interface org.glassfish.hk2.api.Descriptor
Returns the ranking of this descriptor.
getRanking() - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
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
getRunLevelAnnotation(int) - Static method in class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
Returns a RunLevel scope annotation with the given value and RUNLEVEL_MODE_VALIDATING as the mode
getRunLevelAnnotation(int, int) - Static method in class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
Returns a RunLevel scope annotation with the given value and mode
getRunLevelMode(ServiceLocator, Descriptor, Integer) - Static method in class org.glassfish.hk2.runlevel.utilities.Utilities
Get the run level mode from the metadata of the given descriptor.
getRunLevelValue(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.runlevel.utilities.Utilities
Get the run level value from the metadata of the given descriptor.
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.configuration.internal.ConfiguredByContext
 
getScope() - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
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.runlevel.RunLevelContext
 
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.generator.internal.GenerateMethodAnnotationData
 
getScope() - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
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
 
getScope() - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
getScopeAnnotation() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
Returns the scope that this ActiveDescriptor belongs to
getScopeAnnotation() - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
getScopeAnnotation() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getScopeAsAnnotation() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
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() - Method in class org.glassfish.hk2.internal.HandleAndService
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
getServiceId() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
getServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
getServiceLocator() - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
Returns the ServiceLocator associated with this scope
getServiceLocatorIsolation() - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
getServiceLocatorName(Description) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Returns a name for a ServiceLocator that is appropriate for the supplied Description.
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.glassfish.hk2.utilities.general.Hk2ThreadLocal
Returns the total size of the internal data structure in terms of entries.
getSize() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 
getSortedList() - Method in class org.jvnet.hk2.internal.IndexedListData
 
getSpecificType() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
 
getSpecificType() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
Returns the specific type associated with this handle
getSpringBridge() - Static method in class org.jvnet.hk2.spring.bridge.api.SpringBridge
Returns an instance of the SpringBridge for use in initializing the Spring bridge
getState() - Method in interface org.glassfish.hk2.api.ServiceLocator
Returns the current state of this service locator.
getState() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
getState() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Gets the current state of this operation
getState() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
getSubHandles() - Method in interface org.glassfish.hk2.api.ServiceHandle
Returns a list of subordinate subhandles to this root handle
getSubHandles() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
getT1Size() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getT1Size() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the number of items in the T1 clock
getT2Size() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getT2Size() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the number of items in the T2 clock
getThreadIdentifier() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
Gets the thread on which this object was created
getThreadInactivityTimeout() - Method in interface org.glassfish.hk2.api.ImmediateController
Returns the time in milliseconds a thread will wait for new Immediate services before dying
getThreadInactivityTimeout() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
getThreadingPolicy() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getThreadingPolicy() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Returns the threading policy currently being used by this controller
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
 
getTwoPhaseResource() - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Returns a two-phase resource that can be used by a DynamicConfiguration to tie the transaction done by this WriteableBeanDatabase into a commit done by the DynamicConfiguration.
getTwoPhaseResource() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
getType() - Method in class org.glassfish.hk2.api.TypeLiteral
 
getType(String) - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabase
Gets the type with the given name
getType(String) - Method in class org.glassfish.hk2.configuration.hub.internal.BeanDatabaseImpl
 
getType(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
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
getTypeMapping() - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
Gets the mapping from type name to bean class
getTypeMapping(String) - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
Gets the type mapping with the given name
getTypeName() - Method in class org.glassfish.hk2.configuration.internal.BeanInfo
 
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
getValidationFilter() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
getValidationOverride() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
getValidationOverride() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Returns the override value for the RunLevel.mode() field in RunLevel services.
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.configuration.internal.ConfigurationValidationService
 
getValidator() - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
getValidator() - Static method in class org.glassfish.hk2.utilities.general.ValidatorUtilities
Gets a validator that can be used to validate that is initialized with HK2 specific utilities such as the message interpolator
getValue() - Method in interface org.glassfish.hk2.utilities.cache.HybridCacheEntry
Getter for this cache entry internal value.
getValue() - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
getValueSize() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
getValueSize() - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Returns the current number of values in the cache.
getWeakHashClock(boolean) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
Creates a weak hash clock
getWeakHashLRU(boolean) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
Creates a weak hash clock
getWeakKey() - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
getWriteableDatabaseCopy() - Method in interface org.glassfish.hk2.configuration.hub.api.Hub
Creates a writeable copy of the currently running database.
getWriteableDatabaseCopy() - Method in class org.glassfish.hk2.configuration.hub.internal.HubImpl
 
getWriteableType(String) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Gets a writeable type of the given name
getWriteableType(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
go() - Method in class org.jvnet.hk2.generator.internal.GeneratorRunner
Does the work of writing out the inhabitants file to the proper location
GuiceBridge - Class in org.jvnet.hk2.guice.bridge.api
This class can be used to initialize a ServiceLocator for use with the Guice/HK2 Bridge
GuiceBridge() - Constructor for class org.jvnet.hk2.guice.bridge.api.GuiceBridge
 
GuiceBridgeImpl - Class in org.jvnet.hk2.guice.bridge.internal
 
GuiceBridgeImpl() - Constructor for class org.jvnet.hk2.guice.bridge.internal.GuiceBridgeImpl
 
GuiceIntoHK2Bridge - Interface in org.jvnet.hk2.guice.bridge.api
Guice Bridge
GuiceIntoHK2BridgeImpl - Class in org.jvnet.hk2.guice.bridge.internal
 
GuiceIntoHK2BridgeImpl() - Constructor for class org.jvnet.hk2.guice.bridge.internal.GuiceIntoHK2BridgeImpl
 
GuiceScope - Annotation Type in org.jvnet.hk2.guice.bridge.api
 
GuiceScopeContext - Class in org.jvnet.hk2.guice.bridge.internal
 
GuiceScopeContext() - Constructor for class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
GuiceServiceHk2Bean<T> - Class in org.jvnet.hk2.guice.bridge.internal
 
GuiceServiceHk2Bean() - Constructor for class org.jvnet.hk2.guice.bridge.internal.GuiceServiceHk2Bean
For serialization
GuiceToHk2JITResolver - Class in org.jvnet.hk2.guice.bridge.internal
 

H

HabitatGenerator - Class in org.jvnet.hk2.generator
This is a command line (or embedded) utility that will generate habitat files based on @Service annotations.
HandleAndService - Class in org.glassfish.hk2.internal
Data structure with the handle and the service
HandleAndService(ServiceHandle<?>, Object) - Constructor for class org.glassfish.hk2.internal.HandleAndService
 
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 interface org.glassfish.hk2.configuration.api.ChildIterable
Returns an iterator of the children's Service Handle, rather than their services
handleIterator() - Method in class org.glassfish.hk2.configuration.internal.ChildIterableImpl
 
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
hasDynamicParameter(Method) - Static method in class org.glassfish.hk2.configuration.internal.BeanUtilities
 
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.extras.operation.internal.OperationHandleImpl
 
hashCode() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
hashCode() - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
 
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.GenericArrayTypeImpl
 
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
 
hasWeakKeys() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
hasWeakKeys() - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Tells if this WeakHashClock has Weak keys
hear(TypeLiteral<I>, TypeEncounter<I>) - Method in class org.jvnet.hk2.guice.bridge.internal.HK2ToGuiceTypeListenerImpl
 
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
HK2_LOCATOR - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
 
HK2BRIDGE_LOCATOR_ID - Static variable in class org.glassfish.hk2.extras.ExtrasUtilities
This will be put into the metadata of a descriptor that is bridged from another service locator.
HK2BRIDGE_SERVICE_ID - Static variable in class org.glassfish.hk2.extras.ExtrasUtilities
This will be put into the metadata of a descriptor that is bridged from another service locator.
Hk2BridgeImpl - Class in org.glassfish.hk2.extras.hk2bridge.internal
 
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
 
HK2InhabitantGeneratorTask - Class in org.jvnet.hk2.generator.ant
 
HK2InhabitantGeneratorTask() - Constructor for class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
HK2Inject - Annotation Type in org.jvnet.hk2.guice.bridge.api
In Guice you cannot override the meaning of {#link javax.inject.Inject}.
HK2IntoGuiceBridge - Class in org.jvnet.hk2.guice.bridge.api
This is an implementation of com.google.inject.Module that should be used if one wishes to inject HK2 services into Guice services
HK2IntoGuiceBridge(ServiceLocator) - Constructor for class org.jvnet.hk2.guice.bridge.api.HK2IntoGuiceBridge
Creates the HK2IntoGuiceBridge TypeLocator that must be bound into the Module with a call to bindListener.
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
Hk2LocatorUtilities - Class in org.jvnet.hk2.external.runtime
This is a utility class specific to this implementation of the hk2 API
Hk2LocatorUtilities() - Constructor for class org.jvnet.hk2.external.runtime.Hk2LocatorUtilities
 
HK2Runner - Class in org.jvnet.hk2.testing.junit
This class should be extended by test classes in order to get an automatically filled in ServiceLocator.
HK2Runner() - Constructor for class org.jvnet.hk2.testing.junit.HK2Runner
 
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
 
HK2TestModule - Interface in org.jvnet.hk2.testing.junit
 
HK2TestUtilities - Class in org.jvnet.hk2.testing.junit
These are other useful test utilities that can be used
HK2TestUtilities() - Constructor for class org.jvnet.hk2.testing.junit.HK2TestUtilities
 
Hk2ThreadLocal<T> - Class in org.glassfish.hk2.utilities.general
This is a poor mans version of a ThreadLocal with the one major upside of a Hk2ThreadLocal.removeAll() method that can be used to remove ALL instances of all thread locals on ALL threads from any other thread.
Hk2ThreadLocal() - Constructor for class org.glassfish.hk2.utilities.general.Hk2ThreadLocal
 
HK2ToGuiceTypeListenerImpl - Class in org.jvnet.hk2.guice.bridge.internal
 
HK2ToGuiceTypeListenerImpl(ServiceLocator) - Constructor for class org.jvnet.hk2.guice.bridge.internal.HK2ToGuiceTypeListenerImpl
Creates the HK2IntoGuiceBridge TypeLocator that must be bound into the Module with a call to bindListener.
Hub - Interface in org.glassfish.hk2.configuration.hub.api
The central repository of configuration objects in the system.
HubImpl - Class in org.glassfish.hk2.configuration.hub.internal
 
HubImpl() - Constructor for class org.glassfish.hk2.configuration.hub.internal.HubImpl
 
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
ImmediateController - Interface in org.glassfish.hk2.api
This service is advertised when the Immediate service is put into the registry.
ImmediateController.ImmediateServiceState - Enum in org.glassfish.hk2.api
 
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.
ImmediateLocalLocatorFilter - Class in org.glassfish.hk2.internal
Filter only picks up local services
ImmediateLocalLocatorFilter(long) - Constructor for class org.glassfish.hk2.internal.ImmediateLocalLocatorFilter
 
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.
IndentingXMLStreamWriter - Class in org.glassfish.hk2.utilities.general
 
IndentingXMLStreamWriter(XMLStreamWriter) - Constructor for class org.glassfish.hk2.utilities.general.IndentingXMLStreamWriter
 
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
 
InFlightGenerator - Interface in org.jvnet.hk2.generator
Allows an installer or other jar combiner to be able to scan multiple directories for HK2 services
InFlightGeneratorImpl - Class in org.jvnet.hk2.generator.internal
 
InFlightGeneratorImpl() - Constructor for class org.jvnet.hk2.generator.internal.InFlightGeneratorImpl
 
InhabitantAnnotation - Annotation Type in org.jvnet.hk2.annotations
Meta-annotation indicating that the annotation designates a resident service of a ServiceLocator.
InhabitantFiles - Annotation Type in org.jvnet.hk2.testing.junit.annotations
A set of locator inhabitant files to search for in the classpath.
InhabitantsBuilder - Class in org.jvnet.hk2.generator.eclipse
This is the builder for the Eclipse inhabitants generator project
InhabitantsBuilder() - Constructor for class org.jvnet.hk2.generator.eclipse.InhabitantsBuilder
 
InhabitantsGeneratorMojo - Class in org.jvnet.hk2.generator.maven
Generates inhabitant
InhabitantsGeneratorMojo() - Constructor for class org.jvnet.hk2.generator.maven.InhabitantsGeneratorMojo
 
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.
initialize() - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services.
initialize(String, List<String>, List<Class<?>>) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services from the given list of packages (in "." format) and with the set of classes given.
initialize(String, List<String>, List<Class<?>>, Set<String>) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services from the given list of packages (in "." format) and with the set of classes given.
initialize(String, List<String>, List<Class<?>>, Set<String>, Set<String>) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services from the given list of packages (in "." format) and with the set of classes given.
initializeGuiceBridge(ServiceLocator) - Method in class org.jvnet.hk2.guice.bridge.api.GuiceBridge
This method will initialize the given service locator for use with the Guice/HK2 bridge.
initializeGuiceBridge(ServiceLocator) - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceBridgeImpl
 
initializeSpringBridge(ServiceLocator) - Method in class org.jvnet.hk2.spring.bridge.api.SpringBridge
This method will initialize the given service locator for use with the Spring/HK2 bridge.
initializeSpringBridge(ServiceLocator) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringBridgeImpl
 
initialValue() - Method in class org.glassfish.hk2.utilities.general.Hk2ThreadLocal
Returns the current thread's "initial value" for this thread-local variable.
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.
INSTANCE - Static variable in annotation type org.glassfish.hk2.configuration.api.Configured
This value can be used to indicate that the injection point should be given the instance name.
Instance - Interface in org.glassfish.hk2.configuration.hub.api
 
INSTANCE_NAME - Static variable in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
The name of the single instance of this bean
InstanceImpl - Class in org.glassfish.hk2.configuration.hub.internal
 
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
 
Intercepted - Annotation Type in org.glassfish.hk2.extras.interception
Classes annotated with this qualifier are to be intercepted with the default interception service implementation.
InterceptionBinder - Annotation Type in org.glassfish.hk2.extras.interception
This annotation is placed on an annotation that can be used to indicate a binding between an interceptor (annotated with Interceptor) and a class to be intercepted (annotated with Intercepted).
InterceptionService - Interface in org.glassfish.hk2.api
This service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.
Interceptor - Annotation Type in org.glassfish.hk2.extras.interception
This annotation is placed on an implementation of either MethodInterceptor or ConstructorInterceptor in order to signify that these services should be automatically bound with the default interception service implementation.
InterceptorOrderingService - Interface in org.glassfish.hk2.extras.interception
This service can be used to modify, add or remove interceptors to the set of interceptors that will be called on a Method or Constructor in the default implementation of the interception service.
interpolate(String, MessageInterpolator.Context) - Method in class org.glassfish.hk2.utilities.general.internal.MessageInterpolatorImpl
 
interpolate(String, MessageInterpolator.Context, Locale) - Method in class org.glassfish.hk2.utilities.general.internal.MessageInterpolatorImpl
Runs the message interpolation according to algorithm specified in JSR 303.
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.configuration.internal.ConfiguredByContext
 
isActive() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
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.runlevel.RunLevelContext
 
isActive() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
isActive() - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
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
 
isActive() - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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
 
isCancelled() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isCancelled() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
isClassAGenerator(List<File>, String) - Method in class org.jvnet.hk2.generator.internal.Utilities
Returns true if it can be determined that this class is a generator
isClassAQualifier(List<File>, String) - Method in class org.jvnet.hk2.generator.internal.Utilities
Returns true if it can be determined that this class is a qualifier
isClassAScope(List<File>, String) - Method in class org.jvnet.hk2.generator.internal.Utilities
Returns true if it can be determined that this class is a scope
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
 
isCollectionArgumentConstructorSupported() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection implementation does not support a Collection argument constructor.
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.glassfish.hk2.configuration.internal.ChildInjectResolverImpl
 
isConstructorParameterIndicator() - Method in class org.glassfish.hk2.configuration.internal.ConfiguredByInjectionResolver
 
isConstructorParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
 
isDone() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isDone() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
isDown() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isDown() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
isDown() - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
Returns true if this job represents the system going from a higher level to a lower level.
isEmpty(String) - Static method in class org.glassfish.hk2.configuration.internal.BeanUtilities
 
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
isLookup(Injectee) - Method in class org.jvnet.hk2.testing.junit.internal.JustInTimeInjectionResolverImpl
Returns true if the supplied Injectee represents a service lookup rather than a true injection point.
isMapArgumentConstructorSupported() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses should override this method if their Map implementation does not support a Map argument constructor.
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.glassfish.hk2.configuration.internal.ChildInjectResolverImpl
 
isMethodParameterIndicator() - Method in class org.glassfish.hk2.configuration.internal.ConfiguredByInjectionResolver
 
isMethodParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
 
isNullArgumentConstructorSupported() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Subclasses should override this method if their Collection implementation does not support a null argument constructor.
isNullArgumentConstructorSupported() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Subclasses should override this method if their Map implementation does not support a null argument constructor.
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
isReified() - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
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
isUp() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isUp() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
isUp() - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
Returns true if this job represents the system going from a lower level to a higher level.
isVerbose() - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Returns true if this ServiceLocatorTestRule should output additional information to System.out.
isWar() - Method in class org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
 
IterableProvider<T> - Interface in org.glassfish.hk2.api
This object can be injected rather than Provider 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.glassfish.hk2.configuration.internal.ChildIterableImpl
 
iterator() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
 

J

justAssistedInject(Object, Method, ServiceLocatorImpl, ServiceHandle<?>, MethodParameter...) - Static method in class org.jvnet.hk2.internal.Utilities
Just injects this one method
justCreate(Class<T>, ServiceLocatorImpl, String) - Static method in class org.jvnet.hk2.internal.Utilities
Just creates the thing, doesn't try to do anything else
justInject(Object, ServiceLocatorImpl, String) - Static method in class org.jvnet.hk2.internal.Utilities
Just injects the thing, doesn't try to do anything else
JustInTimeInjectionResolver - Interface in org.glassfish.hk2.api
The JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.
JustInTimeInjectionResolverImpl - Class in org.jvnet.hk2.testing.junit.internal
 
JustInTimeInjectionResolverImpl() - Constructor for class org.jvnet.hk2.testing.junit.internal.JustInTimeInjectionResolverImpl
 
JustInTimeInjectionResolverImpl(Collection<?>) - Constructor for class org.jvnet.hk2.testing.junit.internal.JustInTimeInjectionResolverImpl
 
justInTimeResolution(Injectee) - Method in interface org.glassfish.hk2.api.JustInTimeInjectionResolver
This method will be called whenever an injection point cannot be resolved.
justInTimeResolution(Injectee) - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceToHk2JITResolver
 
justInTimeResolution(Injectee) - Method in class org.jvnet.hk2.spring.bridge.internal.SpringToHK2JITResolver
 
justInTimeResolution(Injectee) - Method in class org.jvnet.hk2.testing.junit.internal.JustInTimeInjectionResolverImpl
 
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.
lifecycleEvent(InstanceLifecycleEvent) - Method in class org.glassfish.hk2.extras.events.internal.DefaultTopicDistributionService
 
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.
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
LOCATOR_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
The flag for the name of the locator
locatorAdded(ServiceLocator) - Method in interface org.glassfish.hk2.api.ServiceLocatorListener
This method is called whenever a ServiceLocator has been added to the set of ServiceLocators.
locatorDestroyed(ServiceLocator) - Method in interface org.glassfish.hk2.api.ServiceLocatorListener
This method is called whenever a ServiceLocator will be removed from the set of ServiceLocators.
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

main(String[]) - Static method in class org.jvnet.hk2.generator.HabitatGenerator
This method will call System.exit() with a 0 on success and non-zero on failure
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
ManagerUtilities - Class in org.glassfish.hk2.configuration.hub.api
 
ManagerUtilities() - Constructor for class org.glassfish.hk2.configuration.hub.api.ManagerUtilities
 
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.ImmediateLocalLocatorFilter
 
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.
MessageInterpolatorImpl - Class in org.glassfish.hk2.utilities.general.internal
 
MessageInterpolatorImpl() - Constructor for class org.glassfish.hk2.utilities.general.internal.MessageInterpolatorImpl
 
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
METHOD_NAME - Static variable in class org.jvnet.hk2.generator.internal.ClassVisitorImpl
Must be the same value as from the GenerateServiceFromMethod value
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
 
MethodParameter - Interface in org.glassfish.hk2.api
This is used to describe the values to be given to the method in the ServiceLocator.assistedInject(Object, java.lang.reflect.Method, MethodParameter...) method
MethodParameterImpl - Class in org.glassfish.hk2.utilities
An implementation of MethodParameter that has immutable position and value
MethodParameterImpl(int, Object) - Constructor for class org.glassfish.hk2.utilities.MethodParameterImpl
 
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
 
modifyConstructorInterceptors(Constructor<?>, List<ServiceHandle<ConstructorInterceptor>>) - Method in interface org.glassfish.hk2.extras.interception.InterceptorOrderingService
This method is called for each constructor that may be intercepted by the default interception service.
modifyInstance(String, Object, PropertyChangeEvent...) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableType
Modifies the instance with the given key
modifyInstance(String, Object, PropertyChangeEvent...) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
modifyMethodInterceptors(Method, List<ServiceHandle<MethodInterceptor>>) - Method in interface org.glassfish.hk2.extras.interception.InterceptorOrderingService
This method is called for each method that may be intercepted by the default interception service.
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.
next() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
next() - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Returns the next key/value pair in the clock, or null if the clock has no members.
NO_DATE_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
This option gives the name of directory in the target location where the file should be placed
NOSWAP_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
This option will write files in-place, which is quicker but will remove existing files prior to writing new ones
NULL_KEY - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 
NULL_VALUE - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 

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
 
onCancelled(RunLevelFuture, int) - Method in interface org.glassfish.hk2.runlevel.RunLevelListener
Called when an RunLevelController implementation's proceedTo() operation has been canceled for some reason.
ONE - Static variable in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
 
ONE_KEY - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 
ONE_VALUE - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 
onError(RunLevelFuture, ErrorInformation) - Method in interface org.glassfish.hk2.runlevel.RunLevelListener
Called when a service throws an exception during a proceedTo operation
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
 
onFailure(ErrorInformation) - Method in class org.jvnet.hk2.testing.junit.internal.ErrorServiceImpl
 
onProgress(ChangeableRunLevelFuture, int) - Method in interface org.glassfish.hk2.runlevel.RunLevelListener
Called when the RunLevelController advances to the next level
onProgressStarting(ChangeableRunLevelFuture, int) - Method in interface org.glassfish.hk2.runlevel.ProgressStartedListener
Called when the RunLevelController starts progressing to a new level but before any work has been done yet
Operation - Enum in org.glassfish.hk2.api
This defines the operations that may be validated
OperationContext<T extends Annotation> - Class in org.glassfish.hk2.extras.operation
The implementation of Context for an Operation.
OperationContext() - Constructor for class org.glassfish.hk2.extras.operation.OperationContext
 
OperationDescriptor<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
OperationDescriptor(T, SingleOperationManager<T>) - Constructor for class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
OperationHandle<T extends Annotation> - Interface in org.glassfish.hk2.extras.operation
This handle is used to associate or dis-associate threads with Operations.
OperationHandleImpl<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
OperationIdentifier<T extends Annotation> - Interface in org.glassfish.hk2.extras.operation
Unique identifier for an Operation.
OperationIdentifierImpl<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
OperationManager - Interface in org.glassfish.hk2.extras.operation
Manages HK2 operations, allowing the user to create new operations of a particular type or discover the current set of active operations or find the current operation on the current thread
OperationManagerImpl - Class in org.glassfish.hk2.extras.operation.internal
 
OperationManagerImpl() - Constructor for class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
OperationState - Enum in org.glassfish.hk2.extras.operation
Describes the general state of the Operation
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.configuration.api - package org.glassfish.hk2.configuration.api
 
org.glassfish.hk2.configuration.hub.api - package org.glassfish.hk2.configuration.hub.api
 
org.glassfish.hk2.configuration.hub.internal - package org.glassfish.hk2.configuration.hub.internal
 
org.glassfish.hk2.configuration.internal - package org.glassfish.hk2.configuration.internal
 
org.glassfish.hk2.configuration.persistence.properties - package org.glassfish.hk2.configuration.persistence.properties
 
org.glassfish.hk2.configuration.persistence.properties.internal - package org.glassfish.hk2.configuration.persistence.properties.internal
 
org.glassfish.hk2.extension - package org.glassfish.hk2.extension
 
org.glassfish.hk2.extras - package org.glassfish.hk2.extras
 
org.glassfish.hk2.extras.events - package org.glassfish.hk2.extras.events
 
org.glassfish.hk2.extras.events.internal - package org.glassfish.hk2.extras.events.internal
 
org.glassfish.hk2.extras.hk2bridge.internal - package org.glassfish.hk2.extras.hk2bridge.internal
 
org.glassfish.hk2.extras.interception - package org.glassfish.hk2.extras.interception
 
org.glassfish.hk2.extras.interception.internal - package org.glassfish.hk2.extras.interception.internal
 
org.glassfish.hk2.extras.operation - package org.glassfish.hk2.extras.operation
 
org.glassfish.hk2.extras.operation.internal - package org.glassfish.hk2.extras.operation.internal
 
org.glassfish.hk2.internal - package org.glassfish.hk2.internal
 
org.glassfish.hk2.runlevel - package org.glassfish.hk2.runlevel
 
org.glassfish.hk2.runlevel.internal - package org.glassfish.hk2.runlevel.internal
 
org.glassfish.hk2.runlevel.utilities - package org.glassfish.hk2.runlevel.utilities
 
org.glassfish.hk2.testing.collections - package org.glassfish.hk2.testing.collections
 
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.general.internal - package org.glassfish.hk2.utilities.general.internal
 
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.generator - package org.jvnet.hk2.generator
 
org.jvnet.hk2.generator.ant - package org.jvnet.hk2.generator.ant
 
org.jvnet.hk2.generator.eclipse - package org.jvnet.hk2.generator.eclipse
 
org.jvnet.hk2.generator.internal - package org.jvnet.hk2.generator.internal
 
org.jvnet.hk2.generator.maven - package org.jvnet.hk2.generator.maven
 
org.jvnet.hk2.guice.bridge.api - package org.jvnet.hk2.guice.bridge.api
 
org.jvnet.hk2.guice.bridge.internal - package org.jvnet.hk2.guice.bridge.internal
 
org.jvnet.hk2.internal - package org.jvnet.hk2.internal
 
org.jvnet.hk2.spring.bridge.api - package org.jvnet.hk2.spring.bridge.api
 
org.jvnet.hk2.spring.bridge.internal - package org.jvnet.hk2.spring.bridge.internal
 
org.jvnet.hk2.testing.junit - package org.jvnet.hk2.testing.junit
 
org.jvnet.hk2.testing.junit.annotations - package org.jvnet.hk2.testing.junit.annotations
 
org.jvnet.hk2.testing.junit.internal - package org.jvnet.hk2.testing.junit.internal
 
OUTJAR_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
The name of the JAR file to write to (defaults to input file, ignored if input file is directory)

P

Packages - Annotation Type in org.jvnet.hk2.testing.junit.annotations
The list of packages (in "." format, i.e.
ParameterizedTypeImpl - Class in org.glassfish.hk2.utilities.reflection
 
ParameterizedTypeImpl(Type, Type...) - Constructor for class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
A new parameterized type
PARENT_CONFIGURED - Static variable in class org.jvnet.hk2.generator.internal.ClassVisitorImpl
Must be the same value as from the GenerateServiceFromMethod value
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.
performDependencyInjection(ServiceLocator, T) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Performs HK2 dependency injection on this ServiceLocatorTestRule and the supplied test instance, using the supplied ServiceLocator as needed.
PerLocatorUtilities - Class in org.jvnet.hk2.internal
These utilities are per service locator.
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
 
popInjectee() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
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.
PostDynamicChange - Annotation Type in org.glassfish.hk2.configuration.api
A method marked with this annotation will be invoked after to dynamic change have been applied to a service.
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.
PreDynamicChange - Annotation Type in org.glassfish.hk2.configuration.api
A method marked with this annotation will be invoked prior to dynamic changes being applied to a service.
prepareDatabaseChange(BeanDatabase, BeanDatabase, Object, List<Change>) - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabaseUpdateListener
This method will be called prior to the bean database being updated.
prepareDatabaseChange(BeanDatabase, BeanDatabase, Object, List<Change>) - Method in class org.glassfish.hk2.configuration.internal.ConfigurationListener
 
prepareDynamicConfiguration(TwoPhaseTransactionData) - Method in interface org.glassfish.hk2.api.TwoPhaseResource
This method is called prior to any changes being made to the ServiceLocator but after the IdempotentFilters are called.
PrepareFailedException - Exception in org.glassfish.hk2.configuration.hub.api
PrepareFailedException() - Constructor for exception org.glassfish.hk2.configuration.hub.api.PrepareFailedException
 
PrepareFailedException(Throwable) - Constructor for exception org.glassfish.hk2.configuration.hub.api.PrepareFailedException
 
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
proceedTo(int) - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
This method is called to change the proceedTo level of the system
proceedTo(int) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
proceedTo(int) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
This method will move to the given run level synchronously as per RunLevelController.proceedToAsync(int).
proceedToAsync(int) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
proceedToAsync(int) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Causes this RunLevelController to move to the specified run level for all RunLevel instances, orchestrating the appropriate lifecycle events.
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
 
ProgressStartedListener - Interface in org.glassfish.hk2.runlevel
Instances of classes implementing this contract can be registered with HK2 to be informed when the system starts progressing to a new level, either upward or downward
project - Variable in class org.jvnet.hk2.generator.maven.AbstractInhabitantsGeneratorMojo
The maven project.
PropertyFileBean - Class in org.glassfish.hk2.configuration.persistence.properties
This bean configures the PropertyFileService itself.
PropertyFileBean() - Constructor for class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
A null constructor for creating an empty PropertyFileBean
PropertyFileBean(PropertyFileBean) - Constructor for class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
This method will create a deep copy of the passed in PropertyFileBean
PropertyFileHandle - Interface in org.glassfish.hk2.configuration.persistence.properties
This handle is used to read property files and put the values into the HK2 configuration hub.
PropertyFileHandleImpl - Class in org.glassfish.hk2.configuration.persistence.properties.internal
 
PropertyFileService - Interface in org.glassfish.hk2.configuration.persistence.properties
This service will read a java property file and add its contents to the HK2 configuration hub.
PropertyFileServiceImpl - Class in org.glassfish.hk2.configuration.persistence.properties.internal
 
PropertyFileServiceImpl() - Constructor for class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
PropertyFileUtilities - Class in org.glassfish.hk2.configuration.persistence.properties
This utility should be used when initializing hk2 in order to properly add the PropertyFileService to a specific registry
PropertyFileUtilities() - Constructor for class org.glassfish.hk2.configuration.persistence.properties.PropertyFileUtilities
 
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
 
pushInjectee(Injectee) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
 
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
put(K, V) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
put(K, V) - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Adds the given pair to the clock.

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 binding 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.
readProperties(Properties) - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileHandleImpl
 
readProperties(Properties) - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileHandle
Reads the file associated with this handle and will do the following: Add any type found not previously added by this handle Add any instance found not previously added by this handle Modify any property that has changed value Remove any instance no longer seen in the file but that had previously been added In particular this method will NOT remove a type that was previously added but which has no more instances (other files may be contributing to the same type).
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
 
ReflectionUtilities - Class in org.glassfish.hk2.extras.interception.internal
 
ReflectionUtilities() - Constructor for class org.glassfish.hk2.extras.interception.internal.ReflectionUtilities
 
registerDestructionCallback(String, Runnable) - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
 
registerTwoPhaseResources(TwoPhaseResource...) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
Registers two-phase resources in the order in which they are to run.
registerTwoPhaseResources(TwoPhaseResource...) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
 
registerTwoPhaseResources(TwoPhaseResource...) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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.internal.WeakCARCacheImpl
 
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
releaseMatching(CacheKeyFilter<K>) - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Releases all key/value pairs that match the filter
releaseMatching(CacheKeyFilter<K>) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
releaseMatching(CacheKeyFilter<K>) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
releaseMatching(CacheKeyFilter<K>) - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Releases all key/value pairs that match the filter
releaseMatching(CacheKeyFilter<K>) - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Releases all keys that match the filter
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.internal.WeakCARCacheImpl
 
remove(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
Remove given item from the cache.
remove(K) - Method in interface org.glassfish.hk2.utilities.cache.WeakCARCache
Used to remove a single key and value from the cache (if the value is available)
remove() - Method in class org.glassfish.hk2.utilities.general.Hk2ThreadLocal
Removes the current thread's value for this thread-local variable.
remove(K) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
remove(K) - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
remove() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
remove(K) - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Removes the given key from the clock, if found
remove(K) - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Removes the given key from the LRU, if found
remove() - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Removes the key that was Least Recently Used
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.
remove(String) - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
 
removeAdvertisedContract(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Removes an advertised contract from the set of contracts advertised by this descriptor
removeAll() - Method in class org.glassfish.hk2.utilities.general.Hk2ThreadLocal
Removes all threads current thread's value for this thread-local variable.
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.
removeInstance(String) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableType
Removes the instance with the given key from the type
removeInstance(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
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.
removePropertyFileBean() - Method in class org.glassfish.hk2.configuration.persistence.properties.internal.PropertyFileServiceImpl
 
removePropertyFileBean() - Method in interface org.glassfish.hk2.configuration.persistence.properties.PropertyFileService
This is a utility method that will remove the PropertyFileBean from the Hub if it is present
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
removeType(String) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Removed the given type and all of its instances from the database.
removeType(String) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
removeTypeMapping(String) - Method in class org.glassfish.hk2.configuration.persistence.properties.PropertyFileBean
Removes the type mapping with the given name
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.glassfish.hk2.configuration.internal.ChildInjectResolverImpl
 
resolve(Injectee, ServiceHandle<?>) - Method in class org.glassfish.hk2.configuration.internal.ConfiguredByInjectionResolver
 
resolve(Injectee, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
 
resolveContextualObject(String) - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
 
resolveField(Class<?>, Field) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Resolves the generic type of a field given the actual class being instantiated
resolveKnownType(TypeVariable<?>, ParameterizedType, Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
If you have a class that declares type variables (knownDeclaringClass) and the type the user has told us it should be (knownType) then return the replaced type for the given userType.
resolveMember(Class<?>, Type, Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
Resolves the generic type of a type and declaring class given the actual class being instantiated
RESOURCE_BASE - Static variable in interface org.glassfish.hk2.api.DescriptorFileFinder
The name of the default location for hk2 inhabitant files
resume(long) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
resume() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
resume(long) - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Resumes this operation on the given thread id.
resume() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Resumes this operation on the current thread.
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
 
rollbackDatabaseChange(BeanDatabase, BeanDatabase, Object, List<Change>) - Method in interface org.glassfish.hk2.configuration.hub.api.BeanDatabaseUpdateListener
rollbackDatabaseChange(BeanDatabase, BeanDatabase, Object, List<Change>) - Method in class org.glassfish.hk2.configuration.internal.ConfigurationListener
 
rollbackDynamicConfiguration(TwoPhaseTransactionData) - Method in interface org.glassfish.hk2.api.TwoPhaseResource
If any TwoPhaseResource fails then all TwoPhaseResources that successfully completed their prepare method will get this method invoked.
RollbackFailedException - Exception in org.glassfish.hk2.configuration.hub.api
RollbackFailedException() - Constructor for exception org.glassfish.hk2.configuration.hub.api.RollbackFailedException
For serialization
RollbackFailedException(Throwable) - Constructor for exception org.glassfish.hk2.configuration.hub.api.RollbackFailedException
 
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
RunLevel - Annotation Type in org.glassfish.hk2.runlevel
Defines a run/start level.
RUNLEVEL_MODE_META_TAG - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
The metadata key for run level mode.
RUNLEVEL_MODE_NON_VALIDATING - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
Services set to have a non-validating run level mode will be activated by their associated run level service or through injection into another service.
RUNLEVEL_MODE_VALIDATING - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
Services set to have a validating run level mode will be activated and deactivated by their associated run level service but may also be activated through injection into another service.
RUNLEVEL_VAL_IMMEDIATE - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
The immediate run level.
RUNLEVEL_VAL_INITIAL - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
The initial run level.
RUNLEVEL_VAL_META_TAG - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
The metadata key for run level value.
RunLevelContext - Class in org.glassfish.hk2.runlevel
This is the implementation of the Context for the RunLevel scope
RunLevelController - Interface in org.glassfish.hk2.runlevel
A RunLevelContoller controls the current state of services registered in the RunLevel scope.
RunLevelController.ThreadingPolicy - Enum in org.glassfish.hk2.runlevel
These are the policies for how the RunLevelController will use threads
RunLevelControllerImpl - Class in org.glassfish.hk2.runlevel.internal
This is the implementation of the RunLevelController
RunLevelControllerImpl() - Constructor for class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
RunLevelException - Exception in org.glassfish.hk2.runlevel
Exception related to the operations of the RunLevelController.
RunLevelException() - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
Basic no-args constructor
RunLevelException(String) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
Exception with message
RunLevelException(Throwable) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
Exception with origin
RunLevelException(String, Throwable) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
Exception with message and origin
RunLevelFuture - Interface in org.glassfish.hk2.runlevel
This is the Future object that will be returned by the RunLevelController and it contains extra information about the job being done
RunLevelListener - Interface in org.glassfish.hk2.runlevel
Instances of classes implementing this contract can be registered with HK2 to be informed of events of RunLevelControllers.
RunLevelServiceModule - Class in org.glassfish.hk2.runlevel
This module can be used to enable the RunLevelService in a system not using automatic service discovery.
RunLevelServiceModule() - Constructor for class org.glassfish.hk2.runlevel.RunLevelServiceModule
 
RunLevelServiceUtilities - Class in org.glassfish.hk2.runlevel
Utilities for using the RunLevelService
RunLevelServiceUtilities() - Constructor for class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
 

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
SEARCHPATH_ARG - Static variable in class org.jvnet.hk2.generator.HabitatGenerator
The path-separator delimited list of files to search for contracts and qualifiers (defaults to classpath)
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 the 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.
ServiceLocatorTestRule<T> - Class in org.jvnet.hk2.testing.junit
An ExternalResource (and a Binder) that sets up and tears down an HK2 ServiceLocator on a per-test-class or per-test-method basis.
ServiceLocatorTestRule(T) - Constructor for class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Creates a new ServiceLocatorTestRule on behalf of the supplied JUnit test in ServiceLocatorTestRule.ServiceLocatorIsolation.PER_TEST isolation in non-verbose mode.
ServiceLocatorTestRule(T, boolean) - Constructor for class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Creates a new ServiceLocatorTestRule on behalf of the supplied JUnit test in ServiceLocatorTestRule.ServiceLocatorIsolation.PER_TEST isolation with the supplied verbosity.
ServiceLocatorTestRule(T, ServiceLocatorTestRule.ServiceLocatorIsolation) - Constructor for class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Creates a new ServiceLocatorTestRule on behalf of the supplied JUnit test in the given ServiceLocatorTestRule.ServiceLocatorIsolation in non-verbose mode.
ServiceLocatorTestRule(T, ServiceLocatorTestRule.ServiceLocatorIsolation, boolean) - Constructor for class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Creates a new ServiceLocatorTestRule on behalf of the supplied JUnit test in the given ServiceLocatorTestRule.ServiceLocatorIsolation.
ServiceLocatorTestRule.ServiceLocatorIsolation - Enum in org.jvnet.hk2.testing.junit
An enum describing possible ServiceLocator isolation levels for JUnit tests.
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(T) - Method in class org.glassfish.hk2.utilities.general.Hk2ThreadLocal
Sets the current thread's copy of this thread-local variable to the specified value.
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.
setAction(ErrorInformation.ErrorAction) - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
Sets the action the system should take
setAction(ErrorInformation.ErrorAction) - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
 
setCache(T) - Method in interface org.glassfish.hk2.api.SingleCache
Sets the value into the cache
setCache(Object) - Method in class org.glassfish.hk2.configuration.internal.DelegatingNamedActiveDescriptor
 
setCache(T) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
setCache(T) - Method in class org.jvnet.hk2.internal.SystemDescriptor
 
setCancelTimeoutMilliseconds(long) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setCancelTimeoutMilliseconds(long) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Sets the amount of time in milliseconds the run level service will wait after a cancel call before orphaning services that have not yet completed execution
setClassAnalysisName(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the name of the service that will be used to analyze this class
setCommitMessage(Object) - Method in interface org.glassfish.hk2.configuration.hub.api.WriteableBeanDatabase
Sets the commit message for this writeable bean database
setCommitMessage(Object) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
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
setExecutor(Executor) - Method in interface org.glassfish.hk2.api.ImmediateController
Sets the executor to be used by the Immediate subsystem.
setExecutor(Executor) - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
setExecutor(Executor) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setExecutor(Executor) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Sets the executor to use for the next job.
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
setHardenedKey(K) - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
setImmediateState(ImmediateController.ImmediateServiceState) - Method in interface org.glassfish.hk2.api.ImmediateController
Sets the state the system is currently running under
setImmediateState(ImmediateController.ImmediateServiceState) - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
setImplementation(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the implementation
setImplementationType(Type) - Method in class org.glassfish.hk2.extras.hk2bridge.internal.CrossOverDescriptor
 
setImplementationType(Type) - Method in class org.glassfish.hk2.extras.operation.internal.OperationDescriptor
 
setImplementationType(Type) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
 
setImplementationType(Type) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
 
setImplementationType(Type) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
 
setIncludeDate(boolean) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
setIndentStep(int) - Method in class org.glassfish.hk2.utilities.general.IndentingXMLStreamWriter
Deprecated.
Should use the version that takes string.
setIndentStep(String) - Method in class org.glassfish.hk2.utilities.general.IndentingXMLStreamWriter
 
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
setLocator(String) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
setLocatorId(Long) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
Sets the locator id for this descriptor
setMaximumUseableThreads(int) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setMaximumUseableThreads(int) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
This sets the maximum number of threads that the system can create for creation and/or destruction of threads.
setMetadata(Object) - Method in interface org.glassfish.hk2.configuration.hub.api.Instance
Sets an object containing information about this instance.
setMetadata(Object) - Method in interface org.glassfish.hk2.configuration.hub.api.Type
Sets an object containing information about this type.
setMetadata(Object) - Method in class org.glassfish.hk2.configuration.hub.internal.InstanceImpl
 
setMetadata(Object) - Method in class org.glassfish.hk2.configuration.hub.internal.TypeImpl
 
setMetadata(Object) - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
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
setName(String) - Method in class org.jvnet.hk2.generator.internal.GenerateMethodAnnotationData
 
setNameMethodName(String) - Method in class org.jvnet.hk2.generator.internal.GenerateMethodAnnotationData
 
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
 
setNext(DoubleNode<K, V>) - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
setNoSwap(boolean) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
setOperationData(Object) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
setOperationData(Object) - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Sets arbitrary Operation data to be associated with this Operation
setOperationManager(SingleOperationManager<T>) - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
setOptional(boolean) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
Sets whether or not this Injectee should be considered optional
setOutputDirectory(File) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
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.
setPrevious(DoubleNode<K, V>) - Method in class org.glassfish.hk2.utilities.general.internal.DoubleNode
 
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.configuration.internal.DelegatingNamedActiveDescriptor
 
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
setRemote(ServiceLocator) - Method in class org.glassfish.hk2.extras.hk2bridge.internal.Hk2BridgeImpl
 
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
setServiceLocator(ServiceLocator) - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
Sets the service locator to use with this scope
setServiceLocatorName(String) - Method in class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
This can be used to configure the name of the service locator to use
setTargetDirectory(File) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
setThreadInactivityTimeout(long) - Method in interface org.glassfish.hk2.api.ImmediateController
Sets the time in milliseconds a thread will wait for new Immediate services before dying
setThreadInactivityTimeout(long) - Method in class org.glassfish.hk2.internal.ImmediateHelper
 
setThreadingPolicy(RunLevelController.ThreadingPolicy) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setThreadingPolicy(RunLevelController.ThreadingPolicy) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Sets the threading policy that will be used by this controller.
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.
setValidationOverride(Integer) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setValidationOverride(Integer) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Sets the override value for the RunLevel.mode() field in RunLevel services.
setVerbose(boolean) - Method in class org.jvnet.hk2.generator.ant.HK2InhabitantGeneratorTask
 
setVerbosity(boolean) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
 
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.configuration.internal.ConfiguredByContext
 
shutdown() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
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.runlevel.RunLevelContext
 
shutdown() - Method in class org.glassfish.hk2.utilities.ImmediateContext
For when the server shuts down
shutdown() - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
shutdown() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
 
shutdown() - Method in class org.jvnet.hk2.internal.PerLookupContext
 
shutdown() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
 
shutdown() - Method in class org.jvnet.hk2.internal.SingletonContext
 
shutdown() - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
shutdownAllOperations(Annotation) - Method in class org.glassfish.hk2.extras.operation.internal.OperationManagerImpl
 
shutdownAllOperations(Annotation) - Method in interface org.glassfish.hk2.extras.operation.OperationManager
This method will suspend all currently open operations on all threads and then close them.
shutdownAndDestroyServiceLocator(Description) - Method in class org.jvnet.hk2.testing.junit.ServiceLocatorTestRule
Blindly calls the ServiceLocator.shutdown() and ServiceLocatorFactory.destroy(ServiceLocator) methods on this ServiceLocatorTestRule's associated ServiceLocator if it is discovered to be non-null.
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.
SingleOperationManager<T extends Annotation> - Class in org.glassfish.hk2.extras.operation.internal
 
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 class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
size() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl
 
size() - Method in interface org.glassfish.hk2.utilities.general.WeakHashClock
Returns the number of elements currently in the clock.
size() - Method in interface org.glassfish.hk2.utilities.general.WeakHashLRU
Returns the number of elements currently in the clock.
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
 
sort(List<ServiceHandle<?>>) - Method in interface org.glassfish.hk2.runlevel.Sorter
Sort the given list of run level service handles.
Sorter - Interface in org.glassfish.hk2.runlevel
Contract for sorting descriptors for run level services.
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
SpringBridge - Class in org.jvnet.hk2.spring.bridge.api
An adapter for creating a Spring bridge
SpringBridge() - Constructor for class org.jvnet.hk2.spring.bridge.api.SpringBridge
 
SpringBridgeImpl - Class in org.jvnet.hk2.spring.bridge.internal
 
SpringBridgeImpl() - Constructor for class org.jvnet.hk2.spring.bridge.internal.SpringBridgeImpl
 
SpringIntoHK2Bridge - Interface in org.jvnet.hk2.spring.bridge.api
This service is used to give HK2 spring BeanFactories in which to find Spring services
SpringIntoHK2BridgeImpl - Class in org.jvnet.hk2.spring.bridge.internal
 
SpringIntoHK2BridgeImpl() - Constructor for class org.jvnet.hk2.spring.bridge.internal.SpringIntoHK2BridgeImpl
 
SpringScope - Annotation Type in org.jvnet.hk2.spring.bridge.api
 
SpringScopeContext - Class in org.jvnet.hk2.spring.bridge.internal
 
SpringScopeContext() - Constructor for class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
SpringScopeImpl - Class in org.jvnet.hk2.spring.bridge.api
 
SpringScopeImpl() - Constructor for class org.jvnet.hk2.spring.bridge.api.SpringScopeImpl
 
SpringServiceHK2Bean<T> - Class in org.jvnet.hk2.spring.bridge.internal
 
SpringServiceHK2Bean() - Constructor for class org.jvnet.hk2.spring.bridge.internal.SpringServiceHK2Bean
For serialization
SpringToHK2JITResolver - Class in org.jvnet.hk2.spring.bridge.internal
 
StarFilter - Class in org.glassfish.hk2.internal
A filter that gets everything! w00t w00t!
StarFilter() - Constructor for class org.glassfish.hk2.internal.StarFilter
 
Stub - Annotation Type in org.glassfish.hk2.utilities
When this annotation is placed on an abstract class the methods of the class that are abstract will be generated into a subclass by the hk2-metadata-generator along with an empty Service annotation
Stub.Type - Enum in org.glassfish.hk2.utilities
 
subscribersFailed(Topic<?>, Object, MultiException) - Method in interface org.glassfish.hk2.extras.events.DefaultTopicDistributionErrorService
This method will be called once per Topic.publish(Object) call after the message has been distributed to all subscribers.
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.configuration.internal.ConfiguredByContext
 
supportsNullCreation() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
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.runlevel.RunLevelContext
 
supportsNullCreation() - Method in class org.glassfish.hk2.utilities.ImmediateContext
 
supportsNullCreation() - Method in class org.jvnet.hk2.guice.bridge.internal.GuiceScopeContext
 
supportsNullCreation() - Method in class org.jvnet.hk2.internal.PerLookupContext
 
supportsNullCreation() - Method in class org.jvnet.hk2.internal.SingletonContext
 
supportsNullCreation() - Method in class org.jvnet.hk2.spring.bridge.internal.SpringScopeContext
 
suspend(long) - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
suspend() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
suspend(long) - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Suspends this operation on the given thread id.
suspend() - Method in interface org.glassfish.hk2.extras.operation.OperationHandle
Suspends this operation on the current thread.
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

testAddAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that addAll throws with null input
testAddAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an addAll works with an empty input
testAddAllWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that addAll with an index works properly
testAddAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an addAll works with an empty input (non empty initial collection)
testAddAllWithNonEmptyCollectionAndNonEmptyInputDups() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an addAll works with an non empty input with duplication
testAddAllWithNonEmptyCollectionAndNonEmptyInputNoDups() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an addAll works with an non empty input
testAddOneThousandEntries() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tries to test the resizing of the collection by adding 1000 items
testAddOneThousandEntries() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tries to test the resizing of the collection by adding 1000 items
testAddReturnsProperValueForDuplicateAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that add returns the proper value
testAddReturnsProperValueForNonDuplicateAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that add returns the proper value
testAddToBeginningOfNonEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
 
testAddWithBadHighIndexThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that add with an bad index (too high) fails
testAddWithBadLowIndexThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that add with an bad index (-1) fails
testAddWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that add with an index works
testAllElementsOfCollectionInConstructedList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that the elements of the original collection are in the new List in the proper order
testCanAddToAList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that a single element can be added to the list
testCanAddToCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that a single element can be added to the list
testCanAddToMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that a single element can be added to the list
testCanCollectionHaveNullAndNonNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that lists can have null elements interspersed with non-null elements
testCanCollectionHaveNullAndNonNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that lists can have null elements interspersed with non-null elements
testCanCollectionHaveNullAndNonNullEntries() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that maps can have null keys and values interspersed with non-null entries
testCanCollectionHaveNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that the collection functions properly with a null element added
testCanCollectionHaveNullElements() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that the list functions properly with a null element added
testCanMapHaveNullKeys() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that the map functions properly with a null key added
testCanMapHaveNullValues() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that the map functions properly with a null value added
testClearOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that clear works on an empty map
testClearOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that putAll works with an non-empty map and an non-empty adding map
testClearWorksOnEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Makes sure clear works on an already empty collection
testClearWorksOnNonEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Makes sure clear works on an already empty collection
TestCollectionElement - Interface in org.glassfish.hk2.testing.collections
This is an interface for TestCollectionElements.
testCollectionFromCollectionConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that a list constructed from the empty collection constructor has size zero
testCollectionFromNullConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that a list constructed from the null constructor has size zero
testCollectionToArrayWithArgumentWithCollectionOfMultipleItems() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an multi-valued collection.
testCollectionToArrayWithArgumentWithCollectionOfOneItem() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an empty collection
testCollectionToArrayWithArgumentWithEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an empty collection
testCollectionToArrayWithArgumentWithNullThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an multi-valued collection.
testCollectionToArrayWithCollectionOfMultipleItems() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an multi-valued collection.
testCollectionToArrayWithCollectionOfMultipleItems() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
In a List the order in the array is guaranteed, so test that here
testCollectionToArrayWithCollectionOfOneItem() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an empty collection
testCollectionToArrayWithEmptyCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that toArray works on an empty collection
testCollectionValue() - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
 
testCollectionValue() - Method in interface org.glassfish.hk2.testing.collections.TestCollectionElement
TestCollectionElements will be created with a single string, and must return that string with this method when called.
testContainsAfterAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that contains works properly
testContainsAfterPut() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that contains works properly
testContainsAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an containsAll works with an non empty input for which the list does not contain at least one of the things
testContainsAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an empty containsAll works on an empty list
testContainsAllWithNonEmptyCollectionAndCorrectInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an containsAll works with an non empty input
testContainsAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an containsAll works with an empty input
testContainsAllWithNonEmptyCollectionAndIncorrectInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an containsAll works with an non empty input for which the list does not contain at least one of the things
testDoubleIteratorRemoveThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that removing an element from an iterator with a single element works
testEntrySetOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that entrySet works with an empty map
testEntrySetOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that entrySet works with an non-empty map
testFallingOffEndOfEmptyIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that calling next off an empty iterator throws the proper exception
testFallingOffEndOfNonEmptyIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that the iterator from a non-empty list works
testIndexOf() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests indexOf functionality
TestInhabitantsGeneratorMojo - Class in org.jvnet.hk2.generator.maven
Generates inhabitant
TestInhabitantsGeneratorMojo() - Constructor for class org.jvnet.hk2.generator.maven.TestInhabitantsGeneratorMojo
 
testIteratorRemoveOnEmptyIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an iterator from a Collection with more than one element can remove the proper values.
testIteratorReturnedFromEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that the iterator from an empty list works
testKeySetOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that keySet works with an empty map
testKeySetOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that keySet works with an non-empty map
testLastIndexOf() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests lastIndexOf functionality
testListColnstructedWithNullCollectionThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that a list constructed from the empty collection constructor has size zero
testListIteratorAddAfterNext() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go forward with the ListIterator, using the index version of listIterator, from the middle of the list
testListIteratorAddAfterPrevious() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go forward with the ListIterator, using the index version of listIterator, from the middle of the list
testListIteratorBackwardAndForward() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go backward and forward with the ListIterator, using the index version of listIterator
testListIteratorBackwardFromMiddle() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go backward with the ListIterator, using the index version of listIterator, from the middle of the list
testListIteratorForwardAndBack() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go backward and forward with the ListIterator
testListIteratorForwardFromMiddle() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go forward with the ListIterator, using the index version of listIterator, from the middle of the list
testListIteratorOnEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests a ListIterator on an empty list
testListIteratorRemoveAfterNext() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests the ListIterators remove operation
testListIteratorRemoveAfterPrevious() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests the ListIterators remove operation
testListIteratorSetAfterNext() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go forward with the ListIterator, using the index version of listIterator, from the middle of the list
testListIteratorSetAfterPrevious() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests we can go forward with the ListIterator, using the index version of listIterator, from the middle of the list
testListIteratorSetThrowsIfAfterAdd() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests the ListIterators remove operation
testListIteratorSetThrowsIfAfterRemove() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests the ListIterators remove operation
testListIteratorSetThrowsIfNeverMoved() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests the ListIterators remove operation
testListIteratorThrowsIfNeverMoved() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests the ListIterators remove operation
testListIteratorWithBadIndexHighThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
 
testListIteratorWithBadIndexLowThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
 
testLocator - Variable in class org.jvnet.hk2.testing.junit.HK2Runner
Test classes can use this service locator as their private test locator
testMapConstructedWithNullMapThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that a list constructed from the empty collection constructor has size zero
testMapFromMapConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that a list constructed from the empty collection constructor has size zero
testMapFromNullConstructorHasZeroSize() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that a list constructed from the null constructor has size zero
testModifyingOriginalCollectionDoesNotAffectNewCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that modifying the elements in the original collection do not affect the elements in the newly created collection
testModifyingOriginalCollectionDoesNotAffectNewCollection() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
Tests that modifying the elements in the original collection do not affect the elements in the newly created collection
testMultipleItemIterator() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an iterator from a Collection with more than one element returns the proper values.
testMultipleItemIterator() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that an iterator from a list with more than one element returns the proper values in the proper order
testMultipleItemIteratorRemoval() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an iterator from a Collection with more than one element can remove the proper values.
testPreviousGoneTooFar() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
 
testPreviousOnEmptyListThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
 
testPutAllEmptyOriginalEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that putAll works with an empty map and an empty adding map
testPutAllEmptyOriginalNonEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that putAll works with an empty map and an non-empty adding map
testPutAllNonEmptyOriginalEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that putAll works with an non-empty map and an empty adding map
testPutAllNonEmptyOriginalNonEmptyAdding() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that putAll works with an non-empty map and an non-empty adding map
testRemoveAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that removeAll throws an NPE when given null
testRemoveAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an removaAll works with an empty input
testRemoveAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an removeAll works with an empty input (non-empty collection)
testRemoveAllWithNonEmptyCollectionAndNonEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an removeAll works with an non empty input and non empty set of things to remove
testRemoveAllWithNonEmptyCollectionAndNonEmptyInputWithExtras() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an removeAll works with an non empty input and non empty set of things to remove and the set has some extra elements not in the original set
testRemoveFirstThingFromMultiElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that remove can remove the first item added to the collection
testRemoveFirstThingFromMultiElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that remove can remove the first item added to the collection
testRemoveFromEmptyList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that remove works properly in an empty list
testRemoveFromEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that remove works properly in an empty map
testRemoveFromOneElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that remove returns the proper value
testRemoveFromOneElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that remove returns the proper value
testRemoveLastThingFromMultiElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that remove can remove the last item added to the collection
testRemoveLastThingFromMultiElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that remove can remove the first item added to the map
testRemoveMiddleThingFromMultiElementList() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
This test ensures that remove can remove a first item added to the collection
testRemoveMiddleThingFromMultiElementMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that remove can remove the first item added to the map
testRemoveWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that remove with an index works
testRemoveWithIndexThrowsOnBadIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that add with an index works
testRetainAllThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that retainAll throws an NPE when given null
testRetainAllWithEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an retainAll works with an empty input
testRetainAllWithNonEmptyCollectionAndEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an retainAll works with an empty input (non-empty collection)
testRetainAllWithNonEmptyCollectionAndNonEmptyInput() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an retainAll works with an non empty input and non empty set of things to retain
testRetainAllWithNonEmptyCollectionAndNonEmptyInputWithExtras() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an retainAll works with an non empty input and non empty set of things to remove and the set has some extra elements not in the original set
testSecondElementIsPutAtEndOfList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
 
testSetWithBadHighIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that set with a bad (high) index works
testSetWithBadLowIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that set with a bad (-1) index works
testSetWithIndex() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests that set with an index works
testSingleItemIterator() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that an iterator from a list with one element returns the proper values
testSingleItemIteratorRemoval() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that removing an element from an iterator with a single element works
testSubList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests basic functionality of subList
testSubListAffectsUnderlyingList() - Method in class org.glassfish.hk2.testing.collections.AbstractListTest
Tests basic functionality of subList
testUnsupporedRemoveIteratorThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that removing an element from an iterator with a single element works
testUnsupportedClearThrows() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that if you do NOT support empty that you throw
testUnsupportedRetainAllThrowsProperException() - Method in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
Tests that retainAll throws an NPE when given null
testValuesOnEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that values works with an empty map
testValuesOnNonEmptyMap() - Method in class org.glassfish.hk2.testing.collections.AbstractMapTest
This test ensures that values works with an non-empty map
THIS_PACKAGE - Static variable in annotation type org.jvnet.hk2.testing.junit.annotations.Packages
This special value indicates the same package as the package in which the test itself resides
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
 
THREE - Static variable in class org.glassfish.hk2.testing.collections.AbstractCollectionTest
 
THREE_KEY - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 
THREE_VALUE - Static variable in class org.glassfish.hk2.testing.collections.AbstractMapTest
 
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.
TopicDistributionModule - Class in org.glassfish.hk2.extras.events.internal
This module can be used to enable the default HK2 implementation of Topic distribution.
TopicDistributionModule() - Constructor for class org.glassfish.hk2.extras.events.internal.TopicDistributionModule
 
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.DuplicateServiceException
 
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.configuration.hub.internal.BeanDatabaseImpl
 
toString() - Method in class org.glassfish.hk2.configuration.hub.internal.ChangeImpl
 
toString() - Method in class org.glassfish.hk2.configuration.hub.internal.InstanceImpl
 
toString() - Method in class org.glassfish.hk2.configuration.hub.internal.TypeImpl
 
toString() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableBeanDatabaseImpl
 
toString() - Method in class org.glassfish.hk2.configuration.hub.internal.WriteableTypeImpl
 
toString() - Method in class org.glassfish.hk2.configuration.internal.BeanInfo
 
toString() - Method in class org.glassfish.hk2.configuration.internal.ConfigurationListener
 
toString() - Method in class org.glassfish.hk2.configuration.internal.ConfiguredByInjectionResolver
 
toString() - Method in class org.glassfish.hk2.extras.operation.internal.OperationHandleImpl
 
toString() - Method in class org.glassfish.hk2.extras.operation.internal.OperationIdentifierImpl
 
toString() - Method in class org.glassfish.hk2.extras.operation.internal.SingleOperationManager
 
toString() - Method in class org.glassfish.hk2.extras.operation.OperationContext
 
toString() - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
 
toString() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
toString() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
 
toString() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
 
toString() - Method in class org.glassfish.hk2.testing.collections.DefaultTestCollectionElement
 
toString() - Method in class org.glassfish.hk2.utilities.cache.internal.WeakCARCacheImpl
 
toString() - Method in class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
 
toString() - Method in class org.glassfish.hk2.utilities.ContextualInput
 
toString() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
 
toString() - Method in class org.glassfish.hk2.utilities.DuplicatePostProcessor
 
toString() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
 
toString() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashClockImpl
 
toString() - Method in class org.glassfish.hk2.utilities.general.internal.WeakHashLRUImpl