org.opensolaris.opengrok.management
Class JMXConfiguration

java.lang.Object
  extended by org.opensolaris.opengrok.management.JMXConfiguration
All Implemented Interfaces:
JMXConfigurationMBean

public class JMXConfiguration
extends java.lang.Object
implements JMXConfigurationMBean


Constructor Summary
JMXConfiguration()
           
 
Method Summary
 java.lang.String getConfiguration()
          Get the current OpenGrok configuration object
 void setConfiguration(java.lang.String config)
          Deploy a new configuration for OpenGrok
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXConfiguration

public JMXConfiguration()
Method Detail

getConfiguration

public java.lang.String getConfiguration()
Description copied from interface: JMXConfigurationMBean
Get the current OpenGrok configuration object

Specified by:
getConfiguration in interface JMXConfigurationMBean
Returns:
String XML representation of the opengrok configuration

setConfiguration

public void setConfiguration(java.lang.String config)
                      throws java.io.IOException
Description copied from interface: JMXConfigurationMBean
Deploy a new configuration for OpenGrok

Specified by:
setConfiguration in interface JMXConfigurationMBean
Parameters:
config - String the configuration object in xml to set
Throws:
java.io.IOException