Constructor and Description |
---|
CastingInjector(Injector<T> target,
Class<T> type)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
inject(Object value)
Inject the given value.
|
void |
uninject()
Uninject the given value (in other words, cancel or undo a previous injection).
|
public void inject(Object value) throws InjectionException
inject
in interface Injector<Object>
value
- the valueInjectionException
- if the injection failedCopyright © 2017 JBoss by Red Hat. All rights reserved.