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

A

AbstractInhabitantImpl<T> - Class in com.sun.hk2.component
Partial implementation of Inhabitant that defines methods whose semantics is fixed by Habitat.
AbstractInhabitantImpl() - Constructor for class com.sun.hk2.component.AbstractInhabitantImpl
 
AbstractWombImpl<T> - Class in com.sun.hk2.component
 
AbstractWombImpl(Class<T>, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.AbstractWombImpl
 
add(Inhabitant, KeyValuePairParser) - Method in class com.sun.hk2.component.InhabitantsParser
Adds the given inhabitant to the habitat, with all its indices.
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 value.
addComponent(String, T) - Method in class org.jvnet.hk2.component.Habitat
Add an already instantiated component to this manager.
addIndex(Inhabitant<?>, String, String) - Method in class org.jvnet.hk2.component.Habitat
Adds a new index to look up the given inhabitant.

B

buildMetadata(KeyValuePairParser) - Static method in class com.sun.hk2.component.InhabitantsParser
 

C

CAGE_BUILDER_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
Used to point to CageBuilder for this component.
CageBuilder - Interface in org.jvnet.hk2.component
Receives notifications when a component with CagedBy is entered into habitat.
CageBuilder.Registerer - Class in org.jvnet.hk2.component
When CageBuilder enters habitat, look for existing inhabitants that were supposed to be caged by this and cage them all.
CageBuilder.Registerer(Habitat) - Constructor for class org.jvnet.hk2.component.CageBuilder.Registerer
 
CagedBy - Annotation Type in org.jvnet.hk2.annotations
Annotation indicating that additional processing is performed when the component goes into a habitat.
CLASS_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
 
clone() - Method in class org.jvnet.hk2.component.MultiMap
Creates a copy of the map that contains the exact same key and value set.
com.sun.hk2.component - package com.sun.hk2.component
Dependency injection implementation for HK2.
COMPANION_CLASS_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
Used as a metadata for inhabitants of CompanionSeed, to indicate what is the actual companion class.
COMPANION_CLASS_METADATA_KEY - Static variable in class com.sun.hk2.component.InhabitantsFile
Used as metadafa for inhabitants of CompanionSeed to capture metadata of the actual companioin class.
CompanionOf - Annotation Type in org.jvnet.hk2.annotations
Marks the component as a companion to another "lead" component.
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.
CompanionSeed - Annotation Type in com.sun.hk2.component
Marks the companion relationship with another component.
CompanionSeed.Registerer - Class in com.sun.hk2.component
When CompanionSeed enters habitat, look for existing inhabitants and make sure all of them get its corresponding companions from this new seed.
CompanionSeed.Registerer(Habitat) - Constructor for class com.sun.hk2.component.CompanionSeed.Registerer
 
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(String, Throwable) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
ComponentException(String, Object...) - Constructor for exception org.jvnet.hk2.component.ComponentException
 
ConstructorWomb<T> - Class in com.sun.hk2.component
Creates an object from its constructor.
ConstructorWomb(Class<T>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.ConstructorWomb
 
containsKey(K) - Method in class org.jvnet.hk2.component.MultiMap
Checks if the map contains the given key.
Contract - Annotation Type in org.jvnet.hk2.annotations
Marker annotation to allow implementations to be discovered from the contract they implement.
ContractProvided - Annotation Type in org.jvnet.hk2.annotations
A service provider provides a service implementation, however, the provided service interface is not tagged with @Contract (a jdk interface for instance), therefore, it is specified through this annotation.
create(Inhabitant) - Method in class com.sun.hk2.component.ConstructorWomb
 
create(Inhabitant) - Method in class com.sun.hk2.component.FactoryWomb
 
create(T) - Static method in class org.jvnet.hk2.component.Inhabitants
Creates a singleton wrapper around existing object.
create(Class<T>, Habitat, MultiMap<String, String>) - Static method in class org.jvnet.hk2.component.Inhabitants
Creates a Inhabitant by looking at annotations of the given type.
create(Inhabitant) - Method in interface org.jvnet.hk2.component.Womb
Creates a new instance.
create(Class<T>, Habitat, MultiMap<String, String>) - Static method in class org.jvnet.hk2.component.Wombs
 
createCompanion(Habitat, Inhabitant<?>, Inhabitant<?>) - Static method in class com.sun.hk2.component.CompanionSeed.Registerer
Creates a companion inhabitant from the inhabitant of a CompanionSeed, to be associated with a lead component.
createWomb(Class<T>) - Method in class com.sun.hk2.component.LazyInhabitant
Creates Womb for instantiating objects.
current() - Method in class org.jvnet.hk2.component.PerLookup
 
current() - Method in class org.jvnet.hk2.component.Scope
 
current() - Method in class org.jvnet.hk2.component.Singleton
Deprecated. Singleton instances are not stored in a single map.

D

decorate(InhabitantsParser) - Method in interface com.sun.hk2.component.InhabitantsParserDecorator
Decorate the passed instance
DEFAULT_NAME - Variable in class org.jvnet.hk2.component.Habitat
Name to use to progammatically store default instances of a particular service.
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
 

E

emptyMap() - Static method in class org.jvnet.hk2.component.MultiMap
Gets the singleton read-only empty multi-map.
entrySet() - Method in class org.jvnet.hk2.component.MultiMap
Lists up all entries.
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
 

F

Factory - Annotation Type in org.jvnet.hk2.annotations
Indicates that the object should be created by using the given factory component, instead of calling the constructor.
Factory - 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.
FactoryFor - Annotation Type in org.jvnet.hk2.annotations
Indicates that the component serves as a factory for the specified type.
FactoryWomb<T> - Class in com.sun.hk2.component
Creates an object from Factory.
FactoryWomb(Class<T>, Class<? extends Factory>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.FactoryWomb
 
FactoryWomb(Class<T>, Inhabitant<? extends Factory>, Habitat, MultiMap<String, String>) - Constructor for class com.sun.hk2.component.FactoryWomb
 
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.

G

get() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
get(Inhabitant) - Method in class com.sun.hk2.component.AbstractWombImpl
 
get(Inhabitant) - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
get() - Method in interface com.sun.hk2.component.Holder
 
get() - Method in class com.sun.hk2.component.Holder.Impl
 
get(Inhabitant) - Method in class com.sun.hk2.component.LazyInhabitant
 
get(Inhabitant) - Method in class com.sun.hk2.component.ScopedInhabitant
 
get(Inhabitant<T>) - Method in class com.sun.hk2.component.ScopeInstance
 
get(Inhabitant) - Method in class com.sun.hk2.component.SingletonInhabitant
 
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(K) - Method in class org.jvnet.hk2.component.MultiMap
 
get() - Method in interface org.jvnet.hk2.component.Womb
Short cut for
getAllByContract(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants registered under the given Contract.
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
 
getAllTypes() - Method in class org.jvnet.hk2.component.Habitat
 
getAnnotation(Class<T>) - Method in exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
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
Gets the object of the given type.
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
Loads a component that implements the given contract and has the given name.
getComponent(String, String) - Method in class org.jvnet.hk2.component.Habitat
 
getIndexes(Inhabitant<T>) - Static method in class org.jvnet.hk2.component.Inhabitants
Calculate the list of indexes under which the inhabitant is registered.
getInhabitant(Class<T>, String) - Method in class org.jvnet.hk2.component.Habitat
Gets a lazy reference to the component.
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, 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(String) - Method in class org.jvnet.hk2.component.Habitat
 
getInhabitants(Class<T>) - Method in class org.jvnet.hk2.component.Habitat
Gets all the inhabitants that has the given 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
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(String) - Method in class org.jvnet.hk2.component.Habitat
 
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.
getKey() - Method in class com.sun.hk2.component.KeyValuePairParser
 
getLine() - Method in class com.sun.hk2.component.KeyValuePairParser
Gets the whole line.
getLineNumber() - Method in class com.sun.hk2.component.InhabitantsScanner
 
getName() - Method in interface com.sun.hk2.component.InhabitantsParserDecorator
decorator names, there can be multiple decorators defined, each for a particular usage.
getNamesFor(Inhabitant<T>, String) - Static method in class org.jvnet.hk2.component.Inhabitants
Returns the list of names the service implementation in known.
getObject() - Method in interface org.jvnet.hk2.component.Factory
The system calls this method to obtain a reference to the component.
getOne(K) - Method in class org.jvnet.hk2.component.MultiMap
Gets the first value if any, or null.
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.
getSystemId() - Method in class com.sun.hk2.component.InhabitantsScanner
 
getUnsatisfiedElement() - Method in exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
getUnsatisfiedName() - Method in exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
getValue(Object, AnnotatedElement, Class) - Method in class com.sun.hk2.component.InjectionResolver
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
 

H

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
 
hasNext() - Method in class com.sun.hk2.component.KeyValuePairParser
 
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

Index - Annotation Type in org.jvnet.hk2.annotations
Marks the index property of the Contract annotations.
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.
InhabitantAnnotation - Annotation Type in org.jvnet.hk2.annotations
Meta-annotation indicating that the annotation designates an inhabitant of a Habitat.
InhabitantMetadata - Annotation Type in org.jvnet.hk2.annotations
Meta-annotation to make annotation values readable as Inhabitant.metadata().
InhabitantRequested - Interface in org.jvnet.hk2.component
Services implementation may require access to the inhabitant object wrapping them.
Inhabitants - Class in org.jvnet.hk2.component
Factory for Inhabitant.
Inhabitants() - Constructor for class org.jvnet.hk2.component.Inhabitants
 
InhabitantsFile - Class in com.sun.hk2.component
Inhabitants file.
InhabitantsFile() - Constructor for class com.sun.hk2.component.InhabitantsFile
 
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
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
 
initialize(T, Inhabitant) - Method in class com.sun.hk2.component.AbstractWombImpl
 
initialize(T, Inhabitant) - Method in class com.sun.hk2.component.ConstructorWomb
 
initialize(T, Inhabitant) - Method in interface org.jvnet.hk2.component.Womb
Performs initialization of object, such as dependency injection.
inject(Habitat, T, Inhabitant) - Method in class com.sun.hk2.component.AbstractWombImpl
Performs resource injection on the given instance from the given habitat.
Inject - Annotation Type in org.jvnet.hk2.annotations
Annotation to define a required resource for a component.
inject(Object, 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 optinally want to be notified of such injection.
injectedInto(Object) - Method in interface org.jvnet.hk2.component.Injectable
notification of injection into a component
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
 
InjectionResolver<U extends java.lang.annotation.Annotation> - Class in com.sun.hk2.component
Implementation of this abstract class are handling injection resolution for a particular injection annotation Inject
InjectionResolver(Class<U>) - Constructor for class com.sun.hk2.component.InjectionResolver
Construct a resolver with a particular injection type
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(String) - Method in class org.jvnet.hk2.component.Habitat
 
isField() - Method in exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
isInstantiated() - Method in class com.sun.hk2.component.AbstractWombImpl
 
isInstantiated() - Method in class com.sun.hk2.component.ExistingSingletonInhabitant
 
isInstantiated() - Method in class com.sun.hk2.component.LazyInhabitant
 
isInstantiated() - Method in class com.sun.hk2.component.ScopedInhabitant
 
isInstantiated() - Method in class com.sun.hk2.component.SingletonInhabitant
 
isInstantiated() - Method in interface org.jvnet.hk2.component.Inhabitant
Returns true if the underlying object has been instantiated.
isMethod() - Method in exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
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
iterator() - Method in class com.sun.hk2.component.InhabitantsScanner
 

K

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
 
lead() - Method in class com.sun.hk2.component.AbstractInhabitantImpl
 
Lead - Annotation Type in org.jvnet.hk2.annotations
Used on a companion object to request an injection of the corresponding lead object.
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.

M

metadata() - Method in class com.sun.hk2.component.AbstractWombImpl
 
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.
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.
MultiMap(MultiMap<K, V>) - Constructor for class org.jvnet.hk2.component.MultiMap
Copy constructor.

N

name - Variable in class com.sun.hk2.component.ScopeInstance
Human readable scope instance name for debug assistance.

O

onEntered(Inhabitant<?>) - Method in class com.sun.hk2.component.CompanionSeed.Registerer
 
onEntered(Inhabitant<?>) - Method in interface org.jvnet.hk2.component.CageBuilder
Called when an Inhabitant is entered into habitat.
onEntered(Inhabitant<?>) - Method in class org.jvnet.hk2.component.CageBuilder.Registerer
 
Optional - Annotation Type in org.jvnet.hk2.annotations
Denotes anything optional, like an optional service, an optional parameter
org.jvnet.hk2.annotations - package org.jvnet.hk2.annotations
HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.
org.jvnet.hk2.component - package org.jvnet.hk2.component
Primary API surface of HK2. Start with Habitat.

P

parse(InhabitantsScanner, Holder<ClassLoader>) - Method in class com.sun.hk2.component.InhabitantsParser
Parses the inhabitants file (which is represented by InhabitantsScanner.
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
Scope local to each invocation.
PerLookup() - Constructor for class org.jvnet.hk2.component.PerLookup
 
PostConstruct - Interface in org.jvnet.hk2.component
Classes implementing this interface register an interest in being notified when the instance has been created and the component is about to be place into commission.
postConstruct() - Method in interface org.jvnet.hk2.component.PostConstruct
The component has been injected with any dependency and will be placed into commission by the subsystem.
preDestroy() - Method in class com.sun.hk2.component.ScopeInstance
 
PreDestroy - Interface in org.jvnet.hk2.component
Components implementing this interface registers an interest in being notified when they are about to be decommissioned.
preDestroy() - Method in interface org.jvnet.hk2.component.PreDestroy
The component is about to be removed from commission
put(Inhabitant<T>, T) - Method in class com.sun.hk2.component.ScopeInstance
 

R

release() - Method in class com.sun.hk2.component.AbstractWombImpl
 
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.ScopeInstance
 
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.
remove(Inhabitant<?>) - Method in class org.jvnet.hk2.component.Habitat
Removes a inhabitant
removeAllByType(Class<?>) - Method in class org.jvnet.hk2.component.Habitat
Removes all imhabitants for a particular type
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
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.KeyValuePairParser
Moves the parser to the head of the key/value pair, to reparse the same string.

S

Scope - Class in org.jvnet.hk2.component
 
Scope() - Constructor for class org.jvnet.hk2.component.Scope
 
Scoped - Annotation Type in org.jvnet.hk2.annotations
Indicates the scope that this managed object is tied to.
ScopedInhabitant<T> - Class in com.sun.hk2.component
 
ScopedInhabitant(Womb<T>, Scope) - Constructor for class com.sun.hk2.component.ScopedInhabitant
 
ScopeInstance - Class in com.sun.hk2.component
A particular instanciation of a Scope.
ScopeInstance(String, Map) - Constructor for class com.sun.hk2.component.ScopeInstance
 
ScopeInstance(Map) - Constructor for class com.sun.hk2.component.ScopeInstance
 
Service - Annotation Type in org.jvnet.hk2.annotations
Marker interface for service implementation.
ServiceProvider - Annotation Type in org.jvnet.hk2.annotations
Denotes the service provider implementation.
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 wit hthe key by the given single value.
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.
setInhabitant(Inhabitant) - Method in interface org.jvnet.hk2.component.InhabitantRequested
Sets the inhabitant instance wrapping this instance.
Singleton - Class in org.jvnet.hk2.component
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(Womb<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

T

TARGET_TYPE - Static variable in class com.sun.hk2.component.InhabitantsFile
Used as metadata for indentifying the type on which a InhabitantAnnotation was annotated.
toCommaSeparatedString() - Method in class org.jvnet.hk2.component.MultiMap
Format the map as "key=value1,key=value2,...."
toString() - Method in class com.sun.hk2.component.ScopeInstance
 
toString() - Method in class org.jvnet.hk2.component.MultiMap
 
type - Variable in class com.sun.hk2.component.AbstractWombImpl
 
type() - Method in class com.sun.hk2.component.AbstractWombImpl
 
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 interface org.jvnet.hk2.component.Inhabitant
Type of the inhabitant.
typeName() - Method in class com.sun.hk2.component.AbstractWombImpl
 
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

UnsatisfiedDepedencyException - Exception in org.jvnet.hk2.component
Exception thrown by the injection manager when a dependency is not satisfied when performing injection.
UnsatisfiedDepedencyException(Field) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
UnsatisfiedDepedencyException(Field, Throwable) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
UnsatisfiedDepedencyException(Method) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 
UnsatisfiedDepedencyException(Method, Throwable) - Constructor for exception org.jvnet.hk2.component.UnsatisfiedDepedencyException
 

W

Womb<T> - Interface in org.jvnet.hk2.component
Encapsulates how to create an object.
Wombs - Class in org.jvnet.hk2.component
Womb factory.
Wombs() - Constructor for class org.jvnet.hk2.component.Wombs
 
wrapByScope(Class<T>, Womb<T>, Habitat) - Static method in class org.jvnet.hk2.component.Inhabitants
Creates a Inhabitant by wrapping Womb to handle scoping right.

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

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