Package org.jboss.msc.inject
Class CastingInjector<T>
- java.lang.Object
-
- org.jboss.msc.inject.CastingInjector<T>
-
-
Constructor Summary
Constructors Constructor Description CastingInjector(Injector<T> target, java.lang.Class<T> type)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinject(java.lang.Object value)Inject the given value.voiduninject()Uninject the given value (in other words, cancel or undo a previous injection).
-
-
-
Method Detail
-
inject
public void inject(java.lang.Object value) throws InjectionExceptionInject the given value.- Specified by:
injectin interfaceInjector<T>- Parameters:
value- the value- Throws:
InjectionException- if the injection failed
-
-