Package org.jboss.msc.inject
Interface Injector<T>
-
- Type Parameters:
T- referenced writable dependency type
- All Known Implementing Classes:
InjectedValue
@Deprecated public interface Injector<T>
Deprecated.UseServiceBuilder.provides(org.jboss.msc.service.ServiceName...)method instead. This class will be removed in a future release.Reference to a writable dependency.Implementations of this interface are thread safe.
- Author:
- David M. Lloyd, Richard Opalka
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidinject(T value)Deprecated.Inject the given value.voiduninject()Deprecated.Uninject the given value (in other words, cancel or undo a previous injection).
-
-
-
Method Detail
-
inject
void inject(T value) throws InjectionException
Deprecated.Inject the given value.- Parameters:
value- the value- Throws:
InjectionException- if the injection failed
-
uninject
void uninject()
Deprecated.Uninject the given value (in other words, cancel or undo a previous injection). Only called afterinject()has been called.
-
-