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 DefaultValue<T> extends java.lang.Object implements Value<T>
null
, a default value will be returned in its place.Constructor and Description |
---|
DefaultValue(Value<T> value,
Value<? extends T> defaultValue)
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.