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 FieldValue<T> extends java.lang.Object implements Value<T>
| Constructor and Description |
|---|
FieldValue(java.lang.reflect.Field field,
Value<?> targetValue)
Deprecated.
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Deprecated.
Get the actual dependency value.
|
public FieldValue(java.lang.reflect.Field field,
Value<?> targetValue)
field - the field to accesstargetValue - the target object containing the fieldpublic T getValue() throws java.lang.IllegalStateException
Copyright © 2012 JBoss, a division of Red Hat, Inc.