ServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.@Deprecated public final class ClassOfValue<T> extends Object implements Value<Class<? extends T>>
Class
object of another value.Constructor and Description |
---|
ClassOfValue(Value<? extends T> value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends T> |
getValue()
Deprecated.
Get the actual dependency value.
|
public Class<? extends T> getValue() throws IllegalStateException
Value
getValue
in interface Value<Class<? extends T>>
Class
of the value, or null
if value.getValue() is null
.IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.Copyright © 2021 JBoss by Red Hat. All rights reserved.