KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > management > support > oldconfig > OldClusterMBean


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

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

28
29 /**
30     Generated: Thu Jun 10 14:46:04 PDT 2004
31     Generated from:
32     com.sun.appserv:type=servers,category=config
33 */

34
35 package com.sun.enterprise.management.support.oldconfig;
36
37 import java.util.List JavaDoc;
38 import java.util.Properties JavaDoc;
39 import javax.management.Attribute JavaDoc;
40 import javax.management.ObjectName JavaDoc;
41 import javax.management.AttributeList JavaDoc;
42
43 /**
44 */

45
46 public interface OldClusterMBean extends OldCreateRemoveServerRef
47 {
48        /**
49
50         */

51         public String JavaDoc getConfigRef();
52         
53        /**
54
55         */

56         public void setConfigRef( final String JavaDoc value );
57
58        /**
59
60         */

61         public String JavaDoc getName();
62         
63        /**
64
65         */

66         public void setName( final String JavaDoc value );
67
68         public void clearRuntimeStatus();
69         public ObjectName JavaDoc createApplicationRef( final AttributeList JavaDoc attribute_list );
70         public void createApplicationReference( final boolean param1, final String JavaDoc param2, final String JavaDoc param3 );
71         public ObjectName JavaDoc createResourceRef( final AttributeList JavaDoc attribute_list );
72         public void createResourceReference( final boolean param1, final String JavaDoc param2 );
73         public void createSystemProperties( final Properties JavaDoc param1 );
74         public void delete();
75         public void deleteApplicationReference( final String JavaDoc param1 );
76         public void deleteResourceReference( final String JavaDoc param1 );
77         public void deleteSystemProperty( final String JavaDoc param1 );
78         public boolean destroyConfigElement();
79         public javax.management.ObjectName JavaDoc[] getApplicationRef();
80         public ObjectName JavaDoc getApplicationRefByRef( final String JavaDoc key );
81         public String JavaDoc getDefaultAttributeValue( final String JavaDoc attributeName );
82         public AttributeList JavaDoc getProperties();
83         public Object JavaDoc getPropertyValue( final String JavaDoc propertyName );
84         public javax.management.ObjectName JavaDoc[] getResourceRef();
85         public ObjectName JavaDoc getResourceRefByRef( final String JavaDoc key );
86         public AttributeList JavaDoc getSystemProperties();
87         public Object JavaDoc getSystemPropertyValue( final String JavaDoc propertyName );
88         public boolean isStandAlone();
89         public String JavaDoc[] listApplicationReferencesAsString();
90         public javax.management.ObjectName JavaDoc[] listApplicationRefsByType( final String JavaDoc param1 );
91         public ObjectName JavaDoc listConfiguration();
92         public String JavaDoc[] listResourceReferencesAsString();
93         public javax.management.ObjectName JavaDoc[] listResourceRefsByType( final String JavaDoc param1 );
94         public javax.management.ObjectName JavaDoc[] listServerInstances();
95         public String JavaDoc[] listServerInstancesAsString( final boolean param1 );
96         public Properties JavaDoc listSystemProperties( final boolean param1 );
97         public void removeApplicationRefByRef( final String JavaDoc key );
98         public void removeResourceRefByRef( final String JavaDoc key );
99         public void setProperty( final Attribute JavaDoc nameAndValue );
100         public void setSystemProperty( final Attribute JavaDoc nameAndValue );
101         public void start();
102         public void stop();
103
104         List JavaDoc getRuntimeStatus();
105 }
Popular Tags