Package com.sun.hk2.component

Dependency injection implementation for HK2.

See:
          Description

Interface Summary
ClassLoaderHolder Contract representing holders for a ClassLoader
Holder<T> Indirection to a value.
InhabitantParser Abstraction of inhabitant meta-data retrieval capability.
InhabitantsParserDecorator Decorator for the InhabitantParser
InhabitantStore Contract abstracting the storage of inhabitants into a backing store (which is usually the habitat in most situations).
InjectionResolverQuery  
IntrospectionScanner Plugability API for allowing sub parsers to be looked up during introspection.
 

Class Summary
AbstractCreatorImpl<T>  
AbstractInhabitantImpl<T> Partial implementation of Inhabitant that defines methods whose semantics is fixed by Habitat.
AbstractInhabitantProvider abstract base for InhabitantProviderInterceptor
ConstructorCreator<T> Creates an object from its constructor.
ConstructorWomb<T> Deprecated. Use ConstructorCreator instead
EventPublishingInhabitant<T> An inhabitant that implements InhabitantEventPublisher, and maintains a list of listeners to notify for interesting changes of the underlying delegate.
ExistingSingletonInhabitant<T> Inhabitant built around an object that already exists.
FactoryCreator<T> Creates an object from Factory.
Hk2ThreadContext FOR INTERNAL USE ONLY.
Holder.Impl<T> Holder implementation that doesn't do any deferred computation, where the value is given in the constructor.
InhabitantFileBasedParser InhabitantParser implementation based on the inhabitant file format.
InhabitantIntrospectionScanner Inhabitant scanner based on introspection information rather than statically generated inhabitant file
Inhabitants Factory for Inhabitants.
InhabitantsFile Inhabitants file.
InhabitantsParser Parses /META-INF/inhabitants and populate Habitat.
InhabitantsScanner Scans the stream that follows the /META-INF/inhabitants/* format.
InjectableParametizedConstructorCreator<T> Component for which constructors takes @Inject annotated parameters
InjectInjectionResolver InjectInjectionResolver, handles all Inject annotations
InjectionResolver<U extends Annotation> 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.
KeyValuePairParser Parses a string like key=value,key=value,key=value.
LazyInhabitant<T>  
RunLevelInhabitant<T,V> An inhabitant that prevents activation unless the sufficient RunLevelState has been scheduled.
RunLevelInhabitantProvider InhabitantProviderInterceptor specializing in the creation of RunLevelInhabitants.
ScopedInhabitant<T>  
ScopeInstanceImpl A particular instanciation of a Scope.
SingletonInhabitant<T> Specialized implementation of ScopedInhabitant for Singleton.
SoftCache<K,V> A very primitive cache of at most one entry, that uses both SoftReference(s) to the key as well as the value it caches.
 

Package com.sun.hk2.component Description

Dependency injection implementation for HK2.

Code outside HK2 shouldn't depend on this code directly.



Copyright © 2011 Oracle Corporation. All Rights Reserved.