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
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.
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.
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.
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.
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>  
LeadInjectionResolver Deprecated. this is scheduled for removal
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.
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.
 

Annotation Types Summary
CompanionSeed Deprecated. this is scheduled for removal
 

Package com.sun.hk2.component Description

Dependency injection implementation for HK2.

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



Copyright © 2010 Oracle Corporation. All Rights Reserved.