JBoss Modular Service Kernel API 1.0.0.Beta1

org.jboss.msc.value
Class LookupPropertyValue

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

public final class LookupPropertyValue
extends Object
implements Value<Property>

Author:
David M. Lloyd

Constructor Summary
LookupPropertyValue(Value<Class<?>> target, String propertyName)
           
 
Method Summary
 Property 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

LookupPropertyValue

public LookupPropertyValue(Value<Class<?>> target,
                           String propertyName)
Method Detail

getValue

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

Specified by:
getValue in interface Value<Property>
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.