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