T
- referenced dependency value typeServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.@Deprecated
public interface Value<T>
getValue()
method instead.
Implementations of this interface are thread safe.
Modifier and Type | Method and Description |
---|---|
T |
getValue()
Deprecated.
Get the actual dependency value.
|
T getValue() throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
java.lang.IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.java.lang.IllegalArgumentException
- when the value cannot be read due to misconfigurationCopyright © 2012 JBoss, a division of Red Hat, Inc.