org.jboss.system.metadata
Class ServiceTextValueMetaData

java.lang.Object
  extended by org.jboss.system.metadata.AbstractMetaDataVisitorNode
      extended by org.jboss.system.metadata.ServiceTextValueMetaData
All Implemented Interfaces:
Serializable, ServiceMetaDataVisitorNode, ServiceValueMetaData

public class ServiceTextValueMetaData
extends AbstractMetaDataVisitorNode
implements ServiceValueMetaData, Serializable

ServiceTextValueMetaData. This class is based on the old ServiceConfigurator

Version:
$Revision: 85945 $
Author:
Marc Fleury, Hiram Chirino, David Jencks, Jason Dillon, Dimitris Andreadis, Adrian Brock
See Also:
Serialized Form

Constructor Summary
ServiceTextValueMetaData(String text)
          Create a new ServiceTextValueMetaData.
 
Method Summary
 String getText()
          Get the text.
 Object getValue(ServiceValueContext valueContext)
          Get the value
 void setText(String text)
          Set the text.
 
Methods inherited from class org.jboss.system.metadata.AbstractMetaDataVisitorNode
addChildren, getChildren, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.metadata.ServiceMetaDataVisitorNode
getChildren, visit
 

Constructor Detail

ServiceTextValueMetaData

public ServiceTextValueMetaData(String text)
Create a new ServiceTextValueMetaData.

Parameters:
text - the text
Method Detail

getText

public String getText()
Get the text.

Returns:
the text.

setText

public void setText(String text)
Set the text.

Parameters:
text - the text.

getValue

public Object getValue(ServiceValueContext valueContext)
                throws Exception
Description copied from interface: ServiceValueMetaData
Get the value

Specified by:
getValue in interface ServiceValueMetaData
Parameters:
valueContext - the value context
Returns:
the value
Throws:
Exception


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.