JMXConfigurationMBean.java revision 639
1149N/A/*
1149N/A * CDDL HEADER START
1149N/A *
1149N/A * The contents of this file are subject to the terms of the
1149N/A * Common Development and Distribution License (the "License").
1149N/A * You may not use this file except in compliance with the License.
1149N/A *
1149N/A * See LICENSE.txt included in this distribution for the specific
1149N/A * language governing permissions and limitations under the License.
1149N/A *
1149N/A * When distributing Covered Code, include this CDDL HEADER in each
1149N/A * file and include the License file at LICENSE.txt.
1149N/A * If applicable, add the following below this CDDL HEADER, with the
1149N/A * fields enclosed by brackets "[]" replaced with your own identifying
1149N/A * information: Portions Copyright [yyyy] [name of copyright owner]
1149N/A *
1149N/A * CDDL HEADER END
1149N/A */
1149N/A
1149N/A/*
1149N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1149N/A * Use is subject to license terms.
1149N/A */
1149N/A
1149N/Apackage org.opensolaris.opengrok.management;
1149N/A
1149N/Aimport java.io.IOException;
1149N/A
1149N/A
1149N/A/**
1149N/A * MBean for doing settings and get on the OpenGrok RuntimeEnvironment
1149N/A *
1149N/A * @author Jan Berg
1149N/A */
1149N/Apublic interface JMXConfigurationMBean {
1149N/A
1149N/A /**
1149N/A * Get the current OpenGrok configuration object
1149N/A * @return String XML representation of the opengrok configuration
1149N/A */
1149N/A public String getConfiguration();
1149N/A
1149N/A /**
1149N/A * Deploy a new configuration for OpenGrok
1149N/A * @param config String the configuration object in xml to set
1149N/A */
1149N/A public void setConfiguration(String config) throws IOException;
1149N/A}
1149N/A