/*
 * The contents of this file are subject to the terms 
 * of the Common Development and Distribution License 
 * (the License).  You may not use this file except in
 * compliance with the License.
 * 
 * You can obtain a copy of the license at 
 * https://glassfish.dev.java.net/public/CDDLv1.0.html or
 * glassfish/bootstrap/legal/CDDLv1.0.txt.
 * See the License for the specific language governing 
 * permissions and limitations under the License.
 * 
 * When distributing Covered Code, include this CDDL 
 * Header Notice in each file and include the License file 
 * at glassfish/bootstrap/legal/CDDLv1.0.txt.  
 * If applicable, add the following below the CDDL Header, 
 * with the fields enclosed by brackets [] replaced by
 * you own identifying information: 
 * "Portions Copyrighted [year] [name of copyright owner]"
 * 
 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
 */

/*
 * Copyright 2004-2005 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

/**
	Generated: Thu Jun 10 14:46:04 PDT 2004
	Generated from:
	com.sun.appserv:type=servers,category=config
*/

package com.sun.enterprise.management.support.oldconfig;

import java.util.List;
import java.util.Properties;
import javax.management.Attribute;
import javax.management.ObjectName;
import javax.management.AttributeList;

/**
*/

public interface OldClusterMBean extends OldCreateRemoveServerRef
{
       /**

        */
        public String   getConfigRef();
        
       /**

        */
        public void     setConfigRef( final String value );

       /**

        */
        public String   getName();
        
       /**

        */
        public void     setName( final String value );

        public void     clearRuntimeStatus();
        public ObjectName       createApplicationRef( final AttributeList attribute_list );
        public void     createApplicationReference( final boolean param1, final String param2, final String param3 );
        public ObjectName       createResourceRef( final AttributeList attribute_list );
        public void     createResourceReference( final boolean param1, final String param2 );
        public void     createSystemProperties( final Properties param1 );
        public void     delete();
        public void     deleteApplicationReference( final String param1 );
        public void     deleteResourceReference( final String param1 );
        public void     deleteSystemProperty( final String param1 );
        public boolean  destroyConfigElement();
        public javax.management.ObjectName[]    getApplicationRef();
        public ObjectName       getApplicationRefByRef( final String key );
        public String   getDefaultAttributeValue( final String attributeName );
        public AttributeList    getProperties();
        public Object   getPropertyValue( final String propertyName );
        public javax.management.ObjectName[]    getResourceRef();
        public ObjectName       getResourceRefByRef( final String key );
        public AttributeList    getSystemProperties();
        public Object   getSystemPropertyValue( final String propertyName );
        public boolean  isStandAlone();
        public String[] listApplicationReferencesAsString();
        public javax.management.ObjectName[]    listApplicationRefsByType( final String param1 );
        public ObjectName       listConfiguration();
        public String[] listResourceReferencesAsString();
        public javax.management.ObjectName[]    listResourceRefsByType( final String param1 );
        public javax.management.ObjectName[]    listServerInstances();
        public String[] listServerInstancesAsString( final boolean param1 );
        public Properties       listSystemProperties( final boolean param1 );
        public void     removeApplicationRefByRef( final String key );
        public void     removeResourceRefByRef( final String key );
        public void     setProperty( final Attribute nameAndValue );
        public void     setSystemProperty( final Attribute nameAndValue );
        public void     start();
        public void     stop();

		List			getRuntimeStatus();
}