Package org.jboss.msc.inject
Interface Injector<T>
- Type Parameters:
T- referenced writable dependency type
- All Known Implementing Classes:
InjectedValue,ManagedReferenceInjector
Deprecated.
Reference to a writable dependency.
Implementations of this interface are thread safe.
- Author:
- David M. Lloyd, Richard Opalka
-
Method Summary
-
Method Details
-
inject
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.
-
ServiceBuilder.provides(org.jboss.msc.service.ServiceName...)method instead. This class will be removed in a future release.