org.jconfig.jmx
Class ConfigHandler

java.lang.Object
  extended byorg.jconfig.jmx.ConfigHandler
All Implemented Interfaces:
ConfigHandlerMBean

public class ConfigHandler
extends java.lang.Object
implements ConfigHandlerMBean

Author:
mecky

Constructor Summary
ConfigHandler()
          Constructor for the ConfigHandler object
 
Method Summary
 void forceReload()
          Description of the Method
 java.lang.String getConfigurationName()
          Gets the configurationName attribute of the ConfigHandler object
 java.lang.String getName()
          Gets the name attribute of the ConfigHandler object
 java.lang.String getResourceName()
          Gets the fileName attribute of the ConfigHandler object
 void removeProperty(java.lang.String name, java.lang.String category)
           
 void saveConfiguration()
           
 void setConfigurationName(java.lang.String configName)
          Sets the configurationName attribute of the ConfigHandler object
 void setProperty(java.lang.String name, java.lang.String value, java.lang.String category)
           
 void setResourceName(java.lang.String resourceName)
          Sets the fileName attribute of the ConfigHandler object
 java.lang.String showConfiguration()
           
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigHandler

public ConfigHandler()
Constructor for the ConfigHandler object

Method Detail

getConfigurationName

public java.lang.String getConfigurationName()
Gets the configurationName attribute of the ConfigHandler object

Specified by:
getConfigurationName in interface ConfigHandlerMBean
Returns:
The configurationName value

getResourceName

public java.lang.String getResourceName()
Gets the fileName attribute of the ConfigHandler object

Specified by:
getResourceName in interface ConfigHandlerMBean
Returns:
The fileName value

setConfigurationName

public void setConfigurationName(java.lang.String configName)
Sets the configurationName attribute of the ConfigHandler object

Specified by:
setConfigurationName in interface ConfigHandlerMBean
Parameters:
configName - The new configurationName value

setResourceName

public void setResourceName(java.lang.String resourceName)
Sets the fileName attribute of the ConfigHandler object

Specified by:
setResourceName in interface ConfigHandlerMBean

toString

public java.lang.String toString()
Description of the Method

Returns:
Description of the Return Value

forceReload

public void forceReload()
Description of the Method

Specified by:
forceReload in interface ConfigHandlerMBean

getName

public java.lang.String getName()
Gets the name attribute of the ConfigHandler object

Returns:
The name value

showConfiguration

public java.lang.String showConfiguration()
Specified by:
showConfiguration in interface ConfigHandlerMBean

removeProperty

public void removeProperty(java.lang.String name,
                           java.lang.String category)
Specified by:
removeProperty in interface ConfigHandlerMBean

saveConfiguration

public void saveConfiguration()
                       throws java.lang.Exception
Specified by:
saveConfiguration in interface ConfigHandlerMBean
Throws:
java.lang.Exception

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value,
                        java.lang.String category)
Specified by:
setProperty in interface ConfigHandlerMBean


Copyright © 2001-2005 Andreas Mecky, Terry Dye. All Rights Reserved.