Package org.jboss.msc.inject
Class AtomicReferenceFieldUpdaterInjector<C,T>
- java.lang.Object
-
- org.jboss.msc.inject.AtomicReferenceFieldUpdaterInjector<C,T>
-
- Type Parameters:
C
- the class which holds the target fieldT
- the type of the value to inject
- All Implemented Interfaces:
Injector<T>
@Deprecated public final class AtomicReferenceFieldUpdaterInjector<C,T> extends Object implements Injector<T>
Deprecated.UseServiceBuilder.provides(org.jboss.msc.service.ServiceName...)
method instead. This class will be removed in a future release.An injector which updates the value of anAtomicReferenceFieldUpdater
.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater, Value<C> target)
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
inject(T value)
Deprecated.Inject the given value.void
uninject()
Deprecated.Uninject the given value (in other words, cancel or undo a previous injection).
-
-
-
Constructor Detail
-
AtomicReferenceFieldUpdaterInjector
public AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater, Value<C> target)
Deprecated.Construct a new instance.- Parameters:
updater
- the updater to inject totarget
- the target object upon which to inject
-
-
Method Detail
-
inject
public void inject(T value)
Deprecated.Inject the given value.
-
-