JBoss Modular Service Kernel API 1.0.0.Beta1

org.jboss.msc.value
Class PropertyValue<T>

java.lang.Object
  extended by org.jboss.msc.value.PropertyValue<T>
All Implemented Interfaces:
Value<T>

public final class PropertyValue<T>
extends Object
implements Value<T>

Author:
David M. Lloyd

Constructor Summary
PropertyValue(Value<Property> propertyValue, Value<?> target)
           
 
Method Summary
 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

PropertyValue

public PropertyValue(Value<Property> propertyValue,
                     Value<?> target)
Method Detail

getValue

public T getValue()
           throws IllegalStateException
Description copied from interface: Value
Get the actual value.

Specified by:
getValue in interface Value<T>
Returns:
the actual value
Throws:
IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.

JBoss Modular Service Kernel API 1.0.0.Beta1

Copyright © 2010 JBoss, a division of Red Hat, Inc.