|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.value.MethodValue<T>
T - the value typepublic final class MethodValue<T>
A value which is produced by invoking a method.
| Constructor Summary | |
|---|---|
MethodValue(Value<java.lang.reflect.Method> methodValue,
Value<?> targetValue,
java.util.List<? extends Value<?>> parameters)
Construct a new instance. |
|
| Method Summary | |
|---|---|
T |
getValue()
Get the actual value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodValue(Value<java.lang.reflect.Method> methodValue,
Value<?> targetValue,
java.util.List<? extends Value<?>> parameters)
methodValue - the method to invoketargetValue - the target object on which to invoke this methodparameters - the parameters to pass to the method| Method Detail |
|---|
public T getValue()
throws java.lang.IllegalStateException
getValue in interface Value<T>java.lang.IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.
|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||