Uses of Class
org.jvnet.hk2.component.ComponentException

Packages that use ComponentException
com.sun.hk2.component Dependency injection implementation for HK2. 
org.jvnet.hk2.component Primary API surface of HK2. Start with Habitat
 

Uses of ComponentException in com.sun.hk2.component
 

Methods in com.sun.hk2.component that throw ComponentException
 T FactoryWomb.create(Inhabitant onBehalfOf)
           
 T ConstructorWomb.create(Inhabitant onBehalfOf)
           
 void ConstructorWomb.extract(java.lang.Object component, ScopeInstance si)
          Extracts resources identified with Extract annotations into the given scope.
 T AbstractWombImpl.get(Inhabitant onBehalfOf)
           
 T LazyInhabitant.get(Inhabitant onBehalfOf)
           
 T ExistingSingletonInhabitant.get(Inhabitant onBehalfOf)
           
abstract  java.lang.Object InjectionResolver.getValue(java.lang.Object component, java.lang.reflect.AnnotatedElement annotated, java.lang.Class type)
          Returns the value to inject in the field or method of component annotated with the annotated annotation.
 void AbstractWombImpl.initialize(T t, Inhabitant onBehalfOf)
           
 void ConstructorWomb.initialize(T t, Inhabitant onBehalfOf)
           
 

Uses of ComponentException in org.jvnet.hk2.component
 

Subclasses of ComponentException in org.jvnet.hk2.component
 class UnsatisfiedDepedencyException
          Exception thrown by the injection manager when a dependency is not satisfied when performing injection.
 

Methods in org.jvnet.hk2.component that throw ComponentException
<T> void
Habitat.addComponent(java.lang.String name, T component)
          Add an already instantiated component to this manager.
 T Womb.create(Inhabitant onBehalfOf)
          Creates a new instance.
 T Womb.get()
          Short cut for
<T> T
Habitat.getComponent(java.lang.Class<T> clazz)
          Obtains a reference to the component inside the manager.
<T> T
Habitat.getComponent(java.lang.Class<T> contract, java.lang.String name)
          Loads a component that implements the given contract and has the given name.
<T> Inhabitant<? extends T>
Habitat.getInhabitant(java.lang.Class<T> contract, java.lang.String name)
          Gets a lazy reference to the component.
 Inhabitant<?> Habitat.getInhabitantByAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> contract, java.lang.String name)
          Gets the inhabitant that has the given contract annotation and the given name.
<T> java.util.Collection<Inhabitant<? extends T>>
Habitat.getInhabitants(java.lang.Class<T> contract)
          Gets all the inhabitants that has the given contract.
<T> java.lang.Iterable<Inhabitant<? extends T>>
Habitat.getInhabitants(java.lang.Class<T> contract, java.lang.String name)
          Gets all the inhabitants that has the given contract and the given name
 java.lang.Iterable<Inhabitant<?>> Habitat.getInhabitantsByAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> contract, java.lang.String name)
          Gets all the inhabitants that has the given contract annotation and the given name.
<T> java.util.Collection<Inhabitant<T>>
Habitat.getInhabitantsByType(java.lang.Class<T> implType)
          Gets all the inhabitants that has the given implementation type.
 java.lang.Object Factory.getObject()
          The system calls this method to obtain a reference to the component.
 void Womb.initialize(T t, Inhabitant onBehalfOf)
          Performs initialization of object, such as dependency injection.
 



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