|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.msc.value.ClassOfValue<T>
public final class ClassOfValue<T>
A value which returns the Class
object of another value.
Constructor Summary | |
---|---|
ClassOfValue(Value<? extends T> value)
|
Method Summary | |
---|---|
java.lang.Class<? extends T> |
getValue()
Get the actual value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassOfValue(Value<? extends T> value)
Method Detail |
---|
public java.lang.Class<? extends T> getValue() throws java.lang.IllegalStateException
Value
getValue
in interface Value<java.lang.Class<? extends T>>
Class
of the value, or null
if value.getValue() is null
.
java.lang.IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.
|
JBoss Modular Service Kernel API 1.0.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |