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 ConstructedValue<T> extends java.lang.Object implements Value<T>
getValue()
will create a new instance,
so if the same instance should be returned, this should be used in conjunction with CachedValue
.Constructor and Description |
---|
ConstructedValue(java.lang.reflect.Constructor<T> constructor,
java.util.List<? extends Value<?>> parameters)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
getValue()
Deprecated.
Get the actual dependency value.
|
public T getValue() throws java.lang.IllegalStateException
Copyright © 2012 JBoss, a division of Red Hat, Inc.