KickJava   Java API By Example, From Geeks To Geeks.

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


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  * $Header: /cvs/glassfish/admin/mbeanapi-impl/src/java/com/sun/enterprise/management/support/oldconfig/OldDomainMBean.java,v 1.2 2005/12/25 03:41:00 tcfujii Exp $
31  * $Revision: 1.2 $
32  * $Date: 2005/12/25 03:41:00 $
33  */

34 package com.sun.enterprise.management.support.oldconfig;
35  
36  
37  /**
38     Generated: Wed Apr 14 23:43:29 PDT 2004
39     Generated from:
40     com.sun.appserv:type=domain,category=config
41 */

42
43 import javax.management.ObjectName JavaDoc;
44 import javax.management.AttributeList JavaDoc;
45
46 /**
47     Implementing class was: com.sun.enterprise.admin.mbeans.DomainMBean
48 */

49
50 public interface OldDomainMBean extends OldProperties
51 {
52     public String JavaDoc getApplicationRoot();
53     public void setApplicationRoot( final String JavaDoc value );
54
55     public String JavaDoc getLocale();
56     public void setLocale( final String JavaDoc value );
57
58     public String JavaDoc getLogRoot();
59     public void setLogRoot( final String JavaDoc value );
60
61     public String JavaDoc resolveTokens(String JavaDoc value, String JavaDoc instanceName) throws Exception JavaDoc;
62     
63 // -------------------- Operations --------------------
64
public ObjectName JavaDoc createApplications( final AttributeList JavaDoc attribute_list );
65     public ObjectName JavaDoc createClusters( final AttributeList JavaDoc attribute_list );
66     public ObjectName JavaDoc createConfigs( final AttributeList JavaDoc attribute_list );
67     public ObjectName JavaDoc createLbConfigurations( final AttributeList JavaDoc attribute_list );
68     public ObjectName JavaDoc createLoadbalancers( final AttributeList JavaDoc attribute_list );
69     public ObjectName JavaDoc createNodeControllers( final AttributeList JavaDoc attribute_list );
70     public ObjectName JavaDoc createResources( final AttributeList JavaDoc attribute_list );
71     public ObjectName JavaDoc createServers( final AttributeList JavaDoc attribute_list );
72     public boolean destroyConfigElement();
73     public ObjectName JavaDoc getApplications();
74     public ObjectName JavaDoc getClusters();
75     public String JavaDoc getConfigDir();
76     public ObjectName JavaDoc getConfigs();
77     public String JavaDoc getDefaultAttributeValue( final String JavaDoc attributeName );
78     public AttributeList JavaDoc getDefaultAttributeValues( final String JavaDoc param1, final String JavaDoc[] param2 );
79     public AttributeList JavaDoc getDefaultCustomProperties( final String JavaDoc param1, final AttributeList JavaDoc param2 );
80     public ObjectName JavaDoc getLbConfigurations();
81     public ObjectName JavaDoc getLoadbalancers();
82     public ObjectName JavaDoc getNodeControllers();
83     
84     
85     public ObjectName JavaDoc getResources();
86     public ObjectName JavaDoc getServers();
87     public boolean isAutoStartEnabled();
88     public boolean isAutoStartSupported();
89     public void removeApplications();
90     public void removeClusters();
91     public void removeConfigs();
92     public void removeLbConfigurations();
93     public void removeLoadbalancers();
94     public void removeNodeControllers();
95     public void removeResources();
96     public void removeServers();
97     public void setAutoStartEnabled( final boolean param1 );
98     
99
100 }
Popular Tags