Package org.jboss.msc.inject
Class Injectors
- java.lang.Object
-
- org.jboss.msc.inject.Injectors
-
@Deprecated public final class Injectors extends Object
Deprecated.UseServiceBuilder.provides(org.jboss.msc.service.ServiceName...)
method instead. This class will be removed in a future release.Utility class to construct injector types.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> Injector<Object>
cast(Injector<T> injector, Class<T> type)
Deprecated.Construct a casting injector.
-
-
-
Method Detail
-
cast
public static <T> Injector<Object> cast(Injector<T> injector, Class<T> type)
Deprecated.Construct a casting injector.- Type Parameters:
T
- the type of the injected value- Parameters:
injector
- an injector of any typetype
- a class of the injected type- Returns:
- an Injector which implements
Injector<Object>
-
-