|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.inject.AtomicReferenceFieldUpdaterInjector<C,T>
C - the class which holds the target fieldT - the type of the value to injectpublic final class AtomicReferenceFieldUpdaterInjector<C,T>
An injector which updates the value of an AtomicReferenceFieldUpdater.
| Constructor Summary | |
|---|---|
AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater,
Value<C> target)
Construct a new instance. |
|
| Method Summary | |
|---|---|
void |
inject(T value)
Inject the given value. |
void |
uninject()
Uninject the given value (in other words, cancel or undo a previous injection). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtomicReferenceFieldUpdaterInjector(AtomicReferenceFieldUpdater<C,? super T> updater,
Value<C> target)
updater - the updater to inject totarget - the target object upon which to inject| Method Detail |
|---|
public void inject(T value)
inject in interface Injector<T>value - the valuepublic void uninject()
inject()
has been called.
uninject in interface Injector<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||