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

A

AbstractCreatorImpl<T> - Class in com.sun.hk2.component
 
AbstractCreatorImpl(Class<? extends T>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.AbstractCreatorImpl
 
AbstractInhabitantImpl<T> - Class in com.sun.hk2.component
Partial implementation of Inhabitant that defines methods whose semantics is fixed by Habitat.
AbstractInhabitantImpl(Descriptor) - Constructor for class com.sun.hk2.component.AbstractInhabitantImpl
 
AbstractInhabitantProvider - Class in com.sun.hk2.component
abstract base for InhabitantProviderInterceptor
AbstractInhabitantProvider() - Constructor for class com.sun.hk2.component.AbstractInhabitantProvider
 
AbstractRunLevelService<T> - Class in org.jvnet.hk2.component
A default implementation for the RunLevelService that component provides can derive from to provide their own component-related lifecycle.
AbstractRunLevelService(Class<?>) - Constructor for class org.jvnet.hk2.component.AbstractRunLevelService
 
accept(File) - Method in class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
accept(AbstractInhabitantImpl<?>, int) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Returns true if the RunLevel for the given inhabitant in question should be processed by this RunLevelService instance.
activate(Inhabitant<?>) - Method in interface org.jvnet.hk2.component.InhabitantActivator
Implementations are generally expected to call Inhabitant.get() at some point.
activate(Inhabitant<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Called when we are responsible for handling the InhabitantActivator work.
activate(Inhabitant<?>) - Method in class org.jvnet.hk2.component.MultiThreadedInhabitantActivator
 
add(Inhabitant<?>, InhabitantParser) - Method in class com.sun.hk2.component.InhabitantsParser
Adds the given inhabitant to the habitat, with all its indices.
add(Inhabitant<?>) - Method in class com.sun.hk2.component.InhabitantsParser
Adds the given inhabitant to the habitat
add(Inhabitant<?>) - Method in interface com.sun.hk2.component.InhabitantStore
Adds the given inhabitant to the backing store (usually the habitat)
add(Inhabitant<?>) - Method in class org.jvnet.hk2.component.Habitat
Adds a new inhabitant.
add(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Adds one more key-value pair.
addComponent(T) - Method in class org.jvnet.hk2.component.Habitat
Add an already instantiated component to this manager.
addContract(Class<?>) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
addContract(String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
addHabitatListener(HabitatListener) - Method in class org.jvnet.hk2.component.Habitat
Add a habitat listener with no contract-level filtering.
addHabitatListener(HabitatListener, String...) - Method in class org.jvnet.hk2.component.Habitat
Add a habitat listener with contract-level filtering.
addHabitatListener(HabitatListener, Set<String>) - Method in class org.jvnet.hk2.component.Habitat
 
addIndex(Inhabitant<?>, String, String) - Method in class com.sun.hk2.component.InhabitantsParser
Adds the given inhabitant index to the habitat
addIndex(Inhabitant<?>, String, String) - Method in interface com.sun.hk2.component.InhabitantStore
Adds the given inhabitant index to the backing store (usually the habitat)
addIndex(Inhabitant<?>, String, String) - Method in class org.jvnet.hk2.component.Habitat
Adds a new index to look up the given inhabitant.
addIndex(Inhabitant<?>, String, String, boolean) - Method in class org.jvnet.hk2.component.Habitat
 
addInhabitantListener(InhabitantListener) - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
addInhabitantsScanner(String, InhabitantsScanner) - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
 
addMetadata(String, String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
addName(String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
addQualifierType(String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
all() - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
all(boolean) - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
allowInjection(Method, Class<?>[]) - Method in class org.jvnet.hk2.component.InjectionManager
jsr-330 rules are very forgiving.
annotatedWith(Class<? extends Annotation>) - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
assertNotReadOnly() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
asyncDoInject(InjectionManager.InjectContext) - Method in class org.jvnet.hk2.component.InjectionManager
Prototype for the multi-threaded version of inject().
AsyncWaiter - Class in org.jvnet.hk2.component
Helper class that will manage all AsyncPostConstruct services and Futures for completion.
AsyncWaiter() - Constructor for class org.jvnet.hk2.component.AsyncWaiter
 
awaitCompletion() - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
awaitCompletion(long, TimeUnit) - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
awaitCompletion() - Method in interface org.jvnet.hk2.component.InhabitantActivator
Called after all InhabitantActivator.activate(Inhabitant) and InhabitantActivator.deactivate(Inhabitant) calls are made to wait for completion of a progression to a particular run level.
awaitCompletion(long, TimeUnit) - Method in interface org.jvnet.hk2.component.InhabitantActivator
Called after all InhabitantActivator.activate(Inhabitant) and InhabitantActivator.deactivate(Inhabitant) calls are made to wait for completion of a progression to a particular run level.
awaitCompletion() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Await completion for all AsyncPostConstruct service types
awaitCompletion(long, TimeUnit) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
No-op, since we are not a MultiThreadedInhabitantActivator
awaitCompletion() - Method in class org.jvnet.hk2.component.MultiThreadedInhabitantActivator
 
awaitCompletion(long, TimeUnit) - Method in class org.jvnet.hk2.component.MultiThreadedInhabitantActivator
 
awaitTermination(long, TimeUnit) - Method in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 

B

bindDynamically() - Method in class org.jvnet.hk2.component.Habitat
 
build() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
buildMetadata(KeyValuePairParser) - Static method in class com.sun.hk2.component.InhabitantFileBasedParser
 
byType(Class<U>) - Method in class org.jvnet.hk2.component.Habitat
 
byType(String) - Method in class org.jvnet.hk2.component.Habitat
 

C

cacheValue(SoftReference<V>, V) - Method in class com.sun.hk2.component.SoftCache
 
captureACCandRun(Runnable) - Static method in class com.sun.hk2.component.Hk2ThreadContext
Performs a runnable action while managing the callers AccessControlContext in thread local storage
cause - Variable in exception org.jvnet.hk2.component.concurrent.WorkManager.ExecutionException
 
CLASS_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
 
ClassLoaderHolder - Interface in com.sun.hk2.component
Contract representing holders for a ClassLoader
classNames(String...) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
classNames(Set<String>) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
classNames - Variable in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
ClassPath - Class in org.jvnet.hk2.component.classmodel
Helper for creating classpath approximating SE behavior.
ClassPath(boolean) - Constructor for class org.jvnet.hk2.component.classmodel.ClassPath
 
ClassPath(String) - Constructor for class org.jvnet.hk2.component.classmodel.ClassPath
 
ClassPath(Collection<File>) - Constructor for class org.jvnet.hk2.component.classmodel.ClassPath
 
ClassPathAdvisor - Interface in org.jvnet.hk2.component.classmodel
Assists in the creation of the habitat via class-model introspection.
classPathEntries - Variable in class org.jvnet.hk2.component.classmodel.ClassPath
 
clean() - Static method in class org.jvnet.hk2.tracing.TracingThreadLocal
 
clear() - Method in class com.sun.hk2.component.SoftCache
Clears the cache
clear() - Method in class org.jvnet.hk2.component.AsyncWaiter
Clear the collection of watches, regardless of state.
clone() - Method in class org.jvnet.hk2.component.MultiMap
Creates a copy of the map that contains the exact same key and value set.
close() - Method in class com.sun.hk2.component.InhabitantsScanner
 
close() - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
 
com.sun.hk2.component - package com.sun.hk2.component
Dependency injection implementation for HK2.
companions() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
companions() - Method in interface org.jvnet.hk2.component.Inhabitant
Returns the companion inhabitants associated with this inhabitant.
completed(WorkManager.Watcher<?>, Exception) - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
component - Variable in class org.jvnet.hk2.component.InjectionManager.InjectContext
 
ComponentException - Exception in org.jvnet.hk2.component
Exception thrown when a component's dependency is not satisfied at the time the component is expected to be put in commission.
ComponentException(String) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
ComponentException(Throwable) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
ComponentException(String, Throwable) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
ComponentException(String, ServiceContext, Throwable) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
ComponentException(String, Object...) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
Constants - Class in org.jvnet.hk2.component
Common metadata properties used by the inhabitant / habitat.
Constants() - Constructor for class org.jvnet.hk2.component.Constants
 
ConstructorCreator<T> - Class in com.sun.hk2.component
Creates an object from its constructor.
ConstructorCreator(Class<? extends T>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.ConstructorCreator
 
ConstructorWomb<T> - Class in com.sun.hk2.component
Deprecated. Use ConstructorCreator instead
ConstructorWomb(Class<T>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.ConstructorWomb
Deprecated.  
contains(Set<String>, String) - Static method in class com.sun.hk2.component.AbstractInhabitantProvider
 
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(K) - Method in class org.jvnet.hk2.component.MultiMap
Checks if the map contains the given key.
ContextualFactory<T> - Interface in org.jvnet.hk2.component
Extension to the simple Factory that supports contextual injection.
ContractLocatorImpl<T> - Class in org.jvnet.hk2.component
Implementation of the ContractLocator interface.
ContractLocatorImpl(SimpleServiceLocator, Type, boolean) - Constructor for class org.jvnet.hk2.component.ContractLocatorImpl
 
create(Inhabitant) - Method in class com.sun.hk2.component.ConstructorCreator
 
create(Inhabitant) - Method in class com.sun.hk2.component.FactoryCreator
 
create(T) - Static method in class com.sun.hk2.component.Inhabitants
Creates a singleton wrapper around existing object.
create(Class<T>, Habitat, MultiMap<String, String>) - Static method in class com.sun.hk2.component.Inhabitants
Creates a Inhabitant by looking at annotations of the given type.
create(Inhabitant) - Method in class com.sun.hk2.component.InjectableParametizedConstructorCreator
 
create(Habitat, boolean) - Static method in class org.jvnet.hk2.component.classmodel.ClassPath
Creates a ClassPathHelper instance.
create(Habitat, String) - Static method in class org.jvnet.hk2.component.classmodel.ClassPath
 
create(Habitat, Collection<File>) - Static method in class org.jvnet.hk2.component.classmodel.ClassPath
 
create(Habitat, InhabitantsParser) - Static method in class org.jvnet.hk2.component.classmodel.InhabitantsFeed
Creates an InhabitantsHabitatFeed.
create(Habitat, ExecutorService, ClassPath, FileFilter) - Static method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
Factory for the InhabitantsParsingContextGenerator
create(Inhabitant) - Method in interface org.jvnet.hk2.component.Creator
Creates a new instance.
create(Class<T>, Habitat, MultiMap<String, String>) - Static method in class org.jvnet.hk2.component.Creators
 
create(Services, Class<? extends Module>...) - Method in class org.jvnet.hk2.component.HK2ProviderImpl
 
create(Services, Module...) - Method in class org.jvnet.hk2.component.HK2ProviderImpl
 
create(T) - Static method in class org.jvnet.hk2.component.Inhabitants
Deprecated. Use Inhabitants instead.
create(Class<T>, Habitat, MultiMap<String, String>) - Static method in class org.jvnet.hk2.component.Inhabitants
Deprecated. Use Inhabitants instead.
create(Habitat) - Static method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
Creates a builder appropriate for the given habitat
create(String) - Static method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
create(Map<String, Object>) - Static method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
createClassFilter(String) - Static method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
createCreator(Class<T>) - Method in class com.sun.hk2.component.LazyInhabitant
Creates Creator for instantiating objects.
createHabitat() - Static method in class org.jvnet.hk2.junit.Hk2Runner
 
createHabitat() - Method in class org.jvnet.hk2.junit.Hk2TestServices
 
createInhabitant(Habitat, Holder<ClassLoader>, String, MultiMap<String, String>, Inhabitant<?>, Set<String>) - Static method in class com.sun.hk2.component.Inhabitants
Deprecated.  
createInhabitant(Habitat, Iterator<InhabitantProviderInterceptor>, Holder<ClassLoader>, String, MultiMap<String, String>, Inhabitant<?>, InhabitantStore, Set<String>) - Static method in class com.sun.hk2.component.Inhabitants
 
createInhabitantsParser(Habitat) - Method in interface org.jvnet.hk2.component.InhabitantsParserFactory
 
createInhabitantsParser(Habitat) - Method in class org.jvnet.hk2.junit.Hk2TestServices
 
createInjectionManager() - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
createMerged(Descriptor, Descriptor) - Static method in class org.jvnet.hk2.component.DescriptorImpl
 
createPopulatedHabitat() - Method in class org.jvnet.hk2.junit.Hk2TestServices
 
Creator<T> - Interface in org.jvnet.hk2.component
Encapsulates how to create an object.
Creators - Class in org.jvnet.hk2.component
Creator factory.
Creators() - Constructor for class org.jvnet.hk2.component.Creators
 

D

deactivate(Inhabitant<?>) - Method in interface org.jvnet.hk2.component.InhabitantActivator
Implementations are generally expected to call Inhabitant.release() at some point.
deactivate(Inhabitant<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Called when we are responsible for handling the InhabitantActivator work.
deactivate(Inhabitant<?>) - Method in class org.jvnet.hk2.component.MultiThreadedInhabitantActivator
 
decorate(InhabitantsParser) - Method in interface com.sun.hk2.component.InhabitantsParserDecorator
Decorate the passed instance
DECORATED_TYPE - Static variable in class com.sun.hk2.component.InhabitantsFile
 
DEFAULT_ASYNC_ENABLED - Static variable in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
DEFAULT_ASYNC_WAIT - Static variable in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
DEFAULT_NAME - Variable in class org.jvnet.hk2.component.Habitat
Name to use to programmatically store default instances of a particular service.
DEFAULT_NAME - Static variable in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
DEFAULT_SCOPE - Static variable in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
DefaultRunLevelService - Class in org.jvnet.hk2.component.internal.runlevel
The default RunLevelService implementation for Hk2.
DefaultRunLevelService(SimpleServiceLocator) - Constructor for class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
DefaultRunLevelService(SimpleServiceLocator, boolean, String, Class<?>, HashMap<Integer, Recorder>) - Constructor for class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
DefaultRunLevelService.Interrupt - Exception in org.jvnet.hk2.component.internal.runlevel
 
descriptor - Variable in class com.sun.hk2.component.AbstractInhabitantImpl
 
DescriptorImpl - Class in org.jvnet.hk2.component
A simple Descriptor.
DescriptorImpl() - Constructor for class org.jvnet.hk2.component.DescriptorImpl
 
DescriptorImpl(Class<?>) - Constructor for class org.jvnet.hk2.component.DescriptorImpl
 
DescriptorImpl(String, String) - Constructor for class org.jvnet.hk2.component.DescriptorImpl
 
DescriptorImpl(String, String, MultiMap<String, String>, Scope) - Constructor for class org.jvnet.hk2.component.DescriptorImpl
 
DescriptorImpl(Descriptor) - Constructor for class org.jvnet.hk2.component.DescriptorImpl
 
DescriptorImpl(Descriptor, boolean) - Constructor for class org.jvnet.hk2.component.DescriptorImpl
 
dispose(T) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
done() - Method in class org.jvnet.hk2.tracing.TracingUtilities.Node
 
drop(Class<?>) - Method in class com.sun.hk2.component.InhabitantsParser
Tells InhabitantsParser that if it encounters the specified component while parsing inhabitants file, simply drop it and pretend that such an inhabitant had never existed.
drop(String) - Method in class com.sun.hk2.component.InhabitantsParser
 
dump(PrintStream) - Static method in class org.jvnet.hk2.tracing.TracingUtilities
 
dump(String, PrintStream) - Static method in class org.jvnet.hk2.tracing.TracingUtilities
 
dump(String, TracingUtilities.Node, PrintStream) - Static method in class org.jvnet.hk2.tracing.TracingUtilities
 

E

elapsed() - Method in class org.jvnet.hk2.tracing.TracingUtilities.Node
 
emptyMap() - Static method in class org.jvnet.hk2.component.MultiMap
Gets the singleton read-only empty multi-map.
enable(boolean) - Static method in class com.sun.hk2.component.RunLevelInhabitant
FOR INTERNAL USE ONLY
enable(boolean) - Method in interface org.jvnet.hk2.component.Enableable
Toggle the enabled state.
enable(boolean) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
Enableable - Interface in org.jvnet.hk2.component
Contract used for enabling/disabling a service, and querying whether it is currently enabled.
entrySet() - Method in class org.jvnet.hk2.component.MultiMap
Lists up all entries.
equals(Object) - Method in class org.jvnet.hk2.component.classmodel.ClassPath
 
equals(Object) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
equals(Object) - Method in class org.jvnet.hk2.component.MultiMap
 
error_injectionException(InjectionResolver, Annotation, AnnotatedElement, Throwable) - Method in class org.jvnet.hk2.component.InjectionManager
 
error_InjectMethodIsNotVoid(Method) - Method in class org.jvnet.hk2.component.InjectionManager
 
es - Variable in class org.jvnet.hk2.component.InjectionManager.InjectContext
 
event(DefaultRunLevelService.Worker, DefaultRunLevelService.ListenerEvent, ServiceContext, Throwable) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
event(DefaultRunLevelService.Worker, DefaultRunLevelService.ListenerEvent, ServiceContext, Throwable, boolean) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
EventPublishingInhabitant<T> - Class in com.sun.hk2.component
An inhabitant that implements InhabitantEventPublisher, and maintains a list of listeners to notify for interesting changes of the underlying delegate.
EventPublishingInhabitant(Descriptor) - Constructor for class com.sun.hk2.component.EventPublishingInhabitant
 
EventPublishingInhabitant(Inhabitant<?>) - Constructor for class com.sun.hk2.component.EventPublishingInhabitant
 
EventPublishingInhabitant(Inhabitant<?>, InhabitantListener) - Constructor for class com.sun.hk2.component.EventPublishingInhabitant
 
execute(Runnable) - Method in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 
execute(Runnable) - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
executeAll(Collection<Runnable>) - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
EXECUTOR_HABITAT_LISTENERS_AND_TRACKERS - Static variable in class org.jvnet.hk2.component.Constants
 
EXECUTOR_INHABITANT_ACTIVATOR - Static variable in class org.jvnet.hk2.component.Constants
 
EXECUTOR_INHABITANT_INJECTION_MANAGER - Static variable in class org.jvnet.hk2.component.Constants
The executor service names used by Hk2
ExistingSingletonInhabitant<T> - Class in com.sun.hk2.component
Inhabitant built around an object that already exists.
ExistingSingletonInhabitant(T) - Constructor for class com.sun.hk2.component.ExistingSingletonInhabitant
 
ExistingSingletonInhabitant(Class<T>, T) - Constructor for class com.sun.hk2.component.ExistingSingletonInhabitant
 
ExistingSingletonInhabitant(Class<T>, T, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.ExistingSingletonInhabitant
 
expandedClassPathEntries - Variable in class org.jvnet.hk2.component.classmodel.ClassPath
 

F

Factory<T> - Interface in org.jvnet.hk2.component
Hook to create/obtain an instance of a component from somewhere, instead of letting the auto-depends create it via the constructor.
FactoryCreator<T> - Class in com.sun.hk2.component
Creates an object from Factory.
FactoryCreator(Class<T>, Class<? extends Factory>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.FactoryCreator
 
FactoryCreator(Class<T>, Inhabitant<? extends Factory>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.FactoryCreator
 
fetch() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
fetch() - Method in class com.sun.hk2.component.LazyInhabitant
 
FileCachingClassPathAdvisor - Class in org.jvnet.hk2.component.classmodel
Uses a properties file to map all known URIs to last modified date,size, and whether it contains significant class-model artifacts that contributes to habitat production.
FileCachingClassPathAdvisor() - Constructor for class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
FileCachingClassPathAdvisor(String) - Constructor for class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
filter(InhabitantFilter) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
filter - Variable in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
find(String) - Method in class com.sun.hk2.component.KeyValuePairParser
Skips until we find the value of the given key, and leaves the parser at that point.
findAll(String) - Method in class com.sun.hk2.component.KeyValuePairParser
Finds all the values of the given key.
findContracts(ClassModel, Set<String>, Set<String>) - Method in class com.sun.hk2.component.InhabitantIntrospectionScanner
 
findContractsFromAnnotations(AnnotatedElement, Set<String>, Set<String>) - Method in class com.sun.hk2.component.InhabitantIntrospectionScanner
 
findInterfaceContracts(InterfaceModel, Set<String>, Set<String>) - Method in class com.sun.hk2.component.InhabitantIntrospectionScanner
 
finishing(Set<URI>, Set<URI>) - Method in interface org.jvnet.hk2.component.classmodel.ClassPathAdvisor
Called at the completion of class-model habitat creation
finishing(Set<URI>, Set<URI>) - Method in class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
forContract(Class<U>) - Method in class org.jvnet.hk2.component.Habitat
 
forContract(String) - Method in class org.jvnet.hk2.component.Habitat
 
forContract(TypeLiteral<U>) - Method in class org.jvnet.hk2.component.Habitat
 

G

get(Inhabitant) - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
get() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
get(Inhabitant) - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
get(Inhabitant) - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
get() - Method in class com.sun.hk2.component.Holder.Impl
 
get(Inhabitant) - Method in class com.sun.hk2.component.RunLevelInhabitant
 
get(Inhabitant) - Method in class com.sun.hk2.component.ScopedInhabitant
 
get(Provider<T>) - Method in class com.sun.hk2.component.ScopeInstanceImpl
 
get(Inhabitant) - Method in class com.sun.hk2.component.SingletonInhabitant
 
get(K, Callable<V>) - Method in class com.sun.hk2.component.SoftCache
Returns either the cached value if hasn't been reclaimed by GC.
get() - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
get() - Method in interface org.jvnet.hk2.component.Creator
Short cut for
get() - Method in interface org.jvnet.hk2.component.Inhabitant
Returns the instance of this inhabitant.
get(Inhabitant) - Method in interface org.jvnet.hk2.component.Inhabitant
Returns the instance of this inhabitant.
get(Habitat, int, Class<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.RunLevelServices
Find the RunLevelService appropriate for the specified RunLevel
get(Habitat, int, String) - Method in class org.jvnet.hk2.component.internal.runlevel.RunLevelServices
 
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.component.Reference
 
get() - Static method in class org.jvnet.hk2.tracing.TracingThreadLocal
 
getActivatingRunLevel() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getAllByContract(Inhabitant<?>, Habitat, Class<V>) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
getAllByContract(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants registered under the given Contract.
getAllByContract(String) - Method in class org.jvnet.hk2.component.Habitat
 
getAllByType(Inhabitant<?>, Habitat, Class<V>) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
getAllByType(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets the object of the given type.
getAllContracts() - Method in class org.jvnet.hk2.component.Habitat
 
getAllInjectionResolvers(Habitat) - Static method in class org.jvnet.hk2.component.Creators
Returns all currently available injection annotations
getAllTypes() - Method in class org.jvnet.hk2.component.Habitat
 
getAnnotatedElement() - Method in interface org.jvnet.hk2.component.InjectionPoint
The member being injected
getAnnotation(Class<V>) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getAnnotation(Class<?>, Class<V>, boolean) - Static method in class com.sun.hk2.component.AbstractInhabitantImpl
FOR INTERNAL USE TO HK2
getAnnotation(Class<T>) - Method in exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
getAnnotations() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getArrayInjectValue(Habitat, Object, Inhabitant<?>, AnnotatedElement, Type, Class<V>) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
getBindings() - Method in class org.jvnet.hk2.component.Habitat
 
getBindings(Descriptor) - Method in class org.jvnet.hk2.component.Habitat
 
getByContract(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets the object that has the given contract.
getByType(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
 
getByType(String) - Method in class org.jvnet.hk2.component.Habitat
 
getByType(Class<T>) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Gets the object of the given type.
getByType(String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Gets the object of the given type.
getCause(Class<T>) - Method in exception org.jvnet.hk2.component.concurrent.WorkManager.ExecutionException
 
getClassLoader() - Method in interface com.sun.hk2.component.ClassLoaderHolder
 
getClassLoader() - Method in class com.sun.hk2.component.LazyInhabitant
 
getClassLoader() - Method in interface org.jvnet.hk2.component.ServiceContext
The classloader used to load the service class.
getClassNames() - Method in interface org.jvnet.hk2.component.InhabitantTrackerContext
The set of contract class names that form the initial filter condition.
getClassNames() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
getClassNames() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
getComponent(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Obtains a reference to the component inside the manager.
getComponent(Class<T>, String) - Method in class org.jvnet.hk2.component.Habitat
 
getComponent(String, String) - Method in class org.jvnet.hk2.component.Habitat
 
getComponent() - Method in interface org.jvnet.hk2.component.InjectionPoint
The component instance being injected
getComponent(Class<T>, String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Loads a component that implements the given contract and has the given name.
getComponent(String, String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Analogous to the following:
getContext() - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
Retrieves the parsing context that can be used for model generation elsewhere.
getContracts() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
getCurrentRunLevel() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getCurrentRunLevel() - Method in interface org.jvnet.hk2.component.RunLevelState
The current run level state.
getDeclaredBindings() - Method in class org.jvnet.hk2.component.Habitat
 
getDeclaredBindings(Descriptor) - Method in class org.jvnet.hk2.component.Habitat
 
getDefault() - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
getDefault() - Method in class org.jvnet.hk2.component.Habitat
 
getDelegate() - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
getDescription(boolean) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getDescription() - Method in class org.jvnet.hk2.junit.Hk2Runner
 
getDescriptor() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getDescriptorFor(Inhabitant<?>) - Static method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getEntries() - Method in class org.jvnet.hk2.component.classmodel.ClassPath
Find all jars referenced directly and indirectly via a classpath specification typically drawn from java.class.path or surefire.test.class.path System properties.
getExecutorService(Habitat, Inhabitant<?>) - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
getFailureContext() - Method in exception org.jvnet.hk2.component.ComponentException
 
getFileEntries() - Method in class org.jvnet.hk2.component.classmodel.ClassPath
 
getFilter() - Method in interface org.jvnet.hk2.component.InhabitantTrackerContext
The filter to call for finer-level of matching beyond class/contract name.
getFilter() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
getFilter() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
getFirst(K) - Method in class org.jvnet.hk2.component.MultiMap
 
getHabitat() - Static method in class org.jvnet.hk2.junit.Hk2Runner
 
getHabitat() - Method in class org.jvnet.hk2.junit.Hk2TestServices
 
getHolderInjectValue(Habitat, Object, Inhabitant<?>, AnnotatedElement, Type, Class<V>, Inject) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
getImplName() - Method in class com.sun.hk2.component.InhabitantFileBasedParser
 
getImplName() - Method in interface com.sun.hk2.component.InhabitantParser
 
getIndexes() - Method in class com.sun.hk2.component.InhabitantFileBasedParser
 
getIndexes() - Method in interface com.sun.hk2.component.InhabitantParser
 
getInhabitant(Class<T>, String) - Method in class org.jvnet.hk2.component.Habitat
Gets a lazy reference to the component.
getInhabitant(Type, String) - Method in class org.jvnet.hk2.component.Habitat
 
getInhabitant() - Method in interface org.jvnet.hk2.component.InhabitantTracker
Returns a single inhabitant.
getInhabitant() - Method in interface org.jvnet.hk2.component.InjectionPoint
The inhabitant on behalf of the component being injected.
getInhabitant() - Method in interface org.jvnet.hk2.component.ServiceContext
The inhabitant associated with this service context (may be null).
getInhabitantActivator() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Obtains the "best" InhabitantActivator, first looking up out of the habitat any service registered under the same name as ourself, then defaulting to the first one registered by type alone, followed by ourself.
getInhabitantByAnnotation(Class<? extends Annotation>, String) - Method in class org.jvnet.hk2.component.Habitat
Gets the inhabitant that has the given contract annotation and the given name.
getInhabitantByContract(String) - Method in class org.jvnet.hk2.component.Habitat
Get the first inhabitant by contract
getInhabitantByContract(String, String) - Method in class org.jvnet.hk2.component.Habitat
 
getInhabitantByType(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets a lazy reference to the component.
getInhabitantByType(Type) - Method in class org.jvnet.hk2.component.Habitat
 
getInhabitantByType(String) - Method in class org.jvnet.hk2.component.Habitat
 
getInhabitants(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants for a spcial contract.
getInhabitants(Class<T>, String) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants that has the given contract and the given name

This method defers the actual instantiation of the component until Inhabitant.get() is invoked.

getInhabitants() - Method in interface org.jvnet.hk2.component.InhabitantTracker
Returns the set of inhabitants qualifying.
getInhabitantsByAnnotation(Class<? extends Annotation>, String) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants that has the given contract annotation and the given name.
getInhabitantsByContract(Type) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants that has the given contract.
getInhabitantsByContract(String) - Method in class org.jvnet.hk2.component.Habitat
 
getInhabitantsByContract(Type) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Gets all the inhabitants that has the given contract.
getInhabitantsByContract(String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
 
getInhabitantsByType(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants that has the given implementation type.
getInhabitantsByType(String) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants that has the given implementation type name.
getInhabitantsByType(Class<T>) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Gets all the inhabitants that has the given type.
getInhabitantsByType(String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
 
getInhabitantSorter() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Obtains the "best" InhabitantSorter, first looking up out of the habitat any service registered under the same name as ourself, then defaulting to the first one registered by type alone, followed by ourself.
getInhabitantsScanners() - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
 
getInject() - Method in interface org.jvnet.hk2.component.InjectionPoint
The inject annotation (provided for convenience) to get name and/or optional flag, etc.
getInjectionResolvers(T, Habitat) - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
getIntersectionOfAll(Collection<K>) - Method in class org.jvnet.hk2.component.MultiMap
Returns the intersection of all elements indexed by the provided keys.
getIntrospectionScanners() - Method in class org.jvnet.hk2.component.classmodel.InhabitantsFeed
 
getKey() - Method in class com.sun.hk2.component.KeyValuePairParser
 
getLastInhabitantWorkingOn() - Method in class org.jvnet.hk2.component.AsyncWaiter
Returns the last Inhabitant that was working on, provided that we are not in a "done" state.
getLdapExpression() - Method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
getLine() - Method in class com.sun.hk2.component.InhabitantFileBasedParser
 
getLine() - Method in interface com.sun.hk2.component.InhabitantParser
 
getLine() - Method in class com.sun.hk2.component.KeyValuePairParser
Gets the whole line.
getLineNumber() - Method in class com.sun.hk2.component.InhabitantsScanner
 
getListeners() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getMetaData() - Method in class com.sun.hk2.component.InhabitantFileBasedParser
 
getMetaData() - Method in interface com.sun.hk2.component.InhabitantParser
 
getMetadata() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
getName() - Method in interface com.sun.hk2.component.InhabitantsParserDecorator
decorator names, there can be multiple decorators defined, each for a particular usage.
getName() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getNames() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
getNamesFor(Inhabitant<T>, String) - Static method in class com.sun.hk2.component.Inhabitants
Returns the list of names the service implementation in known.
getNamesFor(Inhabitant<T>, String) - Static method in class org.jvnet.hk2.component.Inhabitants
Deprecated. Use Inhabitants instead.
getObject(InjectionPoint, AccessControlContext) - Method in interface org.jvnet.hk2.component.ContextualFactory
The system calls this method to obtain a reference to the component when injection point context information is available.
getOne(K) - Method in class org.jvnet.hk2.component.MultiMap
Gets the first value if any, or null.
getParent() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getPlannedRunLevel() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getPlannedRunLevel() - Method in interface org.jvnet.hk2.component.RunLevelState
The planned run level state.
getPresence() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
getPresenceFlag() - Method in interface org.jvnet.hk2.component.InhabitantTrackerContext
Presence flag: true, for tracking positive presence of inhabitants false, for tracking negative presence (i.e.
getPresenceFlag() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
getProvider(Context) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getProvider() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getProvider() - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
getProvider(String, String) - Method in class org.jvnet.hk2.component.Habitat
 
getProvider(Type, String) - Method in class org.jvnet.hk2.component.Habitat
 
getProvider(Type, String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
Gets an inhabitant from its type and optionally name
getProvider(String, String) - Method in interface org.jvnet.hk2.component.SimpleServiceLocator
 
getProviderByContract(Habitat, Inhabitant<?>, AnnotatedElement, Type, Inject) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
getQualifiers() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
getRawURLs() - Method in class org.jvnet.hk2.component.classmodel.ClassPath
 
getRecordersToRelease(HashMap<Integer, Recorder>, int) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getRunLevel(AbstractInhabitantImpl<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Attempts to obtain the RunLevel value from the metadata() instead of from the annotation which requires a class load.
getScope() - Method in class com.sun.hk2.component.ScopedInhabitant
 
getScope() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
getScopeName() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getScopeName() - Method in interface org.jvnet.hk2.component.RunLevelState
The scope value for this state.
getSerializedMetadata(Class<T>, String) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getSerializedMetadata(Class<T>) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
getSerializedMetadata(Class<T>, String) - Method in interface org.jvnet.hk2.component.Inhabitant
Obtains the serialized metadata.
getSerializedMetadata(Class<T>) - Method in interface org.jvnet.hk2.component.Inhabitant
Obtains the metadata serialized into String.
getServiceRanking(Inhabitant<?>, boolean) - Static method in class org.jvnet.hk2.component.Habitat
 
getServices(String) - Method in class org.jvnet.hk2.component.Habitat
 
getSetterMethod(Method, U) - Method in class com.sun.hk2.component.InjectionResolver
Returns the setter method responsible for setting the resource identified by the passed annotation on the passed annotated method.
getState() - Method in class com.sun.hk2.component.RunLevelInhabitant
 
getState() - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
getState() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
getState() - Method in interface org.jvnet.hk2.component.RunLevelService
Returns the current state of this RunLevelService instance.
getSystemId() - Method in class com.sun.hk2.component.InhabitantsScanner
 
getTheAndSetFor(String, boolean) - Method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
getTheAndSetFor(Set<String>, String, boolean, SimpleLdapMatcher.Node) - Method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
getType() - Method in interface org.jvnet.hk2.component.InjectionPoint
The type of the field that needs to be injected
getType() - Method in interface org.jvnet.hk2.component.ServiceContext
The type of the service class.
getTypeName() - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
getTypeName() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
getUnionOfAll(Collection<K>) - Method in class org.jvnet.hk2.component.MultiMap
Returns the union of all elements indexed by the provided keys.
getUnsatisfiedElement() - Method in exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
getUnsatisfiedName() - Method in exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
getValue(Object, Inhabitant<?>, AnnotatedElement, Type, Class<V>) - Method in class com.sun.hk2.component.InjectInjectionResolver
Obtains the value to inject, based on the type and Inject annotation.
getValue(Object, Inhabitant<?>, AnnotatedElement, Type, Class<V>) - Method in interface com.sun.hk2.component.InjectionResolverQuery
Returns the value to inject in the field or method of component annotated with the annotated annotation.
getValue() - Method in class com.sun.hk2.component.KeyValuePairParser
 
getWatches() - Method in class org.jvnet.hk2.component.AsyncWaiter
 
getWorkInProgressCount() - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 

H

habitat - Variable in class com.sun.hk2.component.AbstractCreatorImpl
 
habitat - Variable in class com.sun.hk2.component.InhabitantsParser
 
habitat - Variable in class com.sun.hk2.component.LazyInhabitant
 
Habitat - Class in org.jvnet.hk2.component
A set of templates that constitute a world of objects.
Habitat() - Constructor for class org.jvnet.hk2.component.Habitat
 
Habitat(Services, String) - Constructor for class org.jvnet.hk2.component.Habitat
 
Habitat.NotifyCall - Interface in org.jvnet.hk2.component
 
HabitatFactory - Interface in org.jvnet.hk2.component
Contract responsible for habitat creation.
HabitatListener - Interface in org.jvnet.hk2.component
For Listening to the Habitat.
HabitatListener.EventType - Enum in org.jvnet.hk2.component
 
HabitatListenerWeakProxy - Class in org.jvnet.hk2.component
A proxy where the underlying HabitatListener is held as a weak proxy and is automatically removed from the habitat if the proxy is GC'ed.
HabitatListenerWeakProxy(HabitatListener) - Constructor for class org.jvnet.hk2.component.HabitatListenerWeakProxy
 
handleInjectable(Object, Object) - Method in class org.jvnet.hk2.component.InjectionManager
 
hasContract(String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
hashCode() - Method in class org.jvnet.hk2.component.classmodel.ClassPath
 
hashCode() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
hashCode() - Method in class org.jvnet.hk2.component.MultiMap
 
hasName(String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
hasNext() - Method in class com.sun.hk2.component.KeyValuePairParser
 
hasQualifier(String) - Method in class org.jvnet.hk2.component.DescriptorImpl
 
hasWildcard(String) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
HK2_CLASS_PATH_ADVISOR_CACHE_FILE - Static variable in class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
HK2_CONCURRENCY_CONTROLS - Static variable in class org.jvnet.hk2.component.Habitat
System property tag for concurrency controls (i.e., true for multi threaded injection, inhabitant activation, etc.)
Hk2Executor - Class in org.jvnet.hk2.component.concurrent
An executor service managing a pool of threads with a low and high bounds for active, cached threads.
Hk2Executor(int, int) - Constructor for class org.jvnet.hk2.component.concurrent.Hk2Executor
 
Hk2Executor(int, int, ThreadFactory) - Constructor for class org.jvnet.hk2.component.concurrent.Hk2Executor
 
HK2ProviderImpl - Class in org.jvnet.hk2.component
Default Hk2 Provider based on the habitat.
HK2ProviderImpl() - Constructor for class org.jvnet.hk2.component.HK2ProviderImpl
 
HK2ProviderImpl(HabitatFactory) - Constructor for class org.jvnet.hk2.component.HK2ProviderImpl
 
Hk2Runner - Class in org.jvnet.hk2.junit
JUnit runner for hk2 enabled tests.
Hk2Runner(Class<?>) - Constructor for class org.jvnet.hk2.junit.Hk2Runner
 
Hk2RunnerOptions - Annotation Type in org.jvnet.hk2.junit
Provide options for tuning the behavior of the Hk2Runner.
Hk2Test - Class in org.jvnet.hk2.junit
Super class for hk2 tests, so far to avoid having to annotate with @RunWith
Hk2Test() - Constructor for class org.jvnet.hk2.junit.Hk2Test
 
Hk2Test.Populator - Interface in org.jvnet.hk2.junit
 
Hk2TestServices - Class in org.jvnet.hk2.junit
Services available to junit tests running with the Hk2Runner runner.
Hk2TestServices() - Constructor for class org.jvnet.hk2.junit.Hk2TestServices
 
Hk2TestServices(Class<? extends HabitatFactory>, Class<? extends InhabitantsParserFactory>, boolean, boolean, Class<? extends FileFilter>, Class<? extends Module>) - Constructor for class org.jvnet.hk2.junit.Hk2TestServices
 
Hk2ThreadContext - Class in com.sun.hk2.component
FOR INTERNAL USE ONLY.
Hk2ThreadContext() - Constructor for class com.sun.hk2.component.Hk2ThreadContext
 
Holder<T> - Interface in com.sun.hk2.component
Indirection to a value.
Holder.Impl<T> - Class in com.sun.hk2.component
Holder implementation that doesn't do any deferred computation, where the value is given in the constructor.
Holder.Impl(T) - Constructor for class com.sun.hk2.component.Holder.Impl
 

I

in(Scope) - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
INDEX_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
 
Inhabitant<T> - Interface in org.jvnet.hk2.component
Represents a component in the world of Habitat.
InhabitantActivator - Interface in org.jvnet.hk2.component
Contract for handling the activation and releasing of an inhabitant.
inhabitantChanged(InhabitantListener.EventType, Inhabitant<?>) - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
inhabitantChanged(HabitatListener) - Method in interface org.jvnet.hk2.component.Habitat.NotifyCall
 
inhabitantChanged(HabitatListener.EventType, Habitat, Inhabitant<?>) - Method in interface org.jvnet.hk2.component.HabitatListener
Called when the habitat has changed.
inhabitantChanged(HabitatListener.EventType, Habitat, Inhabitant<?>) - Method in class org.jvnet.hk2.component.HabitatListenerWeakProxy
 
inhabitantChanged(InhabitantListener.EventType, Inhabitant<?>) - Method in interface org.jvnet.hk2.component.InhabitantListener
Called when the inhabitant has changed.
inhabitantChanged(InhabitantListener.EventType, Inhabitant<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
inhabitantChanged(HabitatListener.EventType, Habitat, Inhabitant<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Once habitat is initialized we can proceed to boot through to kernel level (-1)
InhabitantFileBasedParser - Class in com.sun.hk2.component
InhabitantParser implementation based on the inhabitant file format.
InhabitantFileBasedParser(KeyValuePairParser) - Constructor for class com.sun.hk2.component.InhabitantFileBasedParser
 
InhabitantFilter - Interface in org.jvnet.hk2.component
Contract used to determine if an inhabitant matches some criteria determined by the implementation.
inhabitantIndexChanged(HabitatListener.EventType, Habitat, Inhabitant<?>, String, String, Object) - Method in interface org.jvnet.hk2.component.HabitatListener
Called when the habitat index has changed.
inhabitantIndexChanged(HabitatListener.EventType, Habitat, Inhabitant<?>, String, String, Object) - Method in class org.jvnet.hk2.component.HabitatListenerWeakProxy
 
inhabitantIndexChanged(HabitatListener.EventType, Habitat, Inhabitant<?>, String, String, Object) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
InhabitantIntrospectionScanner - Class in com.sun.hk2.component
Inhabitant scanner based on introspection information rather than statically generated inhabitant file
InhabitantIntrospectionScanner(ParsingContext) - Constructor for class com.sun.hk2.component.InhabitantIntrospectionScanner
 
InhabitantListener - Interface in org.jvnet.hk2.component
For Listening to an Inhabitant.
InhabitantListener.EventType - Enum in org.jvnet.hk2.component
 
InhabitantParser - Interface in com.sun.hk2.component
Abstraction of inhabitant meta-data retrieval capability.
InhabitantProviderInterceptor - Interface in org.jvnet.hk2.component
A hook for providers to implement in order to extend or redefine the inhabitant Hk2 will incorporate into the Habitat.
InhabitantRequested - Interface in org.jvnet.hk2.component
Services implementation may require access to the inhabitant object wrapping them.
Inhabitants - Class in com.sun.hk2.component
Factory for Inhabitants.
Inhabitants() - Constructor for class com.sun.hk2.component.Inhabitants
 
Inhabitants - Class in org.jvnet.hk2.component
Deprecated. Use Inhabitants instead.
Inhabitants() - Constructor for class org.jvnet.hk2.component.Inhabitants
Deprecated.  
InhabitantsFeed - Class in org.jvnet.hk2.component.classmodel
Responsible for feeding inhabitants into a habitat, thru the provided InhabitantsParser.
InhabitantsFeed(InhabitantsParser) - Constructor for class org.jvnet.hk2.component.classmodel.InhabitantsFeed
 
InhabitantsFile - Class in com.sun.hk2.component
Inhabitants file.
InhabitantsFile() - Constructor for class com.sun.hk2.component.InhabitantsFile
 
InhabitantSorter - Interface in org.jvnet.hk2.component
Contract for sorting inhabitants.
InhabitantsParser - Class in com.sun.hk2.component
Parses /META-INF/inhabitants and populate Habitat.
InhabitantsParser(Habitat) - Constructor for class com.sun.hk2.component.InhabitantsParser
 
InhabitantsParserDecorator - Interface in com.sun.hk2.component
Decorator for the InhabitantParser
InhabitantsParserFactory - Interface in org.jvnet.hk2.component
 
InhabitantsParsingContextGenerator - Class in org.jvnet.hk2.component.classmodel
Responsible for generating the collection of inhabitants, decoupling from implementation detail for the caller.
InhabitantsParsingContextGenerator(ExecutorService, ClassPath, FileFilter) - Constructor for class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
 
InhabitantsScanner - Class in com.sun.hk2.component
Scans the stream that follows the /META-INF/inhabitants/* format.
InhabitantsScanner(InputStream, String) - Constructor for class com.sun.hk2.component.InhabitantsScanner
 
InhabitantStore - Interface in com.sun.hk2.component
Contract abstracting the storage of inhabitants into a backing store (which is usually the habitat in most situations).
InhabitantTracing - Class in org.jvnet.hk2.tracing
experimental thread local class for tracing inhabitant initialization and module resolution
InhabitantTracing() - Constructor for class org.jvnet.hk2.tracing.InhabitantTracing
 
InhabitantTracker - Interface in org.jvnet.hk2.component
Tracks an inhabitant, or set of inhabitants.
InhabitantTracker.Callback - Interface in org.jvnet.hk2.component
The callback is called when there is an event changing one of the tracked inhabitants.
InhabitantTrackerContext - Interface in org.jvnet.hk2.component
The filter that is passed to the InhabitantTracker creation.
InhabitantTrackerContextBuilder - Class in org.jvnet.hk2.component
Builder for constructing InhabitantTrackerContext types.
InhabitantTrackerContextBuilder() - Constructor for class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
InhabitantTrackerContextBuilder.AlteredLdapMatcherFilter - Class in org.jvnet.hk2.component
 
InhabitantTrackerContextBuilder.AlteredLdapMatcherFilter(SimpleLdapMatcher) - Constructor for class org.jvnet.hk2.component.InhabitantTrackerContextBuilder.AlteredLdapMatcherFilter
 
InhabitantTrackerContextImpl - Class in org.jvnet.hk2.component
Default implementation of InhabitantTrackerContext.
InhabitantTrackerContextImpl(InhabitantFilter, Boolean, Set<String>) - Constructor for class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
INITIAL_RUNLEVEL - Static variable in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
initialize(T, Inhabitant) - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
initialize(T, Inhabitant) - Method in class com.sun.hk2.component.ConstructorCreator
 
initialize(String) - Method in class org.jvnet.hk2.component.classmodel.ClassPath
 
initialize(T, Inhabitant) - Method in interface org.jvnet.hk2.component.Creator
Performs initialization of object, such as dependency injection.
initialized() - Method in class org.jvnet.hk2.component.Habitat
FOR INTERNAL USE ONLY
inject(Habitat, T, Inhabitant<?>) - Method in class com.sun.hk2.component.AbstractCreatorImpl
Performs resource injection on the given instance from the given habitat.
inject(T) - Method in class org.jvnet.hk2.component.Habitat
 
inject(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Instantiate the passed type and injects all the Inject annotated fields and methods
inject(Object, InjectionResolver...) - Method in class org.jvnet.hk2.component.InjectionManager
Initializes the component by performing injection.
inject(Object, Inhabitant<?>, InjectionResolver...) - Method in class org.jvnet.hk2.component.InjectionManager
Initializes the component by performing injection.
inject(Object, Inhabitant<?>, ExecutorService, InjectionResolver...) - Method in class org.jvnet.hk2.component.InjectionManager
Initializes the component by performing injection.
inject(Object, Class, InjectionResolver...) - Method in class org.jvnet.hk2.component.InjectionManager
Initializes the component by performing injection.
Injectable - Interface in org.jvnet.hk2.component
A resource that can be injected into a component might optionally want to be notified of such injection.
InjectableParametizedConstructorCreator<T> - Class in com.sun.hk2.component
Component for which constructors takes @Inject annotated parameters
InjectableParametizedConstructorCreator(Class<T>, Constructor<T>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.InjectableParametizedConstructorCreator
 
injectedInto(Object) - Method in interface org.jvnet.hk2.component.Injectable
notification of injection into a component
InjectInjectionResolver - Class in com.sun.hk2.component
InjectInjectionResolver, handles all Inject annotations
InjectInjectionResolver(Habitat) - Constructor for class com.sun.hk2.component.InjectInjectionResolver
 
InjectionManager - Class in org.jvnet.hk2.component
InjectionManager is responsible for injecting resources into a component.
InjectionManager() - Constructor for class org.jvnet.hk2.component.InjectionManager
 
InjectionManager.InjectClass - Class in org.jvnet.hk2.component
 
InjectionManager.InjectClass(Class, InjectionManager.InjectContext) - Constructor for class org.jvnet.hk2.component.InjectionManager.InjectClass
 
InjectionManager.InjectContext - Class in org.jvnet.hk2.component
 
InjectionManager.InjectContext(Object, Inhabitant<?>, Class, ExecutorService, InjectionResolver[]) - Constructor for class org.jvnet.hk2.component.InjectionManager.InjectContext
 
InjectionManager.InjectField - Class in org.jvnet.hk2.component
 
InjectionManager.InjectField(InjectionManager.InjectClass, Field, Annotation, InjectionResolver) - Constructor for class org.jvnet.hk2.component.InjectionManager.InjectField
 
InjectionManager.InjectFields - Class in org.jvnet.hk2.component
 
InjectionManager.InjectFields(InjectionManager.InjectClass) - Constructor for class org.jvnet.hk2.component.InjectionManager.InjectFields
 
InjectionManager.InjectMethod - Class in org.jvnet.hk2.component
 
InjectionManager.InjectMethod(InjectionManager.InjectClass, Method, Annotation, InjectionResolver) - Constructor for class org.jvnet.hk2.component.InjectionManager.InjectMethod
 
InjectionManager.InjectMethods - Class in org.jvnet.hk2.component
 
InjectionManager.InjectMethods(InjectionManager.InjectClass) - Constructor for class org.jvnet.hk2.component.InjectionManager.InjectMethods
 
InjectionPoint - Interface in org.jvnet.hk2.component
Used to describe the injection point and context of the injection.
InjectionResolver<U extends Annotation> - Class in com.sun.hk2.component
Implementation of this abstract class are handling injection resolution for a particular injection annotation Inject Injection targets are identified by the generic parameter and the constructor of this class.
InjectionResolver(Class<U>) - Constructor for class com.sun.hk2.component.InjectionResolver
Construct a resolver with a particular injection type
InjectionResolverQuery - Interface in com.sun.hk2.component
 
inOrder() - Method in class org.jvnet.hk2.tracing.InhabitantTracing
 
instance - Static variable in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 
interrupt() - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
interrupt(int) - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
interrupt() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
interrupt(int) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
interrupt() - Method in interface org.jvnet.hk2.component.RunLevelService
Causes this RunLevelService to attempt to stop any in-flight proceedTo() operation.
interrupt(int) - Method in interface org.jvnet.hk2.component.RunLevelService
Same as RunLevelService.interrupt(), with the option to immediately perform a RunLevelService.proceedTo(int) following the interrupt.
IntrospectionScanner - Interface in com.sun.hk2.component
Plugability API for allowing sub parsers to be looked up during introspection.
isActive() - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
isActive() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
isActive() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
isActive() - Method in class com.sun.hk2.component.ScopedInhabitant
 
isActive() - Method in class com.sun.hk2.component.SingletonInhabitant
 
isContextualFactoriesPresent() - Method in class org.jvnet.hk2.component.Habitat
FOR INTERNAL USE
isContextualFactoriesPresentAnywhere() - Static method in class org.jvnet.hk2.component.Habitat
FOR INTERNAL USE
isContract(AnnotatedElement) - Method in class com.sun.hk2.component.InhabitantIntrospectionScanner
 
isContract(Class<?>) - Method in class org.jvnet.hk2.component.Habitat
Checks if the given type is a contract interface that has some implementations in this Habitat.
isContract(Type) - Method in class org.jvnet.hk2.component.Habitat
 
isContract(String) - Method in class org.jvnet.hk2.component.Habitat
 
isContractExt(Type) - Method in class org.jvnet.hk2.component.Habitat
A weaker test than Habitat.isContract(Type).
isDefault() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
isDone() - Method in class org.jvnet.hk2.component.AsyncWaiter
A non-blocking call that returns true when we are done waiting.
isEmpty(Descriptor) - Static method in class org.jvnet.hk2.component.DescriptorImpl
 
isEnabled() - Method in interface org.jvnet.hk2.component.Enableable
 
isEnabled() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
isEnabled() - Static method in class org.jvnet.hk2.tracing.TracingUtilities
 
isField() - Method in exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
isFilteredInhabitant(InhabitantParser) - Method in class com.sun.hk2.component.InhabitantsParser
Returns true if this inhabitant should be ignored.
isFilteredInhabitant(String) - Method in class com.sun.hk2.component.InhabitantsParser
Returns true if this inhabitant should be ignored.
isInitialized() - Method in class org.jvnet.hk2.component.Habitat
 
isInjectable(Set<Class<? extends Annotation>>, AnnotatedElement) - Static method in class org.jvnet.hk2.component.Creators
 
isMethod() - Method in exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
isOptional(AnnotatedElement, Inject) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
isOptional(AnnotatedElement, U) - Method in class com.sun.hk2.component.InjectionResolver
Returns true if the resolution of this injection identified by the passed annotation instance is optional
isShutdown() - Method in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 
isTerminated() - Method in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 
iterator() - Method in class com.sun.hk2.component.InhabitantIntrospectionScanner
 
iterator() - Method in class com.sun.hk2.component.InhabitantsScanner
 

K

KEEP_ALIVE - Static variable in class org.jvnet.hk2.component.concurrent.Hk2Executor
 
key - Variable in class com.sun.hk2.component.SoftCache
 
keySet() - Method in class org.jvnet.hk2.component.MultiMap
 
KeyValuePairParser - Class in com.sun.hk2.component
Parses a string like key=value,key=value,key=value.
KeyValuePairParser() - Constructor for class com.sun.hk2.component.KeyValuePairParser
 
KeyValuePairParser(String) - Constructor for class com.sun.hk2.component.KeyValuePairParser
 

L

LazyInhabitant<T> - Class in com.sun.hk2.component
 
LazyInhabitant(Habitat, Holder<ClassLoader>, String, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.LazyInhabitant
 
LazyInhabitant(Habitat, Holder<ClassLoader>, String, MultiMap<String, String>, Inhabitant<?>) - Constructor for class com.sun.hk2.component.LazyInhabitant
 
ldapFilter(String) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
lead() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
lead() - Method in class com.sun.hk2.component.LazyInhabitant
 
lead() - Method in interface org.jvnet.hk2.component.Inhabitant
If this inhabitant is a companion to another inhabitant (called "lead"), This method returns that inhabitant.
loadClass() - Method in class com.sun.hk2.component.LazyInhabitant
 
logger - Static variable in class com.sun.hk2.component.AbstractInhabitantImpl
 

M

manage(Inhabitant<?>, Inhabitant<?>) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
manage(Inhabitant<?>, Iterable<?>) - Method in class com.sun.hk2.component.InjectInjectionResolver
 
MANAGED_INJECTION_POINTS_ENABLED - Static variable in class org.jvnet.hk2.component.Habitat
 
matches(Descriptor) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
matches(Descriptor) - Method in class org.jvnet.hk2.component.DescriptorImpl
Returns true if this instance "matches" another instance.
matches(Descriptor, Descriptor) - Static method in class org.jvnet.hk2.component.DescriptorImpl
 
matches(Inhabitant<?>, Object) - Method in class org.jvnet.hk2.component.Habitat
 
matches(Inhabitant<?>) - Method in interface org.jvnet.hk2.component.InhabitantFilter
 
matches(Inhabitant<?>) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder.AlteredLdapMatcherFilter
 
matches(MultiMap<String, String>) - Method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
An or-type match checker
matches(Map<String, Set<String>>) - Method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
matches(String) - Method in class org.jvnet.hk2.component.matcher.WildcardMatcher
 
mergeAll(MultiMap<K, V>) - Method in class org.jvnet.hk2.component.MultiMap
 
metadata() - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
metadata() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
metadata() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
metadata() - Method in class com.sun.hk2.component.LazyInhabitant
 
metadata() - Method in interface org.jvnet.hk2.component.Inhabitant
Gets the metadata associated with this inhabitant.
METHOD_NAME - Static variable in class com.sun.hk2.component.InhabitantsFile
 
MultiMap<K,V> - Class in org.jvnet.hk2.component
Map from a key to multiple values.
MultiMap() - Constructor for class org.jvnet.hk2.component.MultiMap
Creates an empty multi-map with default concurrency controls
MultiMap(Map<K, List<V>>, boolean) - Constructor for class org.jvnet.hk2.component.MultiMap
Creates a multi-map backed by the given store.
MultiMap(MultiMap<K, V>) - Constructor for class org.jvnet.hk2.component.MultiMap
Copy constructor.
MultiThreadedInhabitantActivator - Class in org.jvnet.hk2.component
A simple multi-threaded based InhabitantActivator
MultiThreadedInhabitantActivator() - Constructor for class org.jvnet.hk2.component.MultiThreadedInhabitantActivator
 

N

name - Variable in class com.sun.hk2.component.ScopeInstanceImpl
Human readable scope instance name for debug assistance.
name - Variable in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
named(String) - Method in class org.jvnet.hk2.component.ContractLocatorImpl
 
narrow(Collection<Inhabitant<T>>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
narrow down and return the collection for those runLevelScopes that match
newHabitat() - Method in interface org.jvnet.hk2.component.HabitatFactory
Create a new Habitat without a parent or name.
newHabitat(Services, String) - Method in interface org.jvnet.hk2.component.HabitatFactory
Create a new Habitat optionally providing a parent Services as well as a name.
newList(Collection<? extends V>) - Method in class org.jvnet.hk2.component.MultiMap
Creates an optionally populated list to be used as an entry in the map.
notify(InhabitantListener.EventType) - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
notify(Inhabitant<?>, HabitatListener.EventType, String, Inhabitant<HabitatListener>) - Method in class org.jvnet.hk2.component.Habitat
 
notify(Inhabitant<?>, HabitatListener.EventType, String, String, Object, Inhabitant<HabitatListener>) - Method in class org.jvnet.hk2.component.Habitat
 
notify(Habitat.NotifyCall, Inhabitant<?>, HabitatListener.EventType, String, Inhabitant<HabitatListener>) - Method in class org.jvnet.hk2.component.Habitat
 
notifyInhabitantChanged(Inhabitant<?>, String...) - Method in class org.jvnet.hk2.component.Habitat
Trigger a notification that an inhabitant has changed.

O

OBJECTCLASS - Static variable in class org.jvnet.hk2.component.Constants
Represents class / contract type name(s).
onBehalfOf - Variable in class org.jvnet.hk2.component.InjectionManager.InjectContext
 
onCancelled(RunLevelState<?>, ServiceContext, int, boolean) - Method in interface org.jvnet.hk2.component.RunLevelListener
Called when an RunLevelService implementation's proceedTo() operation has been canceled for some reason.
onError(RunLevelState<?>, ServiceContext, Throwable, boolean) - Method in interface org.jvnet.hk2.component.RunLevelListener
Called when a service throws an exception during lifecycle orchestration.
onProgress(RunLevelState<?>) - Method in interface org.jvnet.hk2.component.RunLevelListener
Called when the RunLevelService advances in some tangible way.
org.jvnet.hk2.component - package org.jvnet.hk2.component
Primary API surface of HK2. Start with Habitat.
org.jvnet.hk2.component.classmodel - package org.jvnet.hk2.component.classmodel
 
org.jvnet.hk2.component.concurrent - package org.jvnet.hk2.component.concurrent
 
org.jvnet.hk2.component.internal.runlevel - package org.jvnet.hk2.component.internal.runlevel
 
org.jvnet.hk2.component.matcher - package org.jvnet.hk2.component.matcher
 
org.jvnet.hk2.junit - package org.jvnet.hk2.junit
 
org.jvnet.hk2.tracing - package org.jvnet.hk2.tracing
 

P

PARAMETERIZED_TYPE - Static variable in class com.sun.hk2.component.InhabitantsFile
 
parse(Iterable<InhabitantParser>, Holder<ClassLoader>) - Method in class com.sun.hk2.component.InhabitantsParser
Parses the inhabitants file (which is represented by InhabitantsScanner).
parse(ParsingContext, Holder<ClassLoader>) - Method in interface com.sun.hk2.component.IntrospectionScanner
Called by the introspection framework with the class model context.
parse(Collection<File>) - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
Add the collection of files to the current InhabitantsGenerator context.
parse(File) - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
Eventually we can perform optimizations here instead of a pass-thru to parseAlways.
parseAlways(Parser, File) - Method in class org.jvnet.hk2.component.classmodel.InhabitantsParsingContextGenerator
 
parseIndex(String, StringBuilder) - Static method in class com.sun.hk2.component.InhabitantsParser
Returns the contract name given a raw index entry.
parseNext() - Method in class com.sun.hk2.component.KeyValuePairParser
 
PATH - Static variable in class com.sun.hk2.component.InhabitantsFile
 
PerLookup - Class in org.jvnet.hk2.component
Compatibility class for PerLookup scope
PerLookup() - Constructor for class org.jvnet.hk2.component.PerLookup
 
pop() - Method in class org.jvnet.hk2.tracing.InhabitantTracing
 
populate(InhabitantsParsingContextGenerator) - Method in class org.jvnet.hk2.component.classmodel.InhabitantsFeed
 
populate(Habitat) - Method in interface org.jvnet.hk2.junit.Hk2Test.Populator
 
populateExtraInhabitantMetaData(MultiMap<String, String>, AnnotatedElement) - Static method in class com.sun.hk2.component.InhabitantIntrospectionScanner
Retrieves the "extra" meta data from drilling into each annotation's methods.
populateHabitat(Habitat, InhabitantsParser) - Method in class org.jvnet.hk2.junit.Hk2TestServices
 
PostConstruct - Interface in org.jvnet.hk2.component
Compatibility class for PostConstruct
preDestroy() - Method in class com.sun.hk2.component.ScopeInstanceImpl
 
PreDestroy - Interface in org.jvnet.hk2.component
Compatibility class for the PreDestroy interface
preInitialized() - Method in class org.jvnet.hk2.junit.Hk2TestServices
 
presence(Boolean) - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
presence - Variable in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
proceedTo(int) - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
proceedTo(int) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
proceedTo(Integer, boolean) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
proceedTo(int) - Method in interface org.jvnet.hk2.component.RunLevelService
Causes this RunLevelService to move to the specified run level for all RunLevel instances (identified by scope), orchestrating the appropriate lifecycle events based on the given implementation strategy.
push(Inhabitant) - Method in class org.jvnet.hk2.tracing.InhabitantTracing
 
put(Provider<T>, T) - Method in class com.sun.hk2.component.ScopeInstanceImpl
 

Q

QUALIFIER - Static variable in class org.jvnet.hk2.component.Constants
Qualifier (annotation names) used to describe the service.
QUALIFIER_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
 
qualifyingConstructors(Class<T>, List<Constructor<?>>, Set<Class<? extends Annotation>>, Reference<Constructor<T>>, Reference<Constructor<T>>) - Static method in class org.jvnet.hk2.component.Creators
Returns all "eligible" constructors for injection.

R

real - Variable in class com.sun.hk2.component.EventPublishingInhabitant
Real Inhabitant object.
Reference<T> - Class in org.jvnet.hk2.component
A Simple Reference holder.
Reference() - Constructor for class org.jvnet.hk2.component.Reference
 
Reference(T) - Constructor for class org.jvnet.hk2.component.Reference
 
release() - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
release() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
release() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
release() - Method in class com.sun.hk2.component.LazyInhabitant
 
release() - Method in class com.sun.hk2.component.ScopedInhabitant
 
release() - Method in class com.sun.hk2.component.ScopeInstanceImpl
 
release() - Method in class com.sun.hk2.component.SingletonInhabitant
 
release() - Method in class org.jvnet.hk2.component.Habitat
Releases all the components.
release() - Method in interface org.jvnet.hk2.component.Inhabitant
Called to orderly shutdown Habitat.
release() - Method in interface org.jvnet.hk2.component.InhabitantTracker
Releases / closes this tracker.
remove(Inhabitant<?>) - Method in class com.sun.hk2.component.InhabitantsParser
 
remove(Inhabitant<?>) - Method in interface com.sun.hk2.component.InhabitantStore
Removes an inhabitant
remove(Inhabitant<?>) - Method in class org.jvnet.hk2.component.Habitat
Removes an inhabitant
remove(K) - Method in class org.jvnet.hk2.component.MultiMap
Removes an key value from the map
remove(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Removes an key value pair from the map
removeAllByType(Class<?>) - Method in class org.jvnet.hk2.component.Habitat
Removes all inhabitants for a particular type
removeHabitatListener(HabitatListener) - Method in class org.jvnet.hk2.component.Habitat
Remove a habitat listener.
removeIndex(String, String) - Method in class com.sun.hk2.component.InhabitantsParser
 
removeIndex(String, Object) - Method in class com.sun.hk2.component.InhabitantsParser
 
removeIndex(String, String) - Method in interface com.sun.hk2.component.InhabitantStore
Removes a named Inhabitant index for a specific contract and name
removeIndex(String, Object) - Method in interface com.sun.hk2.component.InhabitantStore
Removes an Inhabitant index for a specific service or inhabitant
removeIndex(String, String) - Method in class org.jvnet.hk2.component.Habitat
Removes a NamedInhabitant for a specific contract
removeIndex(String, Object) - Method in class org.jvnet.hk2.component.Habitat
Removes a Contracted service
removeInhabitantListener(InhabitantListener) - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
replace(Class<?>, Class<?>) - Method in class com.sun.hk2.component.InhabitantsParser
Tells InhabitantsParser that if it encounters the specified component while parsing inhabitants file, ignore the one in the inhabitants file and instead insert the specified 'new' component.
replace(String, Class<?>) - Method in class com.sun.hk2.component.InhabitantsParser
 
rewind() - Method in class com.sun.hk2.component.InhabitantFileBasedParser
 
rewind() - Method in interface com.sun.hk2.component.InhabitantParser
 
rewind() - Method in class com.sun.hk2.component.KeyValuePairParser
Moves the parser to the head of the key/value pair, to reparse the same string.
rootNode - Static variable in class org.jvnet.hk2.tracing.TracingUtilities
 
run() - Method in class org.jvnet.hk2.component.InjectionManager.InjectClass
 
run() - Method in class org.jvnet.hk2.component.InjectionManager.InjectField
 
run() - Method in class org.jvnet.hk2.component.InjectionManager.InjectFields
 
run() - Method in class org.jvnet.hk2.component.InjectionManager.InjectMethod
 
run() - Method in class org.jvnet.hk2.component.InjectionManager.InjectMethods
 
run(RunNotifier) - Method in class org.jvnet.hk2.junit.Hk2Runner
 
RunLevelException - Exception in org.jvnet.hk2.component
Exception related to the operations of the RunLevelService.
RunLevelException(String) - Constructor for exception org.jvnet.hk2.component.RunLevelException
 
RunLevelException(Throwable) - Constructor for exception org.jvnet.hk2.component.RunLevelException
 
RunLevelException(String, Throwable) - Constructor for exception org.jvnet.hk2.component.RunLevelException
 
RunLevelInhabitant<T,V> - Class in com.sun.hk2.component
An inhabitant that prevents activation unless the sufficient RunLevelState has been scheduled.
RunLevelInhabitantProvider - Class in com.sun.hk2.component
InhabitantProviderInterceptor specializing in the creation of RunLevelInhabitants.
RunLevelInhabitantProvider(Habitat) - Constructor for class com.sun.hk2.component.RunLevelInhabitantProvider
 
RunLevelListener - Interface in org.jvnet.hk2.component
Implementations of RunLevelService are encouraged to use this contract for publishing RunLevel events.
RunLevelService<T> - Interface in org.jvnet.hk2.component
Implementations of this contract are responsible for orchestration lifecycle events (i.e., start levels) in Hk2.
RunLevelServices - Class in org.jvnet.hk2.component.internal.runlevel
This serves to provide holders, or proxy instances, for RunLevelServices that are not initially found in the Habitat.
RunLevelServices() - Constructor for class org.jvnet.hk2.component.internal.runlevel.RunLevelServices
 
RunLevelState<T> - Interface in org.jvnet.hk2.component
Holds the state(s) for a particular RunLevelService.

S

SameThreadExecutor - Class in org.jvnet.hk2.component.concurrent
Provides a same-thread executor service for use by Hk2 internals.
Scope - Class in org.jvnet.hk2.component
 
Scope() - Constructor for class org.jvnet.hk2.component.Scope
 
ScopedInhabitant<T> - Class in com.sun.hk2.component
 
ScopedInhabitant(Creator<T>, Scope) - Constructor for class com.sun.hk2.component.ScopedInhabitant
 
ScopeInstanceImpl - Class in com.sun.hk2.component
A particular instanciation of a Scope.
ScopeInstanceImpl(String, Map) - Constructor for class com.sun.hk2.component.ScopeInstanceImpl
 
ScopeInstanceImpl(Map) - Constructor for class com.sun.hk2.component.ScopeInstanceImpl
 
scrub(Object) - Static method in class com.sun.hk2.component.InhabitantIntrospectionScanner
 
service(Object) - Method in class org.jvnet.hk2.component.Habitat
 
SERVICE_RANKING - Static variable in class org.jvnet.hk2.component.Constants
Service property identifying a service's ranking number.
serviceContext(Exception, Inhabitant<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
ServiceContext - Interface in org.jvnet.hk2.component
Information about a service.
set(String) - Method in class com.sun.hk2.component.KeyValuePairParser
Resets the parser to parse the given string that looks like "key=value,key=value,..."
set(K, Collection<? extends V>) - Method in class org.jvnet.hk2.component.MultiMap
Replaces all the existing values associated with the key by the given value.
set(K, V) - Method in class org.jvnet.hk2.component.MultiMap
Replaces all the existing values associated with the key by the given single value.
set(T) - Method in class org.jvnet.hk2.component.Reference
 
setClassLoaderContext(ClassLoader) - Method in class org.jvnet.hk2.component.classmodel.InhabitantsFeed
 
setCompanions(Collection<Inhabitant>) - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
setCompanions(Collection<Inhabitant>) - Method in interface org.jvnet.hk2.component.Inhabitant
This method is only meant to be invoked by Habitat.
setExecutorService(Executor) - Method in class org.jvnet.hk2.component.MultiThreadedInhabitantActivator
 
setImplName(String) - Method in class com.sun.hk2.component.InhabitantFileBasedParser
 
setImplName(String) - Method in interface com.sun.hk2.component.InhabitantParser
 
setInhabitant(Inhabitant) - Method in interface org.jvnet.hk2.component.InhabitantRequested
Sets the inhabitant instance wrapping this instance.
setInhabitantActivator(InhabitantActivator) - Method in class org.jvnet.hk2.component.AbstractRunLevelService
Overrides the default behavior of getting the inhabitant activator from the habitat to use a stand-in activator instead.
setInhabitantActivator(InhabitantActivator) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Overrides the default behavior of getting the inhabitant activator from the habitat to use a stand-in activator instead.
setInhabitantSorter(InhabitantSorter) - Method in class org.jvnet.hk2.component.AbstractRunLevelService
Overrides the default behavior of getting the inhabitant sorter from the habitat to use a stand-in sorter instead.
setInhabitantSorter(InhabitantSorter) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Overrides the default behavior of getting the inhabitant sorter from the habitat to use a stand-in sorter instead.
setListener(RunLevelListener) - Method in class org.jvnet.hk2.component.AbstractRunLevelService
Overrides the default behavior of getting all listeners from the habitat to use a stand-in listener instead.
setListener(RunLevelListener) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Overrides the default behavior of getting all listeners from the habitat to use a stand-in listener instead.
setParent(RunLevelService<?>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
setReadOnly() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
shutdown() - Method in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 
shutdownNow() - Method in class org.jvnet.hk2.component.concurrent.SameThreadExecutor
 
SimpleLdapMatcher - Class in org.jvnet.hk2.component.matcher
This thing filters things based on the input LDAP style string.
SimpleServiceLocator - Interface in org.jvnet.hk2.component
Provide a simple abstraction for getting services by contract or type.
Singleton - Class in org.jvnet.hk2.component
Compatibility class for the Singleton scope.
Singleton() - Constructor for class org.jvnet.hk2.component.Singleton
 
SingletonInhabitant<T> - Class in com.sun.hk2.component
Specialized implementation of ScopedInhabitant for Singleton.
SingletonInhabitant(Creator<T>) - Constructor for class com.sun.hk2.component.SingletonInhabitant
 
singletonScope - Variable in class org.jvnet.hk2.component.Habitat
 
size() - Method in class org.jvnet.hk2.component.MultiMap
Returns the size of the map
SoftCache<K,V> - Class in com.sun.hk2.component
A very primitive cache of at most one entry, that uses both SoftReference(s) to the key as well as the value it caches.
SoftCache() - Constructor for class com.sun.hk2.component.SoftCache
 
sort(List<Inhabitant<?>>) - Method in interface org.jvnet.hk2.component.InhabitantSorter
Sorts inhabitants based on an implementation specific sorting scheme.
sort(List<Inhabitant<?>>) - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
Called when we are responsible for handling the InhabitantSorter work.
starting(ClassPath) - Method in interface org.jvnet.hk2.component.classmodel.ClassPathAdvisor
Called at the start of class-model habitat creation
starting(ClassPath) - Method in class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
submit(Callable<V>) - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
submitAll(Collection<Callable<V>>) - Method in class org.jvnet.hk2.component.concurrent.WorkManager
 
syncDoInject(Object, Inhabitant<?>, Class, InjectionResolver...) - Method in class org.jvnet.hk2.component.InjectionManager
Initializes the component by performing injection.

T

TAG_SYS_PROP - Static variable in class org.jvnet.hk2.component.classmodel.FileCachingClassPathAdvisor
 
TARGET_TYPE - Static variable in class com.sun.hk2.component.InhabitantsFile
Used as metadata for indentifying the type on which a InhabitantAnnotation was annotated.
targets - Variable in class org.jvnet.hk2.component.InjectionManager.InjectContext
 
tLocal - Static variable in class org.jvnet.hk2.tracing.TracingThreadLocal
 
toCommaSeparatedString() - Method in class org.jvnet.hk2.component.MultiMap
 
toString() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
toString() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
toString() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
toString() - Method in class com.sun.hk2.component.ScopeInstanceImpl
 
toString() - Method in class org.jvnet.hk2.component.AbstractRunLevelService
 
toString() - Method in class org.jvnet.hk2.component.classmodel.ClassPath
 
toString() - Method in class org.jvnet.hk2.component.DescriptorImpl
 
toString() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder.AlteredLdapMatcherFilter
 
toString() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextBuilder
 
toString() - Method in class org.jvnet.hk2.component.InhabitantTrackerContextImpl
 
toString() - Method in class org.jvnet.hk2.component.internal.runlevel.DefaultRunLevelService
 
toString() - Method in class org.jvnet.hk2.component.matcher.SimpleLdapMatcher
 
toString() - Method in class org.jvnet.hk2.component.MultiMap
 
TracingThreadLocal - Class in org.jvnet.hk2.tracing
TLS to store inhabitant allocation history.
TracingThreadLocal() - Constructor for class org.jvnet.hk2.tracing.TracingThreadLocal
 
TracingUtilities - Class in org.jvnet.hk2.tracing
Utilities for tracing hk2 usage at runtime.
TracingUtilities() - Constructor for class org.jvnet.hk2.tracing.TracingUtilities
 
TracingUtilities.Node - Class in org.jvnet.hk2.tracing
 
TracingUtilities.Node(Inhabitant) - Constructor for class org.jvnet.hk2.tracing.TracingUtilities.Node
 
track(InhabitantTrackerContext, InhabitantTracker.Callback) - Method in class org.jvnet.hk2.component.Habitat
Registers a dependency on the inhabitant with the given tracker context.
trackFuture(InhabitantTrackerContext) - Method in class org.jvnet.hk2.component.Habitat
Returns a future that can be checked asynchronously, and multiple times.
type - Variable in class com.sun.hk2.component.AbstractCreatorImpl
 
type() - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
type() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
type() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
type - Variable in class com.sun.hk2.component.InjectionResolver
 
type() - Method in class com.sun.hk2.component.LazyInhabitant
 
type() - Method in class com.sun.hk2.component.RunLevelInhabitant
 
type() - Method in interface org.jvnet.hk2.component.Inhabitant
Type of the inhabitant.
type - Variable in class org.jvnet.hk2.component.InjectionManager.InjectContext
 
typeName() - Method in class com.sun.hk2.component.AbstractCreatorImpl
 
typeName() - Method in class com.sun.hk2.component.EventPublishingInhabitant
 
typeName() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
typeName() - Method in class com.sun.hk2.component.LazyInhabitant
 
typeName() - Method in interface org.jvnet.hk2.component.Inhabitant
The short-cut for type().getName() but this allows us to defer loading the actual types.

U

UnsatisfiedDependencyException - Exception in org.jvnet.hk2.component
Exception thrown by the injection manager when a dependency is not satisfied when performing injection.
UnsatisfiedDependencyException(AnnotatedElement) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDependencyException
Deprecated.  
UnsatisfiedDependencyException(AnnotatedElement, Annotation) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
UnsatisfiedDependencyException(AnnotatedElement, Annotation, Throwable) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
UnsatisfiedDependencyException(Type, Class<?>, Annotation, Throwable) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDependencyException
 
updated(InhabitantTracker, Habitat, boolean) - Method in interface org.jvnet.hk2.component.InhabitantTracker.Callback
Called when there is a modification to the set of inhabitants of some kind.
usingCacheValue(V) - Method in class com.sun.hk2.component.SoftCache
 

V

validate(Object, Inhabitant<?>, V) - Method in class com.sun.hk2.component.InjectInjectionResolver
Verifies the injection does not violate any integrity rules.
value - Variable in class com.sun.hk2.component.SoftCache
 
valueOf(String) - Static method in enum org.jvnet.hk2.component.HabitatListener.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jvnet.hk2.component.InhabitantListener.EventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jvnet.hk2.component.HabitatListener.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jvnet.hk2.component.InhabitantListener.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyState() - Method in class com.sun.hk2.component.RunLevelInhabitant
Verifies that the state of the RunLevelService is appropriate for this instance activation.
visit(AbstractInhabitantImpl<?>, String, Set<String>, Iterator<InhabitantProviderInterceptor>, InhabitantStore) - Method in class com.sun.hk2.component.RunLevelInhabitantProvider
 
visit(AbstractInhabitantImpl<?>, String, Set<String>, Iterator<InhabitantProviderInterceptor>, InhabitantStore) - Method in interface org.jvnet.hk2.component.InhabitantProviderInterceptor
Called by the framework to either decorate the inhabitant, or even intercept and replace the created inhabitant.

W

waitForDone() - Method in class org.jvnet.hk2.component.AsyncWaiter
Waits for all watches to be done.
waitForDone(long, TimeUnit) - Method in class org.jvnet.hk2.component.AsyncWaiter
Wait's for all inhabitants being watched to be done, giving each up to timeout/unit's to be done.
watchIfNecessary(Inhabitant<?>) - Method in class org.jvnet.hk2.component.AsyncWaiter
Watches an inhabitant if the service implements AsyncPostConstruct.
watchIfNecessary(Future<?>) - Method in class org.jvnet.hk2.component.AsyncWaiter
Watches a Future for completion.
WildcardMatcher - Class in org.jvnet.hk2.component.matcher
Simple wildcard matcher used as part of RFC 2254 type LDAP searches.
WildcardMatcher(String) - Constructor for class org.jvnet.hk2.component.matcher.WildcardMatcher
 
WorkManager - Class in org.jvnet.hk2.component.concurrent
Simple helper for managing work sent to a foreign executor service.
WorkManager(Executor) - Constructor for class org.jvnet.hk2.component.concurrent.WorkManager
 
WorkManager(Executor, int) - Constructor for class org.jvnet.hk2.component.concurrent.WorkManager
 
WorkManager.ExecutionException - Exception in org.jvnet.hk2.component.concurrent
 
WorkManager.ExecutionException(Throwable) - Constructor for exception org.jvnet.hk2.component.concurrent.WorkManager.ExecutionException
 
WorkManager.ExecutionException(WorkManager.ExecutionException) - Constructor for exception org.jvnet.hk2.component.concurrent.WorkManager.ExecutionException
 
WorkManager.ExecutionException(List<Exception>) - Constructor for exception org.jvnet.hk2.component.concurrent.WorkManager.ExecutionException
 
wrapByScope(Class<T>, Creator<T>, Habitat) - Static method in class com.sun.hk2.component.Inhabitants
Creates a Inhabitant by wrapping Creator to handle scoping right.
wrapByScope(Creator<T>, Habitat, Class<? extends Scope>) - Static method in class com.sun.hk2.component.Inhabitants
 

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

Copyright © 2011 Oracle Corporation. All Rights Reserved.