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

Packages that use ComponentException
com.sun.enterprise.module   
com.sun.enterprise.module.common_impl   
com.sun.enterprise.module.single   
com.sun.hk2.component   
org.jvnet.hk2.component   
org.jvnet.hk2.component.concurrent   
org.jvnet.hk2.config   
org.jvnet.hk2.config.provider   
org.jvnet.hk2.config.provider.internal   
org.jvnet.hk2.deprecated.internal   
 

Uses of ComponentException in com.sun.enterprise.module
 

Methods in com.sun.enterprise.module that throw ComponentException
 ServiceLocator ModulesRegistry.createServiceLocator(String name)
          Creates a ServiceLocator from all the modules in this registry Cal;ling this method has the same effect of calling ModulesRegistry.newServiceLocator() followed by ModulesRegistry.populateServiceLocator(String, ServiceLocator).
 ServiceLocator ModulesRegistry.newServiceLocator()
          Creates an uninitialized ServiceLocator
 void ModulesRegistry.populateServiceLocator(String name, ServiceLocator h)
          Populates a ServiceLocator from all the modules in this registry.
 

Uses of ComponentException in com.sun.enterprise.module.common_impl
 

Methods in com.sun.enterprise.module.common_impl that throw ComponentException
 ServiceLocator AbstractModulesRegistryImpl.createServiceLocator(String name)
           
protected  void AbstractModulesRegistryImpl.initializeServiceLocator(ServiceLocator serviceLocator)
           
 ServiceLocator AbstractModulesRegistryImpl.newServiceLocator()
          Creates an uninitialized Habitat
 ServiceLocator AbstractModulesRegistryImpl.newServiceLocator(ServiceLocator parent, String name)
          Create a new Habitat optionally providing a parent Services as well as a name.
 void AbstractModulesRegistryImpl.populateServiceLocator(String name, ServiceLocator serviceLocator)
          Creates a ServiceLocator from all the modules in this registry
 

Uses of ComponentException in com.sun.enterprise.module.single
 

Methods in com.sun.enterprise.module.single that throw ComponentException
 ServiceLocator StaticModulesRegistry.createServiceLocator(String name)
           
 

Uses of ComponentException in com.sun.hk2.component
 

Methods in com.sun.hk2.component that throw ComponentException
 T ConstructorCreator.create(Inhabitant onBehalfOf)
          Deprecated.  
 T AbstractCreatorImpl.get(Inhabitant onBehalfOf)
          Deprecated.  
 T ExistingSingletonInhabitant.get(Inhabitant onBehalfOf)
          Deprecated.  
protected
<V> V
InjectInjectionResolver.getHolderInjectValue(ServiceLocator habitat, Object component, Inhabitant<?> onBehalfOf, AnnotatedElement target, Type genericType, Class<V> type, javax.inject.Inject inject)
          Deprecated.  
protected
<V> Provider<V>
InjectInjectionResolver.getProviderByContract(ServiceLocator habitat, Inhabitant<?> onBehalfOf, AnnotatedElement target, Type genericType, javax.inject.Inject inject)
          Deprecated.  
<V> V
InjectionResolverQuery.getValue(Object component, Inhabitant<?> onBehalfOf, AnnotatedElement annotated, Type genericType, Class<V> type)
          Deprecated. Returns the value to inject in the field or method of component annotated with the annotated annotation.
<V> V
InjectInjectionResolver.getValue(Object component, Inhabitant<?> onBehalfOf, AnnotatedElement target, Type genericType, Class<V> type)
          Deprecated. Obtains the value to inject, based on the type and org.jvnet.hk2.annotations.Inject annotation.
 void ConstructorCreator.initialize(T t, Inhabitant onBehalfOf)
          Deprecated.  
 void AbstractCreatorImpl.initialize(T t, Inhabitant onBehalfOf)
          Deprecated.  
 

Uses of ComponentException in org.jvnet.hk2.component
 

Subclasses of ComponentException in org.jvnet.hk2.component
 class UnsatisfiedDependencyException
          Deprecated. 
 

Methods in org.jvnet.hk2.component that throw ComponentException
<T> void
Habitat.addComponent(T component)
          Deprecated. Add an already instantiated component to this manager.
 T Creator.create(Inhabitant onBehalfOf)
          Deprecated. Creates a new instance.
 T Creator.get()
          Deprecated. Short cut for
<T> T
Habitat.getComponent(Class<T> clazz)
          Deprecated. Obtains a reference to the component inside the manager.
<T> T
BaseServiceLocator.getComponent(Class<T> clazz)
          Deprecated.  
<T> T
Habitat.getComponent(Class<T> contract, String name)
          Deprecated.  
<T> T
BaseServiceLocator.getComponent(Class<T> contract, String name)
          Deprecated. Loads a component that implements the given contract and has the given name.
<T> Inhabitant<T>
InhabitantTracker.getInhabitant()
          Deprecated. Returns a single inhabitant.
<T> Inhabitant<T>
Habitat.getInhabitant(Class<T> contract, String name)
          Deprecated. Gets a lazy reference to the component.
 Inhabitant<?> Habitat.getInhabitantByAnnotation(Class<? extends Annotation> contract, String name)
          Deprecated. Gets the inhabitant that has the given contract annotation and the given name.
 Collection<Inhabitant<?>> InhabitantTracker.getInhabitants()
          Deprecated. Returns the set of inhabitants qualifying.
<T> Iterable<Inhabitant<? extends T>>
Habitat.getInhabitants(Class<T> contract, String name)
          Deprecated. Gets all the inhabitants that has the given contract and the given name

This method defers the actual instantiation of the component until Inhabitant.get() is invoked.

 Iterable<Inhabitant<?>> Habitat.getInhabitantsByAnnotation(Class<? extends Annotation> contract, String name)
          Deprecated. Gets all the inhabitants that has the given contract annotation and the given name.
<T> Collection<Inhabitant<T>>
SimpleServiceLocator.getInhabitantsByContract(String contractName)
          Deprecated.  
<T> Collection<Inhabitant<T>>
Habitat.getInhabitantsByContract(Type contract)
          Deprecated. Gets all the inhabitants that has the given contract.
<T> Collection<Inhabitant<T>>
SimpleServiceLocator.getInhabitantsByContract(Type contract)
          Deprecated. Gets all the inhabitants that has the given contract.
<T> Collection<Inhabitant<T>>
Habitat.getInhabitantsByType(Class<T> implType)
          Deprecated. Gets all the inhabitants that has the given implementation type.
<T> Collection<Inhabitant<T>>
SimpleServiceLocator.getInhabitantsByType(Class<T> type)
          Deprecated. Gets all the inhabitants that has the given type.
<T> Collection<Inhabitant<T>>
SimpleServiceLocator.getInhabitantsByType(String typeName)
          Deprecated.  
 void Creator.initialize(T t, Inhabitant onBehalfOf)
          Deprecated. Performs initialization of object, such as dependency injection.
 

Uses of ComponentException in org.jvnet.hk2.component.concurrent
 

Subclasses of ComponentException in org.jvnet.hk2.component.concurrent
static class WorkManager.ExecutionException
          Deprecated.  
 

Uses of ComponentException in org.jvnet.hk2.config
 

Subclasses of ComponentException in org.jvnet.hk2.config
 class ConfigPopulatorException
          Indicates a problem during population on config beans.
 class ConfigurationException
          Indicates a problem in the configuration value.
 class TranslationException
          Indicates a failure in Translator.translate(String).
 

Uses of ComponentException in org.jvnet.hk2.config.provider
 

Subclasses of ComponentException in org.jvnet.hk2.config.provider
 class ConfigTransactionException
          A generic Transaction failure.
 class ConfigTransactionRejectedException
          Thrown by ConfiguredBy services that signifies that the service rejected the configuration and the transaction was automatically rolled back.
 

Uses of ComponentException in org.jvnet.hk2.config.provider.internal
 

Methods in org.jvnet.hk2.config.provider.internal that throw ComponentException
<V> V
ConfigTransactionImpl.getValue(Object component, Inhabitant<?> onBehalfOf, AnnotatedElement annotated, Type genericType, Class<V> type)
          override of InjectionResolverQuery to provide view of changes scoped to this txn context.
 

Uses of ComponentException in org.jvnet.hk2.deprecated.internal
 

Methods in org.jvnet.hk2.deprecated.internal that throw ComponentException
 T CreatorImpl.create(Inhabitant onBehalfOf)
          Deprecated.  
<T> T
BaseServiceLocatorImpl.getComponent(Class<T> clazz)
          Deprecated.  
<T> T
BaseServiceLocatorImpl.getComponent(Class<T> contract, String name)
          Deprecated.  
 void CreatorImpl.initialize(T t, Inhabitant onBehalfOf)
          Deprecated.  
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.