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 IllegalStateException, IllegalArgumentException
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.IllegalArgumentException
- when the value cannot be read due to misconfigurationCopyright © 2021 JBoss by Red Hat. All rights reserved.