Package com.sun.hk2.component

Dependency injection implementation for HK2.

See:
          Description

Interface Summary
Holder<T> Indirection to a value.
InhabitantParser Abstraction of inhabitant meta-data retrieval capability.
InhabitantsParserDecorator Decorator for the InhabitantParser
 

Class Summary
AbstractInhabitantImpl<T> Partial implementation of Inhabitant that defines methods whose semantics is fixed by Habitat.
AbstractWombImpl<T>  
CompanionSeed.Registerer<T> When CompanionSeed enters habitat, look for existing inhabitants and make sure all of them get its corresponding companions from this new seed.
ConstructorWomb<T> Creates an object from its constructor.
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.
FactoryWomb<T> Creates an object from Factory.
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.
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.
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.
IntrospectionScanner Inhabitant scanner based on introspection information rather than statically generated inhabitant file
KeyValuePairParser Parses a string like key=value,key=value,key=value.
LazyInhabitant<T>  
LeadInjectionResolver Injection Resolver responsible for Lead Annotation type.
RunLevelInhabitant<T,V> An inhabitant that prevents activation unless the sufficient RunLevelState has been scheduled.
ScopedInhabitant<T>  
ScopeInstance A particular instanciation of a Scope.
SingletonInhabitant<T> Specialized implementation of ScopedInhabitant for Singleton.
 

Annotation Types Summary
CompanionSeed Marks the companion relationship with another component.
 

Package com.sun.hk2.component Description

Dependency injection implementation for HK2.

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



Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.