- AbstractActiveDescriptor<T> - Class in org.glassfish.hk2.utilities
-
This class can be used as a starting point for those writing their own
ActiveDescriptor.
- AbstractActiveDescriptor() - Constructor for class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
For serialization
- AbstractActiveDescriptor(Descriptor) - Constructor for class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
Creates a NON reified ActiveDescriptor based on a copy of the given
baseDescriptor.
- AbstractActiveDescriptor(Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorType, DescriptorVisibility, int, Boolean, Boolean, String, Map<String, List<String>>) - Constructor for class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
This constructor must be called with the information about
this descriptor
- AbstractBinder - Class in org.glassfish.hk2.utilities.binding
-
Skeleton implementation of injection binder with convenience methods for
binding definitions.
- AbstractBinder() - Constructor for class org.glassfish.hk2.utilities.binding.AbstractBinder
-
- ActiveDescriptor<T> - Interface in org.glassfish.hk2.api
-
An ActiveDescriptor contains information about a Descriptor after it has been reified.
- ActiveDescriptorBuilder - Interface in org.glassfish.hk2.utilities
-
The active descriptor build is for building up a
non-reified ActiveDescriptor.
- ActiveDescriptorBuilderImpl - Class in org.glassfish.hk2.internal
-
- ActiveDescriptorBuilderImpl(Class<?>) - Constructor for class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
constructor with the impl class
- activeLink(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
- add(K, V) - Method in class org.jvnet.hk2.component.MultiMap
-
Adds one more key-value pair.
- addActiveDescriptor(ActiveDescriptor<T>) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
-
This allows third party systems to add reified active descriptors to the system.
- addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
-
This allows third party systems to add reified active descriptors to the system.
- addActiveDescriptor(Class<T>) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
-
This adds an active descriptor to the system based completely on the analysis
of the given class.
- addActiveDescriptor(ActiveDescriptor<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
This allows third party systems to add reified active descriptors to the system.
- addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
- addActiveDescriptor(Class<T>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
This adds an active descriptor to the system based completely on the analysis
of the given class.
- addActiveDescriptor(ActiveDescriptor<T>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
- addActiveDescriptor(ActiveDescriptor<T>, boolean) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
- addActiveDescriptor(Class<T>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
- addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
-
This adds two active descriptors to the system based completely on the analysis
of the given
Factory
class.
- addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
This adds two active descriptors to the system based completely on the analysis
of the given
Factory
class.
- addActiveFactoryDescriptor(Class<? extends Factory<T>>) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
- addAdvertisedContract(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Adds an advertised contract to the set of contracts advertised by this descriptor
- addBinding(BindingBuilder<?>, DynamicConfiguration) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
-
Add a binding represented by the binding builder to the HK2 dynamic configuration.
- addBinding(BindingBuilder<?>, DynamicConfiguration, HK2Loader) - Static method in class org.glassfish.hk2.utilities.binding.BindingBuilderFactory
-
Add a binding represented by the binding builder to the HK2 dynamic configuration.
- addClasses(ServiceLocator, Class<?>...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
It is very often the case that one wishes to add classes that hk2
will automatically analyze for contracts and qualifiers to
a service locator.
- addContractType(Type) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
Adds an advertised contract to the set of contracts advertised by this descriptor
- addDescriptor(SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.IndexedListData
-
- addError(Throwable) - Method in exception org.glassfish.hk2.api.MultiException
-
Adds an error to an existing exception
- addFactoryConstants(ServiceLocator, Factory<?>...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
This method adds factory constants to the given locator.
- addFactoryDescriptors(ServiceLocator, FactoryDescriptors...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
Adds the given factory descriptors to the service locator
- addFactoryDescriptors(ServiceLocator, boolean, FactoryDescriptors...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
Adds the given factory descriptors to the service locator
- addListener(ServiceLocatorListener) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
-
Adds a service listener to the unordered set of listeners that
will be notified when named listeners are added or removed
from the system.
- addListener(ServiceLocatorListener) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
-
- addMetadata(Map<String, List<String>>) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Adds all of the entries from this map to the existing descriptor's
metadata.
- addMetadata(String, String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Adds a value to the list of values associated with this key
- addMetadata(Map<String, List<String>>, String, String) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Adds a value to the list of values associated with this key
- addMultiException(MultiException) - Method in class org.jvnet.hk2.internal.Collector
-
- addOneConstant(ServiceLocator, Object) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
This method adds one existing object to the given service locator.
- addOneConstant(ServiceLocator, Object, String, Type...) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
This method adds one existing object to the given service locator.
- addOneDescriptor(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
It is very often the case that one wishes to add a single descriptor to
a service locator.
- addOneDescriptor(ServiceLocator, Descriptor, boolean) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
It is very often the case that one wishes to add a single descriptor to
a service locator.
- addQualifier(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Adds the given string to the list of qualifiers
- addQualifierAnnotation(Annotation) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
Adds the given string to the list of qualifiers
- addSubHandle(ServiceHandleImpl<?>) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
-
Add a sub handle to this for proper destruction
- addThrowable(Throwable) - Method in class org.jvnet.hk2.internal.Collector
-
Adds a throwable to the list of throwables in this collector
- addUnbindFilter(Filter) - Method in interface org.glassfish.hk2.api.DynamicConfiguration
-
This filter will added to the list of filters in this Configuration that will
determine which Descriptors will be removed from the system.
- addUnbindFilter(Filter) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
This filter will added to the list of filters in this Configuration that will
determine which Descriptors will be removed from the system.
- addUnbindFilter(Filter) - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
- ALIAS_FREE_DESCRIPTOR - Static variable in class org.glassfish.hk2.utilities.AliasDescriptor
-
This is the value the metadata field ALIAS_METADATA_MARKER will
take if the descriptor being aliased does not have a locator id
or a service id
- ALIAS_METADATA_MARKER - Static variable in class org.glassfish.hk2.utilities.AliasDescriptor
-
This will be put in all Alias descriptors.
- AliasDescriptor<T> - Class in org.glassfish.hk2.utilities
-
An active descriptor class that serves as an alias for another descriptor.
- AliasDescriptor() - Constructor for class org.glassfish.hk2.utilities.AliasDescriptor
-
For serialization
- AliasDescriptor(ServiceLocator, ActiveDescriptor<T>, String, String) - Constructor for class org.glassfish.hk2.utilities.AliasDescriptor
-
Construct an AliasDescriptor.
- allFilter() - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
Returns a filter of type Descriptor that matches
all descriptors
- analyzeWith(String) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- analyzeWith(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
Call this if the descriptor should be analyzed with the
ClassAnalyzer
service of the given name
- analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
-
- analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
-
- analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
-
- analyzeWith(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
Call this if the descriptor should be analyzed with the
ClassAnalyzer
service of the given name
- andLoadWith(HK2Loader) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- andLoadWith(HK2Loader) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- andLoadWith(HK2Loader) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
Call this if this descriptor should be loaded with the given HK2Loader
- andLoadWith(HK2Loader) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
Call this if this descriptor should be loaded with the given HK2Loader
- annotationContainsAll(Set<Annotation>, Set<Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
This is used to check on the annotation set.
- AnnotationLiteral<T extends Annotation> - Class in org.glassfish.hk2.api
-
Supports inline instantiation of annotation type instances.
- AnnotationLiteral() - Constructor for class org.glassfish.hk2.api.AnnotationLiteral
-
- annotationType() - Method in class org.glassfish.hk2.api.AnnotationLiteral
-
- AOPProxyCtl - Interface in org.glassfish.hk2.api
-
This interface is implemented by all services that use the
AOP Alliance Interceptor feature of HK2.
- array(Object[]) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Returns a pretty string for the given array
- AutoActiveDescriptor<T> - Class in org.jvnet.hk2.internal
-
- AutoActiveDescriptor() - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
-
For serialization
- AutoActiveDescriptor(Class<?>, Creator<T>, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, int, Boolean, Boolean, String, Map<String, List<String>>, DescriptorType) - Constructor for class org.jvnet.hk2.internal.AutoActiveDescriptor
-
Constructor with all relevant fields
- Cache<K,V> - Class in org.glassfish.hk2.utilities.cache
-
Cache implementation that relies on FutureTask.
- Cache(Computable<K, V>) - Constructor for class org.glassfish.hk2.utilities.cache.Cache
-
Create new cache with given computable to compute values.
- Cache(Computable<K, V>, Cache.CycleHandler<K>) - Constructor for class org.glassfish.hk2.utilities.cache.Cache
-
Create new cache with given computable and cycle handler.
- Cache.CycleHandler<K> - Interface in org.glassfish.hk2.utilities.cache
-
Should a cycle be detected during computation of a value
for given key, this interface allows client code to register
a callback that would get invoked in such a case.
- CacheEntry - Interface in org.glassfish.hk2.utilities.cache
-
This can be used to remove a specific cache entry from the cache,
for better control of the caching release semantics
- CacheKey - Class in org.jvnet.hk2.internal
-
This is the cache key, which encapsulates very specific lookup queries.
- CacheKey(Type, String, Unqualified, Annotation...) - Constructor for class org.jvnet.hk2.internal.CacheKey
-
Key used for LRU cache
- CacheKeyFilter<K> - Interface in org.glassfish.hk2.utilities.cache
-
This is used by the cache to remove a series of entries that
match this filter
- cast(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Casts this thing to the given type
- checkFactoryType(Class<?>, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Checks to be sure the Factory class is ok
- checkLookupType(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Checks that the incoming lookup type is not improper in some way
- ClassAnalyzer - Interface in org.glassfish.hk2.api
-
When HK2 automatically analyzes a class to find the constructor, fields,
initializer methods and postConstruct and preDestroy methods it uses this
service to analyze the class.
- ClassLoaderPostProcessor - Class in org.glassfish.hk2.utilities
-
- ClassLoaderPostProcessor(ClassLoader, boolean) - Constructor for class org.glassfish.hk2.utilities.ClassLoaderPostProcessor
-
- ClassLoaderPostProcessor(ClassLoader) - Constructor for class org.glassfish.hk2.utilities.ClassLoaderPostProcessor
-
- ClasspathDescriptorFileFinder - Class in org.glassfish.hk2.utilities
-
This is an implementation of
DescriptorFileFinder
that
uses a particular classloader in order to find descriptor files.
- ClasspathDescriptorFileFinder() - Constructor for class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
-
If this constructor is used then HK2 descriptor files will be found
by looking in the classpath of the process.
- ClasspathDescriptorFileFinder(ClassLoader) - Constructor for class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
-
This constructor can be used to select the particular classloader
to search for HK2 descriptor files.
- ClasspathDescriptorFileFinder(ClassLoader, String...) - Constructor for class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
-
This constructor can be used to select the particular classloader
to search for HK2 descriptor files.
- ClassReflectionHelper - Interface in org.glassfish.hk2.utilities.reflection
-
An interface representing useful reflection utilities
- ClassReflectionHelperImpl - Class in org.glassfish.hk2.utilities.reflection.internal
-
- ClassReflectionHelperImpl() - Constructor for class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- ClassReflectionHelperUtilities - Class in org.glassfish.hk2.utilities.reflection.internal
-
- ClassReflectionHelperUtilities() - Constructor for class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperUtilities
-
- clazz(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Makes a nice, pretty class (without the package name)
- ClazzCreator<T> - Class in org.jvnet.hk2.internal
-
- clean(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Removes this class (and all appropriate sub-classes) from the cache
- clean(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- clear() - Method in class org.glassfish.hk2.utilities.cache.Cache
-
Empty cache.
- clear() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Empty the cache.
- clear() - Method in class org.jvnet.hk2.internal.IndexedListData
-
- clearMetadata() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Removes all metadata values
- clearReflectionCache() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Clears all entries from the HK2 reflection
cache.
- clearReflectionCache() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
-
- clearServiceCache() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Clears all entries from the HK2 service cache.
- clearServiceCache() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
-
- clone() - Method in class org.jvnet.hk2.component.MultiMap
-
Creates a copy of the map that contains the exact same key and value set.
- close() - Method in interface org.jvnet.hk2.internal.Closeable
-
Idempotent close method.
- close() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- Closeable - Interface in org.jvnet.hk2.internal
-
A closeable object is one that can be closed once, and
can not be opened again
- collection(Collection<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Returns a pretty string representing the collection
- Collector - Class in org.jvnet.hk2.internal
-
This class collects errors, and can then also produce a MultiException
from those errors if necessary
- Collector() - Constructor for class org.jvnet.hk2.internal.Collector
-
- com.sun.enterprise.module.maven - package com.sun.enterprise.module.maven
-
- commit() - Method in interface org.glassfish.hk2.api.DynamicConfiguration
-
This causes the configuration to get committed.
- commit() - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
This causes the configuration to get committed.
- commit() - Method in class org.jvnet.hk2.internal.DynamicConfigurationImpl
-
- compare(Descriptor, Descriptor) - Method in class org.jvnet.hk2.internal.DescriptorComparator
-
- compare(ServiceHandle<?>, ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ServiceHandleComparator
-
- Computable<K,V> - Interface in org.glassfish.hk2.utilities.cache
-
Utility interface to capture generic computation of type V from type K.
- compute(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
-
- compute(K) - Method in interface org.glassfish.hk2.utilities.cache.Computable
-
Defines an expensive computation to retrieve value V from key K.
- compute(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
- configurationChanged() - Method in interface org.glassfish.hk2.api.DynamicConfigurationListener
-
This method is called when the set of descriptors
in this service locator has been changed.
- configurationChanged() - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
- configure() - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
Implement to provide binding definitions using the exposed binding
methods.
- configure() - Method in class org.glassfish.hk2.utilities.EnableLookupExceptionsModule
-
- configure() - Method in class org.glassfish.hk2.utilities.ImmediateScopeModule
-
- configure() - Method in class org.glassfish.hk2.utilities.InheritableThreadScopeModule
-
- configure() - Method in class org.glassfish.hk2.utilities.PerThreadScopeModule
-
- ConstantActiveDescriptor<T> - Class in org.glassfish.hk2.internal
-
- ConstantActiveDescriptor() - Constructor for class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
For serializable
- ConstantActiveDescriptor(T, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, Boolean, Boolean, String, Map<String, List<String>>, int) - Constructor for class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
Creates the constant descriptor
- ConstantActiveDescriptor<T> - Class in org.jvnet.hk2.internal
-
- ConstantActiveDescriptor() - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
For serialization
- ConstantActiveDescriptor(T, ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
Creates a constant active descriptor with the given locator ID
- ConstantActiveDescriptor(T, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>, DescriptorVisibility, int, Boolean, Boolean, String, long, Map<String, List<String>>) - Constructor for class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
Constructor with more control over the fields of the descriptor
- Constants - Class in org.glassfish.hk2.utilities.reflection
-
- Constants() - Constructor for class org.glassfish.hk2.utilities.reflection.Constants
-
- construct(Constructor<?>, Object[], boolean, List<ConstructorInterceptor>, ConstructorAction) - Static method in class org.jvnet.hk2.internal.ConstructorInterceptorHandler
-
Call this to construct objects taking constructor interceptors into consideration
- construct(Constructor<?>, Object[], boolean, List<ConstructorInterceptor>) - Static method in class org.jvnet.hk2.internal.ConstructorInterceptorHandler
-
Call this to construct objects taking constructor interceptors into consideration
- constructor(Constructor<?>) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Make a nice pretty string out of the constructor and all its
parameters
- ConstructorAction - Interface in org.jvnet.hk2.internal
-
This represents the action used in order to
create an object.
- ConstructorInterceptorHandler - Class in org.jvnet.hk2.internal
-
- ConstructorInterceptorHandler() - Constructor for class org.jvnet.hk2.internal.ConstructorInterceptorHandler
-
- contains(K, V) - Method in class org.jvnet.hk2.component.MultiMap
-
Checks if the map contains the given key(s), also extending the search
to including the sub collection.
- containsKey(ActiveDescriptor<?>) - Method in interface org.glassfish.hk2.api.Context
-
Determines if this context has a value for the given key
- containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
Delegated to from the Context
- containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.InheritableThreadContext
-
- containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.PerThreadContext
-
- containsKey(K) - Method in class org.glassfish.hk2.utilities.cache.Cache
-
Returns true if the key has already been cached.
- containsKey(K) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Returns true if the key has already been cached.
- containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
-
- containsKey(K) - Method in class org.jvnet.hk2.component.MultiMap
-
Checks if the map contains the given key.
- containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
-
- containsKey(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
-
- Context<T> - Interface in org.glassfish.hk2.api
-
An implementation of this must be put into the system in order to
create contextual instances of services.
- ContextualInput<T> - Class in org.glassfish.hk2.utilities
-
- ContextualInput(ActiveDescriptor<T>, ServiceHandle<?>) - Constructor for class org.glassfish.hk2.utilities.ContextualInput
-
- Contract - Annotation Type in org.jvnet.hk2.annotations
-
This annotation is used by HK2 during automatic
class analysis to indicate that a class or
interface should be included in the list of
contracts for a service
- ContractIndicator - Annotation Type in org.glassfish.hk2.api
-
This annotation is put on annotations that are used
to mark things as hk2 contracts.
- ContractsProvided - Annotation Type in org.jvnet.hk2.annotations
-
An explicit list of contracts provided.
- convertJavaBeanToBeanLikeMap(ClassReflectionHelper, Object) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
-
Converts a Java bean to a bean-like Map
- convertToOsgi(Version.COMPONENT) - Method in class org.glassfish.hk2.maven.Version
-
- create(ServiceHandle<?>) - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
Creates an instance of the ActiveDescriptor.
- create(Class<T>) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This method will analyze the given class, and create it if can.
- create(Class<T>, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This method will analyze the given class, and create it if can.
- create(String) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
-
Creates (or finds) a ServiceLocator.
- create(String, ServiceLocator) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
-
Creates or finds a ServiceLocator.
- create(String, ServiceLocator, ServiceLocatorGenerator) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
-
Creates or finds a ServiceLocator.
- create(String, ServiceLocator, ServiceLocatorGenerator, ServiceLocatorFactory.CreatePolicy) - Method in class org.glassfish.hk2.api.ServiceLocatorFactory
-
Creates a ServiceLocator.
- create(String, ServiceLocator) - Method in interface org.glassfish.hk2.extension.ServiceLocatorGenerator
-
Creates the ServiceLocator that will be used to
generate the ServiceLocators
- create(ServiceHandle<?>) - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
- create(String) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
-
- create(String, ServiceLocator) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
-
- create(String, ServiceLocator, ServiceLocatorGenerator) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
-
- create(String, ServiceLocator, ServiceLocatorGenerator, ServiceLocatorFactory.CreatePolicy) - Method in class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
-
- create(ServiceHandle<?>) - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- create(String, ServiceLocator) - Method in class org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
-
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
-
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.ClazzCreator
-
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in interface org.jvnet.hk2.internal.Creator
-
Creates an instance of the given type
- create(ServiceHandle<?>, SystemDescriptor<?>) - Method in class org.jvnet.hk2.internal.FactoryCreator
-
- create(Class<T>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- create(Class<T>, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- createAndInitialize(Class<U>) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This method creates, injects and post-constructs an object with the given
class.
- createAndInitialize(Class<U>, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This method creates, injects and post-constructs an object with the given
class.
- createAndInitialize(Class<U>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Creates, injects and postConstructs, all in one
- createAndInitialize(Class<U>, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Creates, injects and postConstructs, all in one
- createAndPopulateServiceLocator(String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
This method is often the first line of a stand-alone client that wishes to use HK2.
- createAndPopulateServiceLocator() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
This method is often the first line of a stand-alone client that wishes to use HK2.
- createAutoDescriptor(Class<T>, ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates a reified automatically generated descriptor
- createAutoFactoryDescriptor(Class<T>, ActiveDescriptor<?>, ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates a reified automatically generated descriptor
- createCache(int) - Static method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Creates a cache with the given maximum cache size
- createCacheEntry(K, V, boolean) - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Create cache entry for given values.
- createConstantDescriptor(T) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
This creates a descriptor that will always return the given object.
- createConstantDescriptor(T, String, Type...) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
This creates a descriptor that will always return the given object.
- createConstantServiceHandle(T) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
- createContractFilter(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
Returns an indexed filter that will return all descriptors that
have contract as an advertised contract
- createDescriptorFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
This returns a DescriptorImpl based on the given class.
- createDynamicConfiguration() - Method in interface org.glassfish.hk2.api.DynamicConfigurationService
-
Creates a dynamic configuration that can be used to add or remove values
to the system
- createDynamicConfiguration(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- createDynamicConfiguration() - Method in class org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
-
- createMethodWrapper(Method) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Creates a method wrapper from the given method
- createMethodWrapper(Method) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- createMethodWrapper(Method) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Creates a method wrapper for the given method
- createNameAndContractFilter(String, String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
Returns an indexed filter that will return all descriptors that
have the given name and given contract
- createNameFilter(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
Returns an indexed filter that will return all descriptors that
have the given name
- createService(ActiveDescriptor<T>, Injectee, ServiceLocatorImpl, ServiceHandle<T>, Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates the service (without the need for an intermediate ServiceHandle
to be created)
- createSpecificDescriptorFilter(Descriptor) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
This method creates a filter that will match one and only one descriptor.
- createTokenizedFilter(String) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
Creates a filter from a token string as per the following rules.
The token delimiter is ;
The first token is the contract.
- Creator<T> - Interface in org.jvnet.hk2.internal
-
An internal interface that allows us to have the
factory and class implementations
- debug(String) - Method in class org.glassfish.hk2.utilities.reflection.Logger
-
Sends this message to the Debug channel (FINER level in JDK parlance)
- debug(String, String, Throwable) - Method in class org.glassfish.hk2.utilities.reflection.Logger
-
Sends this message to the Debug channel (FINER level in JDK parlance)
- deepCopyDescriptor(Descriptor) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
Makes a deep copy of the incoming descriptor
- deepCopyMetadata(Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
This method does a deep copy of the incoming meta-data, (which basically means we will
also make copies of the value list)
- DEFAULT_IMPLEMENTATION_NAME - Static variable in interface org.glassfish.hk2.api.ClassAnalyzer
-
The name of the default ClassAnalyzer service
- DefaultClassAnalyzer - Class in org.jvnet.hk2.internal
-
this is the default implementation of the ClassAnalyzer
- DefaultClassAnalyzer(ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
The DefaultClassAnalyzer is per ServiceLocatorImpl
- Descriptor - Interface in org.glassfish.hk2.api
-
A Descriptor is a bean-like structure that describes a service
declaration in HK2.
- DescriptorBuilder - Interface in org.glassfish.hk2.utilities
-
This is an object that uses the Builder pattern
in order to generate a Descriptor (for binding) or
a Filter (for searching).
- DescriptorBuilderImpl - Class in org.glassfish.hk2.internal
-
- DescriptorBuilderImpl() - Constructor for class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
The basid constructor
- DescriptorBuilderImpl(String, boolean) - Constructor for class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
A descriptor builder with the given implementation
- DescriptorComparator - Class in org.jvnet.hk2.internal
-
- DescriptorComparator() - Constructor for class org.jvnet.hk2.internal.DescriptorComparator
-
- DescriptorFileFinder - Interface in org.glassfish.hk2.api
-
Implementations of this interface allow the customization of
how hk2 inhabitant files are found.
- DescriptorFileFinderInformation - Interface in org.glassfish.hk2.api
-
- 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
-
- destroyOne(ActiveDescriptor<?>, List<ImmediateErrorHandler>) - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
Destroys a single descriptor
- destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.InheritableThreadContext
-
- destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.internal.PerThreadContext
-
- destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.ImmediateContext
-
- destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.PerLookupContext
-
- destroyOne(ActiveDescriptor<?>) - Method in class org.jvnet.hk2.internal.SingletonContext
-
Release one system descriptor
- dispose(T) - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
Disposes this instance.
- dispose(T) - Method in interface org.glassfish.hk2.api.Factory
-
This method will dispose of objects created with this scope.
- dispose(T) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- dispose(T) - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- dispose() - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Releases the entire cache, though the ClassReflectionHelper is
still usable after calling dispose
- dispose() - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- dispose(T) - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
-
- dispose(T) - Method in class org.jvnet.hk2.internal.ClazzCreator
-
- dispose(T) - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- dispose(T) - Method in interface org.jvnet.hk2.internal.Creator
-
Disposes the given instance
- dispose(T) - Method in class org.jvnet.hk2.internal.FactoryCreator
-
- dispose(T) - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- distributeMessage(Topic<?>, Object) - Method in interface org.glassfish.hk2.api.messaging.TopicDistributionService
-
Must distribute the message to all of the matching topic subscribers.
- dropMe() - Method in interface org.glassfish.hk2.utilities.cache.HybridCacheEntry
-
Tell the cache if this entry should be dropped
as opposed to being kept in the cache.
- dropVersionComponent - Variable in class com.sun.enterprise.module.maven.OsgiVersionMojo
-
Flag used to determine what components of the version will be used
in OSGi version.
- dumpAllDescriptors(ServiceLocator) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
Dumps all descriptors in this ServiceLocator to stderr
- dumpAllDescriptors(ServiceLocator, PrintStream) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
Dumps all descriptors in this ServiceLocator to the given PrintStream
- DuplicatePostProcessor - Class in org.glassfish.hk2.utilities
-
This post-processor removes duplicate descriptors from the
set of descriptors being added to the service registry.
- DuplicatePostProcessor() - Constructor for class org.glassfish.hk2.utilities.DuplicatePostProcessor
-
- DynamicConfiguration - Interface in org.glassfish.hk2.api
-
- 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
-
- GeneralUtilities - Class in org.glassfish.hk2.utilities.general
-
This class contains utilities useful for any code
- GeneralUtilities() - Constructor for class org.glassfish.hk2.utilities.general.GeneralUtilities
-
- generateProxy(Class<?>, ServiceLocatorImpl, ActiveDescriptor<T>, ServiceHandle<T>) - Method in class org.jvnet.hk2.internal.ProxyUtilities
-
- get(K) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
-
- get(K) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Returns the value associated with the given key.
- get(K) - Method in class org.jvnet.hk2.component.MultiMap
-
Returns the elements indexed by the provided key
- get() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
-
- getActiveDescriptor() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
-
The active descriptor that is being used for the operation.
- getActiveDescriptor() - Method in interface org.glassfish.hk2.api.ServiceHandle
-
Returns the ActiveDescriptor associated with this service handle
- getActiveDescriptor() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
-
- getActiveDescriptor() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
-
- getActualTypeArguments() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
- getAdvertisedContract() - Method in interface org.glassfish.hk2.api.IndexedFilter
-
If this returns non-null then this index will
be used to limit the set of Descriptors that
will be passed to the matches method.
- getAdvertisedContract() - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
-
- getAdvertisedContract() - Method in class org.glassfish.hk2.internal.SpecificFilterImpl
-
- getAdvertisedContracts() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the base class name of the contracts that
this service describes.
- getAdvertisedContracts() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getAdvertisedContracts() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getAdvertisedTypesFromClass(Type, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the set of types this class advertises
- getAdvertisedTypesFromObject(Object, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the set of types this class advertises
- getAllFields(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Gets all fields for a class (taking class heirarchy into account)
- getAllFields(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- getAllMethods(Class<?>) - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Gets all methods for a class (taking class heirarchy into account)
- getAllMethods(Class<?>) - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- getAllQualifiers(AnnotatedElement, String, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the full set of qualifier annotations on this class
- getAllServiceHandles(Class<T>, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets a list of
ServiceHandle
that can be used to get and destroy services
associated with descriptors that match the provided criteria
- getAllServiceHandles(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets a list of
ServiceHandle
that can be used to get and destroy services
associated with descriptors that match the provided criteria
- getAllServiceHandles(Annotation, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets a list of
ServiceHandle
that can be used to get and destroy services
associated with descriptors that match the provided criteria
- getAllServiceHandles(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
- getAllServiceHandles(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServiceHandles(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServiceHandles(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServiceHandles(Annotation, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServices(Class<T>, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the all the services from this locator that implements
this contract or has this implementation
- getAllServices(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the all the services from this locator that implements
this contract or has this implementation
- getAllServices(Annotation, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the all the services from this locator that has the given
qualifier or qualifiers
- getAllServices(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the all the services from this locator that matches the
Filter
- getAllServices(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServices(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServices(Annotation, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllServices(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getAllTypes(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
- getAnnoType() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
-
Returns the annotation class for this annotation type
- getAssociatedException() - Method in interface org.glassfish.hk2.api.ErrorInformation
-
This will contain the associated exception or exceptions that caused
the failure.
- getAssociatedException() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
-
- getAutoAnalyzerName(Class<?>) - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
-
Gets the analyzer name from the Service annotation
- getBeanPropertyNameFromGetter(Method) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
-
Returns the bean version of the property name if the method
is a getter, or returns null if the method is not a getter
- getBestDescriptor(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the descriptor that best matches this filter, taking ranking
and service id into account
- getBestDescriptor(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getCache() - Method in interface org.glassfish.hk2.api.SingleCache
-
This can be used for scopes that will only every be created once.
- getCache() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
- getCache() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getCache() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- getCache() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getCaller() - Method in interface org.glassfish.hk2.api.ValidationInformation
-
This method attempts to return the StackTraceElement
of the code calling the HK2 method that caused
this validation to occur
- getCaller() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
-
The implementation of this method is VERY dependent on the implementation
of ServiceLocatorImpl.
- getCandidate() - Method in interface org.glassfish.hk2.api.ValidationInformation
-
The candidate descriptor for this operation
- getCandidate() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
-
- getChangeEvents(ClassReflectionHelper, Object, Object) - Static method in class org.glassfish.hk2.utilities.reflection.BeanReflectionHelper
-
Gets the set of change events by comparing two different beans.
- getClassAnalysisName() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the name of the
ClassAnalyzer
service that
should be used to discover the constructors, initialization methods,
field and postConstruct and preDestory methods.
- getClassAnalysisName() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getClassAnalysisName() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getClassAnalyzer(ServiceLocatorImpl, String, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the class analyzer with the given name
- getConstructor(Class<T>) - Method in interface org.glassfish.hk2.api.ClassAnalyzer
-
Will return the constructor that it to be used when constructing this
service
- getConstructor(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
- getConstructor(Class<T>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the constructor given the implClass and analyzer.
- getConstructorInjectees(Constructor<?>, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the injectees for a constructor
- getConstructorInterceptors(Constructor<?>) - Method in interface org.glassfish.hk2.api.InterceptionService
-
- getConstructorInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
-
Gets the constructor interceptors
- getContractsFromClass(Class<?>, Class<? extends Annotation>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the set of types this class advertises
- getContractTypes() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
The set of types that this ActiveDescriptor must produce.
- getContractTypes() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getContractTypes() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getContractTypes() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getDefaultClassAnalyzerName() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the name of the default class analyzer service
- getDefaultClassAnalyzerName() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getDefaultNameFromMethod(Method, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the default name if one can be found.
- getDefaultUnqualified() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This returns the default
Unqualified
annotation that will be
put on all injection points that do not have any qualifiers.
- getDefaultUnqualified() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getDescriptor() - Method in interface org.glassfish.hk2.api.ErrorInformation
-
This will contain the active descriptor that is associated
with this failure.
- getDescriptor() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
Get the descriptor being aliased.
- getDescriptor() - Method in class org.glassfish.hk2.utilities.ContextualInput
-
Returns the descriptor associated with this contextual creation
- getDescriptor() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
-
- getDescriptorFileInformation() - Method in interface org.glassfish.hk2.api.DescriptorFileFinderInformation
-
- getDescriptorFileInformation() - Method in class org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
-
- getDescriptorFilter() - Method in interface org.glassfish.hk2.api.InterceptionService
-
- getDescriptorFilter() - Static method in class org.glassfish.hk2.internal.StarFilter
-
Gets the static instance of this filter
- getDescriptors(Filter) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the list of descriptors that match the given filter
- getDescriptors(Filter) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getDescriptorType() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns CLASS if this is a class descriptor
and FACTORY if this is a descriptor describing
a factory for a type, in which case the
implClass should point to the implementation
class of the factory
- getDescriptorType() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getDescriptorType() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getDescriptorVisibility() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the visibility of this descriptor.
- getDescriptorVisibility() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getDescriptorVisibility() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getErrors() - Method in exception org.glassfish.hk2.api.MultiException
-
Gets all the errors associated with this MultiException
- getErrorType() - Method in interface org.glassfish.hk2.api.ErrorInformation
-
Gets the type of error that has occurred.
- getErrorType() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
-
- getEventType() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
-
Gets the type of event this describes.
- getEventType() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
-
- getFactoryAsAFactory() - Method in interface org.glassfish.hk2.api.FactoryDescriptors
-
This returns the factory as a factory for some other type.
- getFactoryAsAFactory() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
-
- getFactoryAsAService() - Method in interface org.glassfish.hk2.api.FactoryDescriptors
-
This returns the factory as a service itself.
- getFactoryAsAService() - Method in class org.glassfish.hk2.utilities.FactoryDescriptorsImpl
-
- getFactoryAwareImplementationClass(ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
This utility will return the proper implementation class, taking into account that the
descriptor may be a factory
- getFactoryLocatorId() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
If this ActiveDescriptor has DescriptorType of PROVIDE_METHOD then
this field will return the ServiceId of its associated Factory
service.
- getFactoryLocatorId() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getFactoryLocatorId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getFactoryProductionType(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method returns the type produced by a factory class
- getFactoryProvideMethod(Class<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method will retrieve the provide method from a Factory
- getFactoryServiceId() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
If this ActiveDescriptor has DescriptorType of PROVIDE_METHOD then
this field will return the ServiceId of its associated Factory
service.
- getFactoryServiceId() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getFactoryServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getFieldInjectees(Field, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the injectees for a field
- getFields(Class<T>) - Method in interface org.glassfish.hk2.api.ClassAnalyzer
-
Will return the set of initializer fields to be used when initializing
this service
- getFields(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
- getFilter() - Method in interface org.glassfish.hk2.api.InstanceLifecycleListener
-
This returns a filter that tells the system whether a particular descriptor should be handled by this lifecycle
listener.
- getFilter() - Method in interface org.glassfish.hk2.api.ValidationInformation
-
On a LOOKUP operation the
Filter
that was used in the
lookup operation.
- getFilter() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
-
- getFirstThingInList(List<T>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the first thing found in the set
- getFirstTypeArgument(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the first type argument if this is a parameterized
type, otherwise it returns Object.class
- getHandle() - Method in interface org.glassfish.hk2.api.IterableProvider
-
Rather than getting the service directly with get (in which
case the returned service cannot be disposed of) this method
will instead return a service handle for the current best service.
- getHandle() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
-
- getImmediateAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- getImplementation() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the fully qualified class
name of the implementation
class.
- getImplementation() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
- getImplementation() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getImplementation() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getImplementation() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- getImplementation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getImplementationClass() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
The implementation class that should be used
to generate new instances of this descriptor.
- getImplementationClass() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
- getImplementationClass() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getImplementationClass() - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
-
- getImplementationClass() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- getImplementationClass() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getIncomingObject() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
-
Gets the incoming object bound to the thread id
- getIncrementalVersion() - Method in class org.glassfish.hk2.maven.Version
-
- getInheritableThreadAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- getInitFields(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the initializer fields from the given class and analyzer.
- getInitializerMethods(Class<T>) - Method in interface org.glassfish.hk2.api.ClassAnalyzer
-
Will return the set of initializer method to be used when initializing
this service
- getInitializerMethods(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
- getInitMethods(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the initializer methods from the given class and analyzer.
- getInjectee() - Method in interface org.glassfish.hk2.api.ErrorInformation
-
This will contain information about the Injectee that was being
injected into when the error occurred.
- getInjectee() - Method in exception org.glassfish.hk2.api.UnsatisfiedDependencyException
-
Returns the injectee that is unsatisfied
- getInjectee() - Method in interface org.glassfish.hk2.api.ValidationInformation
-
On a LOOKUP operation if the lookup is being performed due to an
injection point (as opposed to a lookup via the API) then this
method will return a non-null
Injectee
that is the injection
point that would be injected into
- getInjectee() - Method in class org.jvnet.hk2.internal.ErrorInformationImpl
-
- getInjectee() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
-
- getInjecteeClass() - Method in interface org.glassfish.hk2.api.Injectee
-
Returns the parent class for this injectee.
- getInjecteeClass() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getInjecteeClass() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getInjecteeDescriptor() - Method in interface org.glassfish.hk2.api.Injectee
-
This returns the ActiveDescriptor of the injectee
if it is known
- getInjecteeDescriptor(Injectee) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This method will first find a descriptor for this injectee, and then
reify that descriptor.
- getInjecteeDescriptor() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getInjecteeDescriptor(Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getInjecteeDescriptor() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getInjectees() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
Returns the full list of Injectees this class has.
- getInjectees() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getInjectees() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getInjectees() - Method in class org.jvnet.hk2.internal.AutoActiveDescriptor
-
- getInjectees() - Method in class org.jvnet.hk2.internal.ClazzCreator
-
- getInjectees() - Method in interface org.jvnet.hk2.internal.Creator
-
Returns all the injectees needed prior
to creating this object
- getInjectees() - Method in class org.jvnet.hk2.internal.FactoryCreator
-
- getInjectees() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getInjectionResolver(ServiceLocatorImpl, SystemInjecteeImpl) - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
-
Returns an injection resolver for the injectee
- getInjectionResolverType(ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Will return the class of the injection resolver annotation type, or null if
no injection resolver annotation can be found
- getInstance() - Static method in class org.glassfish.hk2.api.ServiceLocatorFactory
-
This will return a factory where the ServiceLocatorGenerator
is discovered from the META-INF/services of the process
- getInstantiationData() - Method in interface org.glassfish.hk2.api.InstantiationService
-
This method may be called from inside the
implementation of
Factory.provide()
method to get more information about the
reason for instantiation.
- getInstantiationData() - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
-
- getInterfacesForProxy(Set<Type>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the interfaces the proxy must implement
- getKnownInjectees() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
-
A map from the Injectee to the object actually used
in the production, if known.
- getKnownInjectees() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
-
- getLifecycleObject() - Method in interface org.glassfish.hk2.api.InstanceLifecycleEvent
-
The object that is being described by this event.
- getLifecycleObject() - Method in class org.jvnet.hk2.internal.InstanceLifecycleEventImpl
-
- getLoader() - Method in interface org.glassfish.hk2.api.Descriptor
-
This returns the loader that should be used when
classloading this descriptor.
- getLoader() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getLoader() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getLocatorDescriptor(ServiceLocator) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns a constant ActiveDescriptor for the basic ServiceLocator
- getLocatorId() - Method in interface org.glassfish.hk2.api.Descriptor
-
This returns the id of the ServiceLocator which this descriptor
is registered with.
- getLocatorId() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This returns the unique locator ID for this locator.
- getLocatorId() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getLocatorId() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- getLocatorId() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getLocatorId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getLogger() - Static method in class org.glassfish.hk2.utilities.reflection.Logger
-
Gets the singleton instance of the Logger
- getLookupFilter() - Method in interface org.glassfish.hk2.api.ValidationService
-
This filter will be run at least once per descriptor at the point that the descriptor
is being looked up, either with the
ServiceLocator
API or due to
an @Inject resolution.
- getLookupFilter() - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
- getMajorVersion() - Method in class org.glassfish.hk2.maven.Version
-
- getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
-
- getMaxCacheSize() - Method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Returns the maximum number of entries that will be stored in this cache
- getMaximumCacheSize() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
- getMessage() - Method in exception org.glassfish.hk2.api.MultiException
-
Gets the message associated with this exception
- getMetadata() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns all of the metadata associated
that this object should be registered
with or looked up by
- getMetadata() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getMetadata() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getMetadataValues(Annotation, Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.BuilderHelper
-
This is a helper method that gets the metadata values from the
Metadata
annotations found in an annotation.
- getMethod() - Method in class org.glassfish.hk2.utilities.reflection.internal.MethodWrapperImpl
-
- getMethod() - Method in interface org.glassfish.hk2.utilities.reflection.MethodWrapper
-
Returns the method associated with this wrapper
- getMethodInjectees(Method, ActiveDescriptor<?>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns all the injectees for a constructor
- getMethodInterceptors(Method) - Method in interface org.glassfish.hk2.api.InterceptionService
-
- getMethodInterceptors() - Method in interface org.jvnet.hk2.internal.Utilities.Interceptors
-
Gets the method interceptors
- getMinorVersion() - Method in class org.glassfish.hk2.maven.Version
-
- getName() - Method in interface org.glassfish.hk2.api.Descriptor
-
The name of this descriptor.
- getName() - Method in interface org.glassfish.hk2.api.IndexedFilter
-
If this returns non-null then this name will
be used to limit the set of Descriptors that
will be passed to the matches method.
- getName() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Returns the name of this ServiceLocator
- getName() - Method in class org.glassfish.hk2.internal.IndexedFilterImpl
-
- getName() - Method in class org.glassfish.hk2.internal.SpecificFilterImpl
-
- getName() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getName(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the name that should be associated with this class
- getName() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getName() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getNameFromAllQualifiers(Set<Annotation>, AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the name from the &46;Named qualifier in this set of qualifiers
- getNeutralContextClassLoader() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This returns the value of neutralContextClassLoader.
- getNeutralContextClassLoader() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getNumberOfChildren() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the current total number of children
attached to this ServiceLocator
- getNumberOfChildren() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
-
- getNumberOfDescriptors() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the total number of descriptors
in this ServiceLocator.
- getNumberOfDescriptors() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
-
- getOne(K) - Method in class org.jvnet.hk2.component.MultiMap
-
Gets the first value if any, or null.
- getOneMetadataField(Descriptor, String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
Gets one value from a metadata field from the given descriptor
- getOneMetadataField(ServiceHandle<?>, String) - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
Gets one value from a metadata field from the given service handle
- getOperation() - Method in interface org.glassfish.hk2.api.ValidationInformation
-
The operation that is to be performed, one of
BIND - The candidate descriptor is being added to the system
UNBIND - The candidate descriptor is being removed from the system
LOOKUP - The candidate descriptor is being looked up
- getOperation() - Method in class org.jvnet.hk2.internal.ValidationInformationImpl
-
- getOriginalRequest() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
-
- getOwnerType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
- getParameterTypes() - Method in class org.glassfish.hk2.api.TypeLiteral
-
Gets the types associated with this literal
- getParent() - Method in interface org.glassfish.hk2.api.Injectee
-
If this Injectee is in a constructor this will return the
constructor being injected into.
- getParent() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the parent service locator for this locator
- getParent() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getParent() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getParent() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getParentInjectee() - Method in interface org.glassfish.hk2.api.InstantiationData
-
- getPerLookupAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- getPerThreadAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- getPopulator() - Method in interface org.glassfish.hk2.api.DynamicConfigurationService
-
Returns a populator for this service locator that can be used to
automatically read in hk2 inhabitant files (or some other external
source)
- getPopulator() - Method in class org.jvnet.hk2.internal.DynamicConfigurationServiceImpl
-
- getPosition() - Method in interface org.glassfish.hk2.api.Injectee
-
If this Injectee is a constructor or method parameter, this will
return the index of the parameter.
- getPosition() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getPosition() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getPostConstruct(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the post construct from the analyzer, checking output
- getPostConstructMethod(Class<T>) - Method in interface org.glassfish.hk2.api.ClassAnalyzer
-
Will return the postConstruct method of the class
- getPostConstructMethod(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
- getPreDestroy(Class<?>, ClassAnalyzer, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Gets the preDestroy from the analyzer, checking output
- getPreDestroyMethod(Class<T>) - Method in interface org.glassfish.hk2.api.ClassAnalyzer
-
Will return the preDestroy method of the class
- getPreDestroyMethod(Class<T>) - Method in class org.jvnet.hk2.internal.DefaultClassAnalyzer
-
- getProxyUtilities() - Method in class org.jvnet.hk2.internal.PerLocatorUtilities
-
- getQualifier() - Method in class org.glassfish.hk2.maven.Version
-
- getQualifierAnnotations() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
The full set of qualifiers that this ActiveDescriptor
provides
- getQualifierAnnotations() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getQualifierAnnotations() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getQualifierAnnotations(AnnotatedElement) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets all the qualifier annotations from the object
- getQualifierAnnotations() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getQualifiers() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns all of the annotation classes
that this object should be registered
with or looked up by
- getQualifiers() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getQualifiers() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getQualifiers() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getQualifiersFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets all the qualifiers from the object
- getQualifiersFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets all the qualifiers from the object
- getRanking() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the ranking of this descriptor.
- getRanking() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getRanking() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getRawClass(Type) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Given the type parameter gets the raw type represented
by the type, or null if this has no associated raw class
- getRawType() - Method in class org.glassfish.hk2.api.TypeLiteral
-
- getRawType(Type) - Static method in class org.glassfish.hk2.api.TypeLiteral
-
Gets the base associated class from this type
- getRawType() - Method in class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
- getReflectionCacheSize() - Method in interface org.jvnet.hk2.external.runtime.ServiceLocatorRuntimeBean
-
Returns the current size of the HK2 reflection
cache.
- getReflectionCacheSize() - Method in class org.jvnet.hk2.internal.ServiceLocatorRuntimeImpl
-
- getReportToErrorService() - Method in exception org.glassfish.hk2.api.MultiException
-
Returns true if this exception should be reported
to the error service when thrown during a creation
or deletion of a service
- getRequiredQualifiers() - Method in interface org.glassfish.hk2.api.Injectee
-
This is the set of required qualifiers for this injectee.
- getRequiredQualifiers() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getRequiredQualifiers() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getRequiredType() - Method in interface org.glassfish.hk2.api.Injectee
-
This is the required type of the injectee.
- getRequiredType() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getRequiredType() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getRoot() - Method in class org.glassfish.hk2.utilities.ContextualInput
-
Returns the
ServiceHandle
root associated with this
contextual creation
- getScope() - Method in interface org.glassfish.hk2.api.Context
-
The scope for which this is the context
- getScope() - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the fully qualified class name of
the scope annotation that should be
associated with this descriptor.
- getScope() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
-
- getScope() - Method in class org.glassfish.hk2.internal.PerThreadContext
-
- getScope() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getScope() - Method in class org.glassfish.hk2.utilities.ImmediateContext
-
- getScope() - Method in class org.glassfish.hk2.utilities.reflection.ScopeInfo
-
Returns the scope for this data structure
- getScope() - Method in class org.jvnet.hk2.internal.PerLookupContext
-
- getScope() - Method in class org.jvnet.hk2.internal.SingletonContext
-
- getScope() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getScopeAnnotation() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
Returns the scope that this ActiveDescriptor belongs to
- getScopeAnnotation() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getScopeAnnotation() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- getScopeAnnotation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getScopeAnnotationFromClass(Class<?>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getScopeAnnotationFromObject(Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getScopeAnnotationType(Class<?>, Descriptor) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the scope of this thing
- getScopeAnnotationType(AnnotatedElement, Descriptor, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns the scope of this thing
- getScopeAsAnnotation() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
Returns the scope as an
Annotation
implementation that this ActiveDescriptor belongs to
- getScopeAsAnnotation() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- getScopeAsAnnotation() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getScopeFromClass(Class<?>, Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getScopeFromObject(Object, Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Gets the scope annotation from the object
- getService() - Method in interface org.glassfish.hk2.api.ServiceHandle
-
Gets the underlying service object
- getService(Class<T>, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the best service from this locator that implements
this contract or has this implementation
- getService(Type, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the best service from this locator that implements
this contract or has this implementation
- getService(Class<T>, String, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the best service from this locator that implements
this contract or has this implementation and has the given
name
- getService(Type, String, Annotation...) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Gets the best service from this locator that implements
this contract or has this implementation and has the given
name
- getService(ActiveDescriptor<T>, ServiceHandle<?>) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
- getService(ActiveDescriptor<T>, ServiceHandle<?>, Injectee) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
- 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
-
- getServiceHandle(ActiveDescriptor<T>) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
- getServiceHandle(ActiveDescriptor<T>, Injectee) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(ActiveDescriptor<T>) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Class<T>, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Type, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Class<T>, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceHandle(Type, String, Annotation...) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getServiceId() - Method in interface org.glassfish.hk2.api.Descriptor
-
This returns the unique identifier for this descriptor.
- getServiceId() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- getServiceId() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- getSingletonAnnotation() - Static method in class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- getSize() - Method in interface org.glassfish.hk2.api.IterableProvider
-
Returns the size of the iterator that would be returned
- getSize() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
-
- getSortedList() - Method in class org.jvnet.hk2.internal.IndexedListData
-
- getState() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Returns the current state of this service locator.
- getState() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- getSystemProperty(String, String) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
-
- getThreadIdentifier() - Method in class org.glassfish.hk2.utilities.general.ThreadSpecificObject
-
Gets the thread on which this object was created
- getThreeThirtyDescriptor(ServiceLocatorImpl) - Static method in class org.jvnet.hk2.internal.Utilities
-
Creates a Three Thirty constant active descriptor
- getTopicQualifiers() - Method in interface org.glassfish.hk2.api.messaging.Topic
-
The qualifiers associated with this Topic.
- getTopicQualifiers() - Method in class org.jvnet.hk2.internal.TopicImpl
-
- getTopicType() - Method in interface org.glassfish.hk2.api.messaging.Topic
-
Gets the type of the topic, in order to match the message
to subscribers
- getTopicType() - Method in class org.jvnet.hk2.internal.TopicImpl
-
- getType() - Method in class org.glassfish.hk2.api.TypeLiteral
-
- getTypeClosure(Type, Set<String>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns the type closure, as restricted by the classes listed in the
set of contracts implemented
- getUnqualified() - Method in interface org.glassfish.hk2.api.Injectee
-
This method returns the
Unqualified
annotation if it is present
on the injection point.
- getUnqualified() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- getUnqualified() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- getUserData(String) - Method in interface org.glassfish.hk2.api.HK2Invocation
-
Gets the user data associated with the given key
- getValidator() - Method in interface org.glassfish.hk2.api.ValidationService
-
Returns the
Validator
that will be run whenever
a
Descriptor
that passed the filter is to be looked up with the API
or injected into an injection point, or on any bind or unbind operation.
- getValidator() - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
- getValue() - Method in interface org.glassfish.hk2.utilities.cache.HybridCacheEntry
-
Getter for this cache entry internal value.
- 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
Descriptor
s are added.
- ImmediateContext - Class in org.glassfish.hk2.utilities
-
- ImmediateContext() - Constructor for class org.glassfish.hk2.utilities.ImmediateContext
-
- ImmediateErrorHandler - Interface in org.glassfish.hk2.utilities
-
Implementations of this service will be called whenever
an Immediate scoped service fails
- ImmediateHelper - Class in org.glassfish.hk2.internal
-
The implementation of the immediate context.
- ImmediateResults - Class in org.jvnet.hk2.internal
-
This contains the local portion of the narrowed result
- ImmediateScopeModule - Class in org.glassfish.hk2.utilities
-
This module can be used to enable the Immediate
scope
feature.
- ImmediateScopeModule() - Constructor for class org.glassfish.hk2.utilities.ImmediateScopeModule
-
- in(Annotation) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- in(Class<? extends Annotation>) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- in(Class<? extends Annotation>) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- in(String) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- in(Annotation) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
A scope to be associated with this descriptor object.
- in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
A scope to be associated with this descriptor object.
- in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
-
Scope a binding.
- in(Annotation) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
-
Scope a binding.
- in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
-
Scope a binding.
- in(Class<? extends Annotation>) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
A scope to be associated with this descriptor object.
- in(String) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
A scope to be associated with this descriptor object.
- IndexedFilter - Interface in org.glassfish.hk2.api
-
This filter can be used to limit the set of Descriptors
passed to the matches method.
- IndexedFilterImpl - Class in org.glassfish.hk2.internal
-
Implementation created by the builder
- IndexedFilterImpl(String, String) - Constructor for class org.glassfish.hk2.internal.IndexedFilterImpl
-
Created by the builder
- IndexedListData - Class in org.jvnet.hk2.internal
-
This object contains a list of values.
- IndexedListData() - Constructor for class org.jvnet.hk2.internal.IndexedListData
-
- InhabitantAnnotation - Annotation Type in org.jvnet.hk2.annotations
-
Meta-annotation indicating that the annotation designates
a resident service of a
ServiceLocator
.
- InheritableThread - Annotation Type in org.glassfish.hk2.api
-
InheritableThread is a scope that operates like
PerThread
scope, except with the caveat that
InheritableThread scoped services provide inheritance of values from parent
thread to child thread.
- InheritableThreadContext - Class in org.glassfish.hk2.internal
-
- InheritableThreadContext() - Constructor for class org.glassfish.hk2.internal.InheritableThreadContext
-
- InheritableThreadScopeModule - Class in org.glassfish.hk2.utilities
-
- InheritableThreadScopeModule() - Constructor for class org.glassfish.hk2.utilities.InheritableThreadScopeModule
-
- initialize(Set<ServiceLocator>) - Method in interface org.glassfish.hk2.api.ServiceLocatorListener
-
This method returns the complete list of named service
locators at the time that this listener is registered.
- inject(Object) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This will analyze the given object and inject into its fields and methods.
- inject(Object, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This will analyze the given object and inject into its fields and methods.
- inject(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- inject(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- Injectee - Interface in org.glassfish.hk2.api
-
An Injectee represents the point of injection.
- InjecteeImpl - Class in org.glassfish.hk2.utilities
-
This is a writeable version of the Injectee interface.
- InjecteeImpl() - Constructor for class org.glassfish.hk2.utilities.InjecteeImpl
-
None of the fields of the returned object will be set
- InjecteeImpl(Type) - Constructor for class org.glassfish.hk2.utilities.InjecteeImpl
-
Only the requiredType field will be set
- InjecteeImpl(Injectee) - Constructor for class org.glassfish.hk2.utilities.InjecteeImpl
-
This is the copy constructor, which will copy all the values from the incoming Injectee
- InjectionPointIndicator - Annotation Type in org.glassfish.hk2.api
-
This annotation is placed on another annotation to indicate that the annotation
may be used to indicate an injection point
- InjectionResolver<T> - Interface in org.glassfish.hk2.api
-
This class allows users to provide a custom injection target for
any annotation (including @Inject).
- install(Binder...) - Method in class org.glassfish.hk2.utilities.binding.AbstractBinder
-
Adds all binding definitions from the binders to the binding configuration.
- InstanceLifecycleEvent - Interface in org.glassfish.hk2.api
-
This object contains information about a lifecycle
event.
- InstanceLifecycleEventImpl - Class in org.jvnet.hk2.internal
-
- InstanceLifecycleEventType - Enum in org.glassfish.hk2.api
-
This describes the type of lifecycle events
that can happen in the system
- InstanceLifecycleListener - Interface in org.glassfish.hk2.api
-
This processor is called for certain events in the lifecycle of instances
of services.
- InstantiationData - Interface in org.glassfish.hk2.api
-
- InstantiationService - Interface in org.glassfish.hk2.api
-
This service is used to get information about
the creation of a service from an
implementation of
Factory
.
- InstantiationServiceImpl - Class in org.jvnet.hk2.internal
-
- InstantiationServiceImpl() - Constructor for class org.jvnet.hk2.internal.InstantiationServiceImpl
-
- InterceptionService - Interface in org.glassfish.hk2.api
-
This service is implemented in order to configure
interceptors on methods or constructors provided by
hk2 services.
- invoke(Object, Method, Object[], boolean) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
This version of invoke is CCL neutral (it will return with the
same CCL as what it went in with)
- invoke(Object, Method, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorHandler
-
- invoke(Object, Method, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorImpl
-
- invoke(Object, Method, Object[]) - Method in class org.jvnet.hk2.internal.MethodInterceptorInvocationHandler
-
- isAbstract(Member) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if the underlying member is abstract
- isActive() - Method in interface org.glassfish.hk2.api.Context
-
True if this context is active, false otherwise
- isActive() - Method in interface org.glassfish.hk2.api.ServiceHandle
-
This returns true if the underlying service has already been
created
- isActive() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
-
- isActive() - Method in class org.glassfish.hk2.internal.PerThreadContext
-
- isActive() - Method in class org.glassfish.hk2.utilities.ImmediateContext
-
- isActive() - Method in class org.jvnet.hk2.internal.PerLookupContext
-
- isActive() - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
-
- isActive() - Method in class org.jvnet.hk2.internal.SingletonContext
-
- isAnnotationAQualifier(Annotation) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns true if the given annotation is a qualifier
- isCacheSet() - Method in interface org.glassfish.hk2.api.SingleCache
-
Returns true if this cache has been set
- isCacheSet() - Method in class org.glassfish.hk2.internal.ConstantActiveDescriptor
-
- isCacheSet() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- isCacheSet() - Method in class org.jvnet.hk2.internal.ConstantActiveDescriptor
-
- isCacheSet() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- isClosed() - Method in interface org.jvnet.hk2.internal.Closeable
-
Returns true if the instance has been
closed
- isClosed() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- isConstructorParameterIndicator() - Method in interface org.glassfish.hk2.api.InjectionResolver
-
This method should return true if the annotation that indicates that this is
an injection point can appear in the parameter list of a constructor.
- isConstructorParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
-
- isEmpty() - Method in class org.jvnet.hk2.internal.IndexedListData
-
- isFinal(Member) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if the underlying member is abstract
- isMethodParameterIndicator() - Method in interface org.glassfish.hk2.api.InjectionResolver
-
This method should return true if the annotation that indicates that this is
an injection point can appear in the parameter list of a method.
- isMethodParameterIndicator() - Method in class org.jvnet.hk2.internal.ThreeThirtyResolver
-
- isOptional() - Method in interface org.glassfish.hk2.api.Injectee
-
This method returns true if this injection point is annotated
with VOptional.
- isOptional() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- isOptional() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- isPrivate(Member) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns true if the underlying member is private
- isProxiable() - Method in interface org.glassfish.hk2.api.Descriptor
-
If this returns true then the system will create a proxy for
instances of this descriptor.
- isProxiable() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- isProxiable() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- isProxiableScope(Class<? extends Annotation>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if this scope is proxiable
- isProxyForSameScope() - Method in interface org.glassfish.hk2.api.Descriptor
-
This value determines whether or not this service should be
proxied when being injected into other services of the same
scope.
- isProxyForSameScope() - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- isProxyForSameScope() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- isRawTypeSafe(Type, Type) - Static method in class org.glassfish.hk2.utilities.reflection.TypeChecker
-
Returns true if the given requiredType is safely assignable
from the given beanType.
- isReified() - Method in interface org.glassfish.hk2.api.ActiveDescriptor
-
This method returns true if this descriptor has been reified
(class loaded).
- isReified() - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- isReified() - Method in class org.glassfish.hk2.utilities.AliasDescriptor
-
- isReified() - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- isSelf() - Method in interface org.glassfish.hk2.api.Injectee
-
This method returns true if this injection point is annotated
with VSelf.
- isSelf() - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
- isSelf() - Method in class org.jvnet.hk2.internal.SystemInjecteeImpl
-
- isStatic(Member) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Returns true if the underlying member is static
- isTypeSafe(Type, Type) - Static method in class org.jvnet.hk2.internal.Utilities
-
This code uses the TypeChecker but does some extra checking if
the types are annotations
- isUnproxiableScope(Class<? extends Annotation>) - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if this scope is unproxiable
- IterableProvider<T> - Interface in org.glassfish.hk2.api
-
This object can be injected rather than Provider or ExtendedProvider when
it is desired to iterate over more than one returned instance of the type.
- IterableProviderImpl<T> - Class in org.jvnet.hk2.internal
-
- iterator() - Method in class org.jvnet.hk2.internal.IterableProviderImpl
-
- ParameterizedTypeImpl - Class in org.glassfish.hk2.utilities.reflection
-
- ParameterizedTypeImpl(Type, Type...) - Constructor for class org.glassfish.hk2.utilities.reflection.ParameterizedTypeImpl
-
A new parameterized type
- parseServiceMetadataString(String, Map<String, List<String>>) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
This method parses the string that is found in the VService metadata field.
- PerLocatorUtilities - Class in org.jvnet.hk2.internal
-
These utilities are per service locator.
- PerLocatorUtilities() - Constructor for class org.jvnet.hk2.internal.PerLocatorUtilities
-
- PerLookup - Annotation Type in org.glassfish.hk2.api
-
PerLookup is the scope for objects that are created every time they are looked up.
- PerLookupContext - Class in org.jvnet.hk2.internal
-
- PerLookupContext() - Constructor for class org.jvnet.hk2.internal.PerLookupContext
-
- PerThread - Annotation Type in org.glassfish.hk2.api
-
PerThread is a scope that operates like Singleton
scope, except on a per-thread basis.
- PerThreadContext - Class in org.glassfish.hk2.internal
-
- PerThreadContext() - Constructor for class org.glassfish.hk2.internal.PerThreadContext
-
- PerThreadScopeModule - Class in org.glassfish.hk2.utilities
-
This module can be used to enable the PerThread
scope
feature.
- PerThreadScopeModule() - Constructor for class org.glassfish.hk2.utilities.PerThreadScopeModule
-
- popInjecteeParent() - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
-
- populate(DescriptorFileFinder, PopulatorPostProcessor...) - Method in interface org.glassfish.hk2.api.Populator
-
This method can be used to populate the service locator with files that
have been written out using the
DescriptorImpl
writeObject method.
- populate() - Method in interface org.glassfish.hk2.api.Populator
-
This method will populate the service locator using the system classloader to
find the hk2-locator files from the default location of META-INF/hk2-locator/default.
- populate(DescriptorFileFinder, PopulatorPostProcessor...) - Method in class org.jvnet.hk2.internal.PopulatorImpl
-
- populate() - Method in class org.jvnet.hk2.internal.PopulatorImpl
-
- Populator - Interface in org.glassfish.hk2.api
-
Implementations of this interface are used to populate HK2
service locators from inhabitants files
- PopulatorImpl - Class in org.jvnet.hk2.internal
-
Implementation of the Populator for DynamicConfigurationService
- PopulatorPostProcessor - Interface in org.glassfish.hk2.api
-
This interface allows the customization of services read in from
an external source.
- PostConstruct - Interface in org.glassfish.hk2.api
-
Classes implementing this interface register an interest in
being notified when the instance has been created and the
component is about to be place into commission.
- postConstruct() - Method in interface org.glassfish.hk2.api.PostConstruct
-
The component has been injected with any dependency and
will be placed into commission by the subsystem.
- postConstruct(Object) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This will analyze the given object and call the postConstruct method.
- postConstruct(Object, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This will analyze the given object and call the postConstruct method.
- postConstruct(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- postConstruct(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- postConstructFailed(ActiveDescriptor<?>, Throwable) - Method in interface org.glassfish.hk2.utilities.ImmediateErrorHandler
-
This is called whenever an immediate service fails in its constructor or
postConstruct method.
- PreDestroy - Interface in org.glassfish.hk2.api
-
Components implementing this interface registers an interest
in being notified when they are about to be decommissioned.
- preDestroy() - Method in interface org.glassfish.hk2.api.PreDestroy
-
The component is about to be removed from the registry.
- preDestroy(Object) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This will analyze the given object and call the preDestroy method.
- preDestroy(Object, String) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This will analyze the given object and call the preDestroy method.
- preDestroy(Object) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- preDestroy(Object, String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- preDestroyFailed(ActiveDescriptor<?>, Throwable) - Method in interface org.glassfish.hk2.utilities.ImmediateErrorHandler
-
This is called whenever an immediate service fails in its preDestroy method.
- pretty(StringBuffer, Descriptor) - Static method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Will pretty print a descriptor
- Pretty - Class in org.glassfish.hk2.utilities.reflection
-
- Pretty() - Constructor for class org.glassfish.hk2.utilities.reflection.Pretty
-
- PRIMITIVE_MAP - Static variable in class org.glassfish.hk2.utilities.reflection.Constants
-
Map from primitive type to java type
- printStackTrace(PrintStream) - Method in exception org.glassfish.hk2.api.MultiException
-
Prints the stack trace of this exception to the given PrintStream
- printStackTrace(PrintWriter) - Method in exception org.glassfish.hk2.api.MultiException
-
Prints the stack trace of this exception to the given PrintWriter
- printThrowable(Throwable) - Static method in class org.glassfish.hk2.utilities.reflection.Logger
-
Prints a throwable to stdout
- process(ServiceLocator, DescriptorImpl) - Method in interface org.glassfish.hk2.api.PopulatorPostProcessor
-
This method can be used to alter the descriptor read in.
- process(ServiceLocator, DescriptorImpl) - Method in class org.glassfish.hk2.utilities.ClassLoaderPostProcessor
-
- process(ServiceLocator, DescriptorImpl) - Method in class org.glassfish.hk2.utilities.DuplicatePostProcessor
-
- project - Variable in class com.sun.enterprise.module.maven.OsgiVersionMojo
-
The maven project.
- provide() - Method in interface org.glassfish.hk2.api.Factory
-
This method will create instances of the type of this factory.
- Proxiable - Annotation Type in org.glassfish.hk2.api
-
Scope annotations that are also marked with this
annotation are proxiable.
- proxiesAvailable() - Static method in class org.jvnet.hk2.internal.Utilities
-
Returns true if the system can create proxies, false otherwise
- proxy() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- proxy(boolean) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- proxy() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- proxy(boolean) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- proxy() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
This will cause the isProxiable field of the returned
descriptor to return true (it will force this
descriptor to use proxies).
- proxy(boolean) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
This will cause the isProxiable field of the returned
descriptor to return the given value.
- proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.NamedBindingBuilder
-
Set proxy flag on the binding.
- proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
-
Set proxy flag on the binding.
- proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ScopedNamedBindingBuilder
-
Set proxy flag on the binding.
- proxy(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
-
Set proxy flag on the binding.
- proxy() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
This will cause the isProxiable field of the returned
descriptor to return true (it will force this
descriptor to use proxies).
- proxy(boolean) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
This will cause the isProxiable field of the returned
descriptor to return the given value.
- ProxyCtl - Interface in org.glassfish.hk2.api
-
Every proxy generated by HK2 will implement this interface, which can be used to have finer
control on the behavior of the proxy
- ProxyForSameScope - Annotation Type in org.glassfish.hk2.api
-
This annotation is used when automatically analyzing a class or a
{link
Factory.provide()
method to indicate that the descriptor
either should or should use a proxy when being injected into a service
from the same scope.
- proxyForSameScope() - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- proxyForSameScope(boolean) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- proxyForSameScope() - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- proxyForSameScope(boolean) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- proxyForSameScope() - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
This will cause the isProxyForSameScope field of the returned
descriptor to return true (it will force this
descriptor to use proxies even when injecting into
the same scope).
- proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
This will cause the isProxyForSameScope field of the returned
descriptor to return the given value.
- proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ScopedBindingBuilder
-
Set proxyForSameScope flag on the binding
- proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.binding.ServiceBindingBuilder
-
Set proxyForSameScope flag on the binding
- proxyForSameScope() - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
This will cause the isProxyForSameScope field of the returned
descriptor to return true (it will force this
descriptor to proxy even when injecting into the same scope).
- proxyForSameScope(boolean) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
This will cause the isProxyForSameScope field of the returned
descriptor to return the given value.
- ProxyUtilities - Class in org.jvnet.hk2.internal
-
Utilities around proxying
- ProxyUtilities() - Constructor for class org.jvnet.hk2.internal.ProxyUtilities
-
- pType(ParameterizedType) - Static method in class org.glassfish.hk2.utilities.reflection.Pretty
-
Prints a pretty parameterized type
- publish(T) - Method in interface org.glassfish.hk2.api.messaging.Topic
-
Publishes a message to all subscribers
- publish(T) - Method in class org.jvnet.hk2.internal.TopicImpl
-
- pushInjecteeParent(Injectee) - Method in class org.jvnet.hk2.internal.InstantiationServiceImpl
-
- put(K, V) - Method in class org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead
-
- put(K, V) - Method in class org.glassfish.hk2.utilities.cache.LRUCache
-
Adds the given key and value pair into the cache
- safeEquals(Object, Object) - Static method in class org.glassfish.hk2.utilities.general.GeneralUtilities
-
Returns true if a is equals to b, or both
and and b are null.
- ScopedBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
-
Scoped service binding builder.
- ScopedNamedBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
-
Scoped and named service binding builder.
- ScopeInfo - Class in org.glassfish.hk2.utilities.reflection
-
Data structure concerning scope annotations
- ScopeInfo(Annotation, Class<? extends Annotation>) - Constructor for class org.glassfish.hk2.utilities.reflection.ScopeInfo
-
Constructor of the data structure concerning the scope annotation
- Self - Annotation Type in org.glassfish.hk2.api
-
This annotation is placed on an injection point that is to be injected with the
ActiveDescriptor
that was used
to create the instance.
- Service - Annotation Type in org.jvnet.hk2.annotations
-
Annotation placed on classes that are to be automatically added
to an hk2
ServiceLocator
.
- ServiceBindingBuilder<T> - Interface in org.glassfish.hk2.utilities.binding
-
Service binding builder.
- ServiceHandle<T> - Interface in org.glassfish.hk2.api
-
This service handle can be used to get a specific instance
of a service, and can be used to destroy that service as well
- ServiceHandleComparator - Class in org.jvnet.hk2.internal
-
- ServiceHandleComparator() - Constructor for class org.jvnet.hk2.internal.ServiceHandleComparator
-
- ServiceHandleImpl<T> - Class in org.jvnet.hk2.internal
-
This handle does the underlying work of getting the service.
- ServiceLocator - Interface in org.glassfish.hk2.api
-
ServiceLocator is the registry for HK2 services
- ServiceLocatorFactory - Class in org.glassfish.hk2.api
-
This factory can be used to create new named ServiceLocators
- ServiceLocatorFactory() - Constructor for class org.glassfish.hk2.api.ServiceLocatorFactory
-
- ServiceLocatorFactory.CreatePolicy - Enum in org.glassfish.hk2.api
-
Tells the create method what to do if an existing ServiceLocator
with the given name exists
- ServiceLocatorFactoryImpl - Class in org.glassfish.hk2.internal
-
The implementation of the
ServiceLocatorFactory
that looks
in the OSGi service registry or the META-INF/services for the implementation
to use.
- ServiceLocatorFactoryImpl() - Constructor for class org.glassfish.hk2.internal.ServiceLocatorFactoryImpl
-
This will create a new set of name to locator mappings
- ServiceLocatorGenerator - Interface in org.glassfish.hk2.extension
-
An implementation of this class can be placed in META-INF/services
in order to customize the creation of the ServiceLocator
- ServiceLocatorGeneratorImpl - Class in org.jvnet.hk2.external.generator
-
- ServiceLocatorGeneratorImpl() - Constructor for class org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
-
- ServiceLocatorImpl - Class in org.jvnet.hk2.internal
-
- ServiceLocatorImpl(String, ServiceLocatorImpl) - Constructor for class org.jvnet.hk2.internal.ServiceLocatorImpl
-
Called by the Generator, and hence must be a public method
- ServiceLocatorListener - Interface in org.glassfish.hk2.api
-
- ServiceLocatorRuntimeBean - Interface in org.jvnet.hk2.external.runtime
-
Runtime information about the ServiceLocator.
- ServiceLocatorRuntimeImpl - Class in org.jvnet.hk2.internal
-
- ServiceLocatorState - Enum in org.glassfish.hk2.api
-
The possible states in which a service locator can be in.
- ServiceLocatorUtilities - Class in org.glassfish.hk2.utilities
-
- ServiceLocatorUtilities() - Constructor for class org.glassfish.hk2.utilities.ServiceLocatorUtilities
-
- set(K, Collection<? extends V>) - Method in class org.jvnet.hk2.component.MultiMap
-
Replaces all the existing values associated with the key
by the given value.
- set(K, V) - Method in class org.jvnet.hk2.component.MultiMap
-
Replaces all the existing values associated with the key
by the given single value.
- setCache(T) - Method in interface org.glassfish.hk2.api.SingleCache
-
Sets the value into the cache
- setCache(T) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- setCache(T) - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- setClassAnalysisName(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the name of the service that will be used
to analyze this class
- setDefaultClassAnalyzerName(String) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
Sets the name of the default class analyzer that should be used for all
Descriptor
s that return null as their class analyzer.
- setDefaultClassAnalyzerName(String) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- setDefaultUnqualified(Unqualified) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This sets the default
Unqualified
annotation that will be
put on all injection points that do not have any qualifiers.
- setDefaultUnqualified(Unqualified) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- setDescriptorType(DescriptorType) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the descriptor type
- setDescriptorVisibility(DescriptorVisibility) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the descriptor visilibity
- setFactoryId(Long, Long) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
Sets the locator and serviceId for the factory.
- setField(Field, Object, Object) - Static method in class org.glassfish.hk2.utilities.reflection.ReflectionHelper
-
Sets the given field to the given value
- setImplementation(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the implementation
- setInjecteeDescriptor(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets the descriptor to be associated with this injectee
- setLoader(HK2Loader) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the loader to use with this descriptor
- setLocatorId(Long) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the locator id for this descriptor
- setMetadata(Map<String, List<String>>) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the metadata of this DescriptorImpl to exactly the set
of metadata in the incoming map.
- setName(String) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
Sets the name of this descriptor.
- setName(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the name this descriptor should have
- setNeutralContextClassLoader(boolean) - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This sets the value of neutralContextClassLoader.
- setNeutralContextClassLoader(boolean) - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- setOptional(boolean) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets whether or not this Injectee should be considered optional
- setParent(AnnotatedElement) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
This setter sets both the parent and the injecteeClass fields.
- setPosition(int) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets the position of this Injectee.
- setProxiable(Boolean) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets whether or not this descriptor should be proxied
- setProxyForSameScope(Boolean) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets whether or not to proxy this descriptor for other
services in the same scope
- setRanking(int) - Method in interface org.glassfish.hk2.api.Descriptor
-
Returns the ranking of this descriptor.
- setRanking(int) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
- setRanking(int) - Method in class org.jvnet.hk2.internal.SystemDescriptor
-
- setReified(boolean) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
This method is called to change the state of the
reification of this descriptor
- setReportToErrorService(boolean) - Method in exception org.glassfish.hk2.api.MultiException
-
Sets if this exception should be reported
to the error service when thrown during a creation
or deletion of a service
- setRequiredQualifiers(Set<Annotation>) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets the required qualifiers for this Injectee
- setRequiredType(Type) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets the required type of this Injectee
- setScope(String) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the scope this descriptor should have
- setScopeAnnotation(Class<? extends Annotation>) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
Sets the scope annotation for this descriptor
- setScopeAsAnnotation(Annotation) - Method in class org.glassfish.hk2.utilities.AbstractActiveDescriptor
-
- setSelf(boolean) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets whether or not this is a self-referencing injectee
- setServiceData(Object) - Method in interface org.glassfish.hk2.api.ServiceHandle
-
Service data can be set on a service handle.
- setServiceData(Object) - Method in class org.jvnet.hk2.internal.ServiceHandleImpl
-
- setServiceId(Long) - Method in class org.glassfish.hk2.utilities.DescriptorImpl
-
Sets the service id for this descriptor
- setUnqualified(Unqualified) - Method in class org.glassfish.hk2.utilities.InjecteeImpl
-
Sets the unqualified annotation to be associated with this injectee
- setUserData(String, Object) - Method in interface org.glassfish.hk2.api.HK2Invocation
-
Sets the user data to be associated with the invocation
frame.
- shutdown() - Method in interface org.glassfish.hk2.api.Context
-
Shut down this context.
- shutdown() - Method in interface org.glassfish.hk2.api.ServiceLocator
-
This method will shutdown every service associated with this ServiceLocator.
- shutdown() - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
For when the server shuts down
- shutdown() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
-
- shutdown() - Method in class org.glassfish.hk2.internal.PerThreadContext
-
- shutdown() - Method in class org.glassfish.hk2.utilities.ImmediateContext
-
- shutdown() - Method in class org.jvnet.hk2.internal.PerLookupContext
-
- shutdown() - Method in class org.jvnet.hk2.internal.ServiceLocatorImpl
-
- shutdown() - Method in class org.jvnet.hk2.internal.SingletonContext
-
- SingleCache<T> - Interface in org.glassfish.hk2.api
-
This cache can be used in some circumstances when there can be only one
of a service.
- SingletonContext - Class in org.jvnet.hk2.internal
-
- size() - Method in class org.glassfish.hk2.utilities.cache.Cache
-
Returns the size of the cache
- size() - Method in class org.glassfish.hk2.utilities.cache.LRUHybridCache
-
Return the size of the cache
- size() - Method in interface org.glassfish.hk2.utilities.reflection.ClassReflectionHelper
-
Returns an approximation of the current size of the cache
- size() - Method in class org.glassfish.hk2.utilities.reflection.internal.ClassReflectionHelperImpl
-
- size() - Method in class org.jvnet.hk2.component.MultiMap
-
Returns the size of the map.
- size() - Method in class org.jvnet.hk2.internal.IndexedListData
-
- SpecificFilterImpl - Class in org.glassfish.hk2.internal
-
This is a filter that matches an exact descriptor
- SpecificFilterImpl(String, String, long, long) - Constructor for class org.glassfish.hk2.internal.SpecificFilterImpl
-
For matching an exact descriptor
- STANDARD_PATTERN - Static variable in class org.glassfish.hk2.maven.Version
-
- StarFilter - Class in org.glassfish.hk2.internal
-
A filter that gets everything! w00t w00t!
- StarFilter() - Constructor for class org.glassfish.hk2.internal.StarFilter
-
- SubscribeTo - Annotation Type in org.glassfish.hk2.api.messaging
-
This annotation is put onto one parameter of a method to indicate that
this method should be called whenever a Topic sends a message.
- supportsNullCreation() - Method in interface org.glassfish.hk2.api.Context
-
Returns true if the findOrCreate method can return null
- supportsNullCreation() - Method in class org.glassfish.hk2.internal.InheritableThreadContext
-
- supportsNullCreation() - Method in class org.glassfish.hk2.internal.PerThreadContext
-
- supportsNullCreation() - Method in class org.glassfish.hk2.utilities.ImmediateContext
-
- supportsNullCreation() - Method in class org.jvnet.hk2.internal.PerLookupContext
-
- supportsNullCreation() - Method in class org.jvnet.hk2.internal.SingletonContext
-
- SYSTEM_LOADER_NAME - Static variable in class org.glassfish.hk2.utilities.reflection.Constants
-
The name of the system class loader
- SYSTEM_RESOLVER_NAME - Static variable in interface org.glassfish.hk2.api.InjectionResolver
-
This is the name of the system provided resolver for 330 injections
- SystemDescriptor<T> - Class in org.jvnet.hk2.internal
-
- SystemInjecteeImpl - Class in org.jvnet.hk2.internal
-
This is an implementation of Injectee that is used by the system.
- validate(ValidationInformation) - Method in interface org.glassfish.hk2.api.Validator
-
This method is called whenever it has been determined that a validating
class is to be injected into an injection point, or when a descriptor
is being looked up explicitly with the API, or a descriptor is being
bound or unbound into the registry.
- validate(ValidationInformation) - Method in class org.glassfish.hk2.internal.ImmediateHelper
-
- validateSelfInjectees(ActiveDescriptor<?>, List<SystemInjecteeImpl>, Collector) - Static method in class org.jvnet.hk2.internal.Utilities
-
This method validates a list of injectees to ensure that any self injectees have
the proper set of requirements.
- ValidationInformation - Interface in org.glassfish.hk2.api
-
This object contains information about the validation
point.
- ValidationInformationImpl - Class in org.jvnet.hk2.internal
-
- ValidationInformationImpl(Operation, ActiveDescriptor<?>, Injectee, Filter) - Constructor for class org.jvnet.hk2.internal.ValidationInformationImpl
-
Creates the validation information
- ValidationInformationImpl(Operation, ActiveDescriptor<?>) - Constructor for class org.jvnet.hk2.internal.ValidationInformationImpl
-
Creates the validation information
- ValidationService - Interface in org.glassfish.hk2.api
-
This service can be used to add validation points to Descriptors.
- Validator - Interface in org.glassfish.hk2.api
-
This method is called when it determined that a type that is
annotated with a Validating annotation is to be injected into
any other class.
- value() - Method in class org.glassfish.hk2.utilities.NamedImpl
-
- value() - Method in class org.glassfish.hk2.utilities.UnqualifiedImpl
-
The set of annotations that must not be associated with
the service being injected
- valueOf(String) - Static method in enum org.glassfish.hk2.api.DescriptorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.api.DescriptorVisibility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.api.ErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.api.InstanceLifecycleEventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.api.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.api.ServiceLocatorFactory.CreatePolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.api.ServiceLocatorState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.glassfish.hk2.maven.Version.COMPONENT
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.glassfish.hk2.api.DescriptorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.api.DescriptorVisibility
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.api.ErrorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.api.InstanceLifecycleEventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.api.Operation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.api.ServiceLocatorFactory.CreatePolicy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.api.ServiceLocatorState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.glassfish.hk2.maven.Version.COMPONENT
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Version - Class in org.glassfish.hk2.maven
-
- Version(String) - Constructor for class org.glassfish.hk2.maven.Version
-
- Version.COMPONENT - Enum in org.glassfish.hk2.maven
-
- versionPropertyName - Variable in class com.sun.enterprise.module.maven.OsgiVersionMojo
-
- Visibility - Annotation Type in org.glassfish.hk2.api
-
This annotation is used when automatically analyzing a class or a
{link
Factory.provide()
method to indicate that the descriptor
either should or should not have LOCAL visibility.
- visibility(DescriptorVisibility) - Method in class org.glassfish.hk2.internal.ActiveDescriptorBuilderImpl
-
- visibility(DescriptorVisibility) - Method in class org.glassfish.hk2.internal.DescriptorBuilderImpl
-
- visibility(DescriptorVisibility) - Method in interface org.glassfish.hk2.utilities.ActiveDescriptorBuilder
-
This will set the descriptorVisibility field of the returned
descriptor
- visibility(DescriptorVisibility) - Method in interface org.glassfish.hk2.utilities.DescriptorBuilder
-
This will set the descriptorVisibility field of the returned
descriptor