JBoss Modular Service Kernel API 1.0.2.GA
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
- java.lang.Object
-
- org.jboss.msc.inject.Injectors
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
static <T> Injector<java.lang.Object> |
cast(Injector<T> injector,
java.lang.Class<T> type)
Construct a casting injector.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
cast
public static <T> Injector<java.lang.Object> cast(Injector<T> injector,
java.lang.Class<T> type)
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>
JBoss Modular Service Kernel API 1.0.2.GA
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2011 JBoss, a division of Red Hat, Inc.