T - the injected value typepublic interface Injector<T>
| 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).
|
void inject(T value) throws InjectionException
value - the valueInjectionException - if the injection failedvoid uninject()
inject()
has been called.Copyright © 2016 JBoss by Red Hat. All rights reserved.