T
- the value typepublic final class AtomicReferenceInjector<T> extends java.lang.Object implements Injector<T>
AtomicReference
.Constructor and Description |
---|
AtomicReferenceInjector(java.util.concurrent.atomic.AtomicReference<T> reference)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
inject(T value)
Inject the given value.
|
void |
uninject()
Uninject the given value (in other words, cancel or undo a previous injection).
|
Copyright © 2012 JBoss, a division of Red Hat, Inc.