|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Inhabitant in com.sun.hk2.component |
---|
Classes in com.sun.hk2.component that implement Inhabitant | |
---|---|
class |
AbstractCreatorImpl<T>
Deprecated. |
class |
AbstractCreatorInhabitantImpl<T>
Deprecated. |
class |
AbstractInhabitantImpl<T>
Deprecated. |
class |
ConstructorCreator<T>
Deprecated. |
class |
EventPublishingInhabitant<T>
Deprecated. |
class |
ExistingSingletonInhabitant<T>
Deprecated. |
class |
LazyInhabitant<T>
Deprecated. |
class |
ScopedInhabitant<T>
Deprecated. |
Fields in com.sun.hk2.component declared as Inhabitant | |
---|---|
protected Inhabitant<T> |
EventPublishingInhabitant.real
Deprecated. Real Inhabitant object. |
Methods in com.sun.hk2.component that return Inhabitant | ||
---|---|---|
static
|
Inhabitants.create(Class<T> c,
ServiceLocator habitat,
Map<String,List<String>> metadata)
Deprecated. Creates a Inhabitant by looking at annotations of the given type. |
|
static
|
Inhabitants.create(T instance)
Deprecated. Creates a singleton wrapper around existing object. |
|
static Inhabitant<?> |
Inhabitants.createInhabitant(ServiceLocator serviceLocator,
Holder<ClassLoader> classLoader,
String typeName,
Map<String,List<String>> metadata,
Inhabitant<?> lead,
Set<String> indicies)
Deprecated. |
|
static Inhabitant<?> |
Inhabitants.createInhabitant(ServiceLocator serviceLocator,
Iterator<InhabitantProviderInterceptor> interceptors,
Holder<ClassLoader> classLoader,
String typeName,
Map<String,List<String>> metadata,
Inhabitant<?> lead,
InhabitantStore store,
Set<String> indicies)
Deprecated. |
|
Inhabitant |
AbstractInhabitantImpl.lead()
Deprecated. |
|
Inhabitant<?> |
LazyInhabitant.lead()
Deprecated. |
|
protected Inhabitant<?> |
InjectInjectionResolver.manage(Inhabitant<?> onBehalfOf,
Inhabitant<?> inhabitant)
Deprecated. |
|
static
|
Inhabitants.wrapByScope(Class<T> c,
Creator<T> creator,
ServiceLocator habitat)
Deprecated. Creates a Inhabitant by wrapping Creator to handle scoping right. |
|
static
|
Inhabitants.wrapByScope(Creator<T> creator,
ServiceLocator habitat,
Class<? extends Scope> scopeClass)
Deprecated. |
Methods in com.sun.hk2.component that return types with arguments of type Inhabitant | |
---|---|
Collection<Inhabitant> |
AbstractInhabitantImpl.companions()
Deprecated. |
Methods in com.sun.hk2.component with parameters of type Inhabitant | ||
---|---|---|
void |
InhabitantsParser.add(Inhabitant<?> i)
Deprecated. Adds the given inhabitant to the serviceLocator |
|
void |
InhabitantStore.add(Inhabitant<?> i)
Deprecated. Adds the given inhabitant to the backing store (usually the habitat) |
|
protected void |
InhabitantsParser.add(Inhabitant<?> i,
InhabitantParser parser)
Deprecated. Adds the given inhabitant to the serviceLocator, with all its indices. |
|
void |
InhabitantsParser.addIndex(Inhabitant<?> i,
String typeName,
String name)
Deprecated. Adds the given inhabitant index to the serviceLocator |
|
void |
InhabitantStore.addIndex(Inhabitant<?> i,
String typeName,
String name)
Deprecated. Adds the given inhabitant index to the backing store (usually the habitat) |
|
T |
ConstructorCreator.create(Inhabitant onBehalfOf)
Deprecated. |
|
static Inhabitant<?> |
Inhabitants.createInhabitant(ServiceLocator serviceLocator,
Holder<ClassLoader> classLoader,
String typeName,
Map<String,List<String>> metadata,
Inhabitant<?> lead,
Set<String> indicies)
Deprecated. |
|
static Inhabitant<?> |
Inhabitants.createInhabitant(ServiceLocator serviceLocator,
Iterator<InhabitantProviderInterceptor> interceptors,
Holder<ClassLoader> classLoader,
String typeName,
Map<String,List<String>> metadata,
Inhabitant<?> lead,
InhabitantStore store,
Set<String> indicies)
Deprecated. |
|
T |
ScopedInhabitant.get(Inhabitant onBehalfOf)
Deprecated. |
|
T |
AbstractCreatorImpl.get(Inhabitant onBehalfOf)
Deprecated. |
|
T |
EventPublishingInhabitant.get(Inhabitant onBehalfOf)
Deprecated. |
|
T |
ExistingSingletonInhabitant.get(Inhabitant onBehalfOf)
Deprecated. |
|
protected
|
InjectInjectionResolver.getAllByContract(Inhabitant<?> onBehalfOf,
ServiceLocator habitat,
Class<V> ct)
Deprecated. |
|
protected
|
InjectInjectionResolver.getAllByType(Inhabitant<?> onBehalfOf,
ServiceLocator habitat,
Class<V> ct)
Deprecated. |
|
protected
|
InjectInjectionResolver.getArrayInjectValue(ServiceLocator habitat,
Object component,
Inhabitant<?> onBehalfOf,
AnnotatedElement target,
Type genericType,
Class<V> type)
Deprecated. |
|
protected static Descriptor |
AbstractInhabitantImpl.getDescriptorFor(Inhabitant<?> i)
Deprecated. |
|
protected
|
InjectInjectionResolver.getHolderInjectValue(ServiceLocator habitat,
Object component,
Inhabitant<?> onBehalfOf,
AnnotatedElement target,
Type genericType,
Class<V> type,
javax.inject.Inject inject)
Deprecated. |
|
static
|
Inhabitants.getNamesFor(Inhabitant<T> i,
String indexName)
Deprecated. Returns the list of names the service implementation in known. |
|
protected
|
InjectInjectionResolver.getProviderByContract(ServiceLocator habitat,
Inhabitant<?> onBehalfOf,
AnnotatedElement target,
Type genericType,
javax.inject.Inject inject)
Deprecated. |
|
|
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. |
|
|
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. |
|
protected void |
AbstractCreatorImpl.inject(ServiceLocator habitat,
T t,
Inhabitant<?> onBehalfOf)
Deprecated. Performs resource injection on the given instance from the given habitat. |
|
protected Inhabitant<?> |
InjectInjectionResolver.manage(Inhabitant<?> onBehalfOf,
Inhabitant<?> inhabitant)
Deprecated. |
|
protected Inhabitant<?> |
InjectInjectionResolver.manage(Inhabitant<?> onBehalfOf,
Inhabitant<?> inhabitant)
Deprecated. |
|
protected
|
InjectInjectionResolver.manage(Inhabitant<?> onBehalfOf,
Iterable<?> inhabitants)
Deprecated. |
|
boolean |
InhabitantsParser.remove(Inhabitant<?> i)
Deprecated. |
|
boolean |
InhabitantStore.remove(Inhabitant<?> inhabitant)
Deprecated. Removes an inhabitant |
|
protected
|
InjectInjectionResolver.validate(Object component,
Inhabitant<?> onBehalfOf,
V toBeInjected)
Deprecated. Verifies the injection does not violate any integrity rules. |
Method parameters in com.sun.hk2.component with type arguments of type Inhabitant | |
---|---|
void |
AbstractInhabitantImpl.setCompanions(Collection<Inhabitant> companions)
Deprecated. |
Constructors in com.sun.hk2.component with parameters of type Inhabitant | |
---|---|
EventPublishingInhabitant(ServiceLocator serviceLocator,
Inhabitant<?> delegate)
Deprecated. |
|
EventPublishingInhabitant(ServiceLocator serviceLocator,
Inhabitant<?> delegate,
InhabitantListener listener)
Deprecated. |
|
LazyInhabitant(ServiceLocator serviceLocator,
HK2Loader cl,
String typeName,
Map<String,List<String>> metadata,
Inhabitant<?> lead)
Deprecated. |
Uses of Inhabitant in org.glassfish.hk2.deprecated.utilities |
---|
Methods in org.glassfish.hk2.deprecated.utilities that return Inhabitant | ||
---|---|---|
static
|
Utilities.getInhabitantFromActiveDescriptor(ActiveDescriptor<T> fromMe,
ServiceLocator locator)
Deprecated. Creates an Inhabitant from an ActiveDescriptor . |
Uses of Inhabitant in org.glassfish.hk2.inhabitants |
---|
Methods in org.glassfish.hk2.inhabitants with parameters of type Inhabitant | |
---|---|
void |
InhabitantsParser.add(Inhabitant<?> i)
Adds the given inhabitant to the habitat |
void |
InhabitantStore.add(Inhabitant<?> i)
Adds the given inhabitant to the backing store (usually the habitat) |
protected void |
InhabitantsParser.add(Inhabitant<?> i,
InhabitantParser parser)
Adds the given inhabitant to the habitat, with all its indices. |
void |
InhabitantsParser.addIndex(Inhabitant<?> i,
String typeName,
String name)
Adds the given inhabitant index to the habitat |
void |
InhabitantStore.addIndex(Inhabitant<?> i,
String typeName,
String name)
Adds the given inhabitant index to the backing store (usually the habitat) |
boolean |
InhabitantsParser.remove(Inhabitant<?> i)
|
boolean |
InhabitantStore.remove(Inhabitant<?> inhabitant)
Removes an inhabitant |
Uses of Inhabitant in org.jvnet.hk2.component |
---|
Subinterfaces of Inhabitant in org.jvnet.hk2.component | |
---|---|
interface |
Creator<T>
Deprecated. |
Fields in org.jvnet.hk2.component declared as Inhabitant | |
---|---|
Inhabitant<?> |
InjectionManager.InjectContext.onBehalfOf
|
Methods in org.jvnet.hk2.component that return Inhabitant | ||
---|---|---|
static
|
Inhabitants.create(Class<T> c,
Habitat habitat,
Map<String,List<String>> metadata)
Deprecated. Use Inhabitants instead. |
|
static
|
Inhabitants.create(T instance)
Deprecated. Use Inhabitants instead. |
|
Inhabitant<?> |
ServiceContext.getInhabitant()
Deprecated. The inhabitant associated with this service context (may be null). |
|
Inhabitant<?> |
InjectionPoint.getInhabitant()
Deprecated. The inhabitant on behalf of the component being injected. |
|
|
InhabitantTracker.getInhabitant()
Deprecated. Returns a single inhabitant. |
|
|
Habitat.getInhabitant(Class<T> contract,
String name)
Deprecated. Gets a lazy reference to the component. |
|
|
Habitat.getInhabitant(Type type,
String name)
Deprecated. |
|
Inhabitant<?> |
Habitat.getInhabitantByAnnotation(Class<? extends Annotation> contract,
String name)
Deprecated. Gets the inhabitant that has the given contract annotation and the given name. |
|
Inhabitant<?> |
Habitat.getInhabitantByContract(String typeName)
Deprecated. Get the first inhabitant by contract |
|
Inhabitant |
Habitat.getInhabitantByContract(String fullyQualifiedName,
String name)
Deprecated. |
|
|
Habitat.getInhabitantByType(Class<T> implType)
Deprecated. Gets a lazy reference to the component. |
|
Inhabitant<?> |
Habitat.getInhabitantByType(String fullyQualifiedClassName)
Deprecated. |
|
|
Habitat.getInhabitantByType(Type implType)
Deprecated. |
|
|
Habitat.getProvider(Type type,
String name)
Deprecated. |
|
|
SimpleServiceLocator.getProvider(Type type,
String name)
Deprecated. Gets an inhabitant from its type and optionally name |
|
Inhabitant |
Inhabitant.lead()
Deprecated. If this inhabitant is a companion to another inhabitant (called "lead"), This method returns that inhabitant. |
Methods in org.jvnet.hk2.component that return types with arguments of type Inhabitant | ||
---|---|---|
Collection<Inhabitant> |
Inhabitant.companions()
Deprecated. Returns the companion inhabitants associated with this inhabitant. |
|
static List<Inhabitant<? extends InjectionResolver>> |
Creators.getAllInjectionResolvers(ServiceLocator habitat)
Deprecated. Returns all currently available injection annotations |
|
Collection<Inhabitant<?>> |
InhabitantTracker.getInhabitants()
Deprecated. Returns the set of inhabitants qualifying. |
|
|
Habitat.getInhabitants(Class<T> type)
Deprecated. Gets all the inhabitants for a spcial contract. |
|
|
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 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. |
|
Collection<Inhabitant<?>> |
Habitat.getInhabitantsByContract(String fullyQualifiedClassName)
Deprecated. |
|
|
SimpleServiceLocator.getInhabitantsByContract(String contractName)
Deprecated. |
|
|
Habitat.getInhabitantsByContract(Type contract)
Deprecated. Gets all the inhabitants that has the given contract. |
|
|
SimpleServiceLocator.getInhabitantsByContract(Type contract)
Deprecated. Gets all the inhabitants that has the given contract. |
|
|
Habitat.getInhabitantsByType(Class<T> implType)
Deprecated. Gets all the inhabitants that has the given implementation type. |
|
|
SimpleServiceLocator.getInhabitantsByType(Class<T> type)
Deprecated. Gets all the inhabitants that has the given type. |
|
Collection<Inhabitant<?>> |
Habitat.getInhabitantsByType(String fullyQualifiedClassName)
Deprecated. Gets all the inhabitants that has the given implementation type name. |
|
|
SimpleServiceLocator.getInhabitantsByType(String typeName)
Deprecated. |
Methods in org.jvnet.hk2.component with parameters of type Inhabitant | ||
---|---|---|
void |
InhabitantActivator.activate(Inhabitant<?> inhabitant)
Deprecated. Implementations are generally expected to call get() at
some point. |
|
void |
Habitat.add(Inhabitant<?> i)
Deprecated. Adds a new inhabitant. |
|
void |
Habitat.addIndex(Inhabitant<?> i,
String index,
String name)
Deprecated. Adds a new index to look up the given inhabitant. |
|
protected void |
Habitat.addIndex(Inhabitant<?> i,
String index,
String name,
boolean notify)
Deprecated. |
|
T |
Creator.create(Inhabitant onBehalfOf)
Deprecated. Creates a new instance. |
|
void |
InhabitantActivator.deactivate(Inhabitant<?> inhabitant)
Deprecated. Implementations are generally expected to call release() at
some point. |
|
T |
Inhabitant.get(Inhabitant onBehalfOf)
Deprecated. Returns the instance of this inhabitant. |
|
static
|
Inhabitants.getNamesFor(Inhabitant<T> i,
String indexName)
Deprecated. Use Inhabitants instead. |
|
protected static Long |
Habitat.getServiceRanking(Inhabitant<?> i,
boolean wantNonNull)
Deprecated. |
|
boolean |
HabitatListener.inhabitantChanged(HabitatListener.EventType eventType,
Habitat habitat,
Inhabitant<?> inhabitant)
Deprecated. Called when the habitat has changed. |
|
boolean |
InhabitantListener.inhabitantChanged(InhabitantListener.EventType eventType,
Inhabitant<?> inhabitant)
Deprecated. Called when the inhabitant has changed. |
|
boolean |
HabitatListener.inhabitantIndexChanged(HabitatListener.EventType eventType,
Habitat habitat,
Inhabitant<?> inhabitant,
String index,
String name,
Object service)
Deprecated. Called when the habitat index has changed. |
|
void |
Creator.initialize(T t,
Inhabitant onBehalfOf)
Deprecated. Performs initialization of object, such as dependency injection. |
|
void |
InjectionManager.inject(Object component,
Inhabitant<?> onBehalfOf,
ExecutorService es,
InjectionResolver... targets)
Deprecated. Initializes the component by performing injection. |
|
void |
InjectionManager.inject(Object component,
Inhabitant<?> onBehalfOf,
InjectionResolver... targets)
Deprecated. Initializes the component by performing injection. |
|
boolean |
InhabitantFilter.matches(Inhabitant<?> i)
Deprecated. |
|
boolean |
Habitat.remove(Inhabitant<?> inhabitant)
Deprecated. Removes an inhabitant |
|
void |
InhabitantRequested.setInhabitant(Inhabitant inhabitant)
Deprecated. Sets the inhabitant instance wrapping this instance. |
|
protected void |
InjectionManager.syncDoInject(Object component,
Inhabitant<?> onBehalfOf,
Class type,
InjectionResolver... targets)
Deprecated. Initializes the component by performing injection. |
Method parameters in org.jvnet.hk2.component with type arguments of type Inhabitant | |
---|---|
void |
Inhabitant.setCompanions(Collection<Inhabitant> companions)
Deprecated. This method is only meant to be invoked by ServiceLocator . |
Constructors in org.jvnet.hk2.component with parameters of type Inhabitant | |
---|---|
InjectionManager.InjectContext(Object component,
Inhabitant<?> onBehalfOf,
Class type,
ExecutorService es,
InjectionResolver[] targets)
|
Uses of Inhabitant in org.jvnet.hk2.config |
---|
Classes in org.jvnet.hk2.config that implement Inhabitant | |
---|---|
class |
ConfigBean
ConfigBean is the core implementation of the config beans. |
class |
Dom
Inhabitant that loads configuration from XML. |
Fields in org.jvnet.hk2.config declared as Inhabitant | |
---|---|
Inhabitant<? extends ConfigInjector> |
ConfigModel.injector
Reference to the ConfigInjector used to inject values to
objects of this model. |
Fields in org.jvnet.hk2.config with type parameters of type Inhabitant | |
---|---|
protected Map<Inhabitant<? extends ConfigInjector>,ConfigModel> |
DomDocument.models
|
Methods in org.jvnet.hk2.config with parameters of type Inhabitant | |
---|---|
Object |
Dom.get(Inhabitant onBehalfOf)
|
Constructors in org.jvnet.hk2.config with parameters of type Inhabitant | |
---|---|
ConfigModel(DomDocument document,
Inhabitant<? extends ConfigInjector> injector,
Map<String,List<String>> description,
ServiceLocator locator)
|
Uses of Inhabitant in org.jvnet.hk2.config.provider.internal |
---|
Methods in org.jvnet.hk2.config.provider.internal with parameters of type Inhabitant | ||
---|---|---|
|
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 Inhabitant in org.jvnet.hk2.deprecated.internal |
---|
Classes in org.jvnet.hk2.deprecated.internal that implement Inhabitant | |
---|---|
class |
CreatorImpl<T>
Deprecated. |
class |
InhabitantImpl<T>
Deprecated. |
Methods in org.jvnet.hk2.deprecated.internal with parameters of type Inhabitant | |
---|---|
T |
CreatorImpl.create(Inhabitant onBehalfOf)
Deprecated. |
T |
CreatorImpl.get(Inhabitant onBehalfOf)
Deprecated. |
T |
InhabitantImpl.get(Inhabitant onBehalfOf)
Deprecated. |
void |
CreatorImpl.initialize(T t,
Inhabitant onBehalfOf)
Deprecated. |
Uses of Inhabitant in org.jvnet.hk2.osgiadapter |
---|
Methods in org.jvnet.hk2.osgiadapter with parameters of type Inhabitant | |
---|---|
protected void |
OSGiInhabitantsParser.add(Inhabitant i,
InhabitantParser parser)
This method registers an equivalent service in OSGi's Service Registry. |
Uses of Inhabitant in org.jvnet.hk2.tracing |
---|
Methods in org.jvnet.hk2.tracing that return types with arguments of type Inhabitant | |
---|---|
Iterator<Inhabitant> |
InhabitantTracing.inOrder()
Deprecated. |
Methods in org.jvnet.hk2.tracing with parameters of type Inhabitant | |
---|---|
void |
InhabitantTracing.push(Inhabitant i)
Deprecated. |
Constructors in org.jvnet.hk2.tracing with parameters of type Inhabitant | |
---|---|
TracingUtilities.Node(Inhabitant t)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |