Package | Description |
---|---|
org.jboss.msc.inject |
Classes which implement value injection.
|
org.jboss.msc.service |
The service container implementation itself.
|
org.jboss.msc.value |
Classes which implement various indirect value types.
|
Modifier and Type | Class and Description |
---|---|
class |
AddMethodInjector<T>
An injector which calls an add/remove method pair on inject/uninject.
|
class |
AtomicReferenceFieldUpdaterInjector<C,T>
An injector which updates the value of an
AtomicReferenceFieldUpdater . |
class |
AtomicReferenceInjector<T>
An injector which updates the value of an
AtomicReference . |
class |
CastingInjector<T>
An injector which casts the value to a specific type.
|
class |
ConcurrentMapInjector<K,T>
An injector which applies a value to a concurrent map entry.
|
class |
FieldInjector<T>
An injector which updates the value of a field.
|
class |
MapInjector<K,T>
An injector which applies a value to a map entry.
|
class |
MethodInjector<T>
An injector which invokes a method.
|
class |
RetainingInjector<T>
An injector which retains its value.
|
class |
SetMethodInjector<T>
An injector which calls a setter method.
|
Modifier and Type | Method and Description |
---|---|
static <T> Injector<Object> |
Injectors.cast(Injector<T> injector,
Class<T> type)
Construct a casting injector.
|
static <T> Injector<T> |
SetMethodInjector.create(Value<?> target,
Method method)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> Injector<Object> |
Injectors.cast(Injector<T> injector,
Class<T> type)
Construct a casting injector.
|
Constructor and Description |
---|
CastingInjector(Injector<T> target,
Class<T> type)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Injector<T> |
ValueInjectionService.getInjector()
Get the injector, which should be used to inject the dependency.
|
Injector<? super T> |
ValueInjection.getTarget()
Get the target injector.
|
Modifier and Type | Method and Description |
---|---|
<I> ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceBuilder.DependencyType dependencyType,
ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency,
Class<I> type,
Injector<I> target)
Add a service dependency.
|
ServiceBuilder<T> |
ServiceBuilder.addDependency(ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addDependency(ServiceName dependency,
Injector<Object> target)
Add a service dependency.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addInjection(Injector<? super I> target,
I value)
Add an injection.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addInjection(Injector<? super I> target,
I value)
Add an injection.
|
ServiceBuilder<T> |
ServiceBuilder.addInjection(Injector<? super T> target)
Add an injection of this service into another target.
|
ServiceBuilder<T> |
DelegatingServiceBuilder.addInjection(Injector<? super T> target)
Add an injection of this service into another target.
|
<I> ServiceBuilder<T> |
ServiceBuilder.addInjectionValue(Injector<? super I> target,
Value<I> value)
Add an injection value.
|
<I> ServiceBuilder<T> |
DelegatingServiceBuilder.addInjectionValue(Injector<? super I> target,
Value<I> value)
Add an injection value.
|
Constructor and Description |
---|
ValueInjection(Value<? extends T> source,
Injector<? super T> target)
Construct a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
InjectedValue<T>
A value which is injected from another source.
|
Modifier and Type | Method and Description |
---|---|
Injector<T> |
InjectedSetValue.injector()
Gets an injector for this set.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.