org.ow2.jonas.lib.reconfig
Class PropertiesConfigurationData

java.lang.Object
  extended by org.ow2.jonas.lib.reconfig.PropertiesConfigurationData
All Implemented Interfaces:
IConfigurationData

public class PropertiesConfigurationData
extends Object
implements IConfigurationData

Author:
Adriana Danes

Constructor Summary
PropertiesConfigurationData(String propName, String propValue)
          Replace a given property with the given value.
PropertiesConfigurationData(String propName, String propValue, boolean replace)
           
 
Method Summary
 boolean addProp()
           
 String getPropName()
           
 Properties getProps()
           
 String getPropValue()
           
 boolean replaceProp()
           
 void setAdd(boolean add)
           
 void setProps(Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesConfigurationData

public PropertiesConfigurationData(String propName,
                                   String propValue,
                                   boolean replace)

PropertiesConfigurationData

public PropertiesConfigurationData(String propName,
                                   String propValue)
Replace a given property with the given value.

Parameters:
propName - Property name
propValue - New property value
Method Detail

getPropName

public String getPropName()

getPropValue

public String getPropValue()

setProps

public void setProps(Properties props)

getProps

public Properties getProps()

replaceProp

public boolean replaceProp()

setAdd

public void setAdd(boolean add)

addProp

public boolean addProp()


Copyright © 2010 OW2 Consortium. All Rights Reserved.