T - the value typeServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.@Deprecated public final class MethodValue<T> extends Object implements Value<T>
| Constructor and Description |
|---|
MethodValue(Value<Method> methodValue,
Value<?> targetValue,
List<? extends Value<?>> parameters)
Deprecated.
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Deprecated.
Get the actual dependency value.
|
public MethodValue(Value<Method> methodValue, Value<?> targetValue, List<? extends Value<?>> parameters)
methodValue - the method to invoketargetValue - the target object on which to invoke this methodparameters - the parameters to pass to the methodpublic T getValue() throws IllegalStateException
getValue in interface Value<T>IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.Copyright © 2019 JBoss by Red Hat. All rights reserved.