Package com.sun.hk2.component

Dependency injection implementation for HK2.

See:
          Description

Interface Summary
Holder<T> Indirection to a value.
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 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.
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.
InhabitantsFile Inhabitants file.
InhabitantsParser Parses /META-INF/inhabitants and populate Habitat.
InhabitantsScanner Scans the stream that follows the /META-INF/inhabitants/* format.
InjectionResolver<U extends Annotation> Implementation of this abstract class are handling injection resolution for a particular injection annotation Inject
KeyValuePairParser Parses a string like key=value,key=value,key=value.
LazyInhabitant<T>  
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.



Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.

Generated on 12-March-2010 04:35