KickJava   Java API By Example, From Geeks To Geeks.

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


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/OldConfig.java,v 1.2 2005/12/25 03:40:57 tcfujii Exp $
31  * $Revision: 1.2 $
32  * $Date: 2005/12/25 03:40:57 $
33  */

34
35 package com.sun.enterprise.management.support.oldconfig;
36
37 import java.util.Properties JavaDoc;
38 import javax.management.Attribute JavaDoc;
39 import javax.management.ObjectName JavaDoc;
40 import javax.management.AttributeList JavaDoc;
41
42
43 public interface OldConfig
44 {
45     public boolean getDynamicReconfigurationEnabled();
46     public void setDynamicReconfigurationEnabled( final boolean value );
47
48     public String JavaDoc getName();
49     public void setName( final String JavaDoc value );
50
51     public ObjectName JavaDoc copy( final String JavaDoc param1, final Properties JavaDoc param2 );
52     public ObjectName JavaDoc createAdminService( final AttributeList JavaDoc attribute_list );
53     public ObjectName JavaDoc createAlertService( final AttributeList JavaDoc attribute_list );
54     public ObjectName JavaDoc createAvailabilityService( final AttributeList JavaDoc attribute_list );
55     public ObjectName JavaDoc createConnectorService( final AttributeList JavaDoc attribute_list );
56     public ObjectName JavaDoc createDiagnosticService( final AttributeList JavaDoc attribute_list );
57     public ObjectName JavaDoc createEjbContainer( final AttributeList JavaDoc attribute_list );
58     public ObjectName JavaDoc createGroupManagementService( final AttributeList JavaDoc attribute_list );
59     public ObjectName JavaDoc createHttpService( final AttributeList JavaDoc attribute_list );
60     public ObjectName JavaDoc createIiopService( final AttributeList JavaDoc attribute_list );
61     public ObjectName JavaDoc createJavaConfig( final AttributeList JavaDoc attribute_list );
62     public ObjectName JavaDoc createJmsService( final AttributeList JavaDoc attribute_list );
63     public ObjectName JavaDoc createLogService( final AttributeList JavaDoc attribute_list );
64     public ObjectName JavaDoc createManagementRules( final AttributeList JavaDoc attribute_list );
65     public ObjectName JavaDoc createMdbContainer( final AttributeList JavaDoc attribute_list );
66     public ObjectName JavaDoc createMonitoringService( final AttributeList JavaDoc attribute_list );
67     public ObjectName JavaDoc createSecurityService( final AttributeList JavaDoc attribute_list );
68     public void createSystemProperties( final Properties JavaDoc param1 );
69     public ObjectName JavaDoc createThreadPools( final AttributeList JavaDoc attribute_list );
70     public ObjectName JavaDoc createTransactionService( final AttributeList JavaDoc attribute_list );
71     public ObjectName JavaDoc createWebContainer( final AttributeList JavaDoc attribute_list );
72     public void delete();
73     public void deleteSystemProperty( final String JavaDoc param1 );
74     public boolean destroyConfigElement();
75     public ObjectName JavaDoc getAdminService();
76     public ObjectName JavaDoc getAlertService();
77     public ObjectName JavaDoc getAvailabilityService();
78     public ObjectName JavaDoc getConnectorService();
79     public String JavaDoc getDefaultAttributeValue( final String JavaDoc attributeName );
80     public ObjectName JavaDoc getDiagnosticService();
81     public ObjectName JavaDoc getEjbContainer();
82     public ObjectName JavaDoc getGroupManagementService();
83     public ObjectName JavaDoc getHttpService();
84     public ObjectName JavaDoc getIiopService();
85     public ObjectName JavaDoc getJavaConfig();
86     public ObjectName JavaDoc getJmsService();
87     public ObjectName JavaDoc getLogService();
88     public ObjectName JavaDoc getManagementRules();
89     public ObjectName JavaDoc getMdbContainer();
90     public ObjectName JavaDoc getMonitoringService();
91     public AttributeList JavaDoc getProperties();
92     public Object JavaDoc getPropertyValue( final String JavaDoc propertyName );
93     public ObjectName JavaDoc getSecurityService();
94     public AttributeList JavaDoc getSystemProperties();
95     public Object JavaDoc getSystemPropertyValue( final String JavaDoc propertyName );
96     public ObjectName JavaDoc getThreadPools();
97     public ObjectName JavaDoc getTransactionService();
98     public ObjectName JavaDoc getWebContainer();
99     public boolean isReferencedByAnyCluster();
100     public boolean isReferencedByDAS();
101     public javax.management.ObjectName JavaDoc[] listReferencees();
102     public Properties JavaDoc listSystemProperties( final boolean param1 );
103     public void removeAdminService();
104     public void removeAlertService();
105     public void removeAvailabilityService();
106     public void removeConnectorService();
107     public void removeDiagnosticService();
108     public void removeEjbContainer();
109     public void removeGroupManagementService();
110     public void removeHttpService();
111     public void removeIiopService();
112     public void removeJavaConfig();
113     public void removeJmsService();
114     public void removeLogService();
115     public void removeManagementRules();
116     public void removeMdbContainer();
117     public void removeMonitoringService();
118     public void removeSecurityService();
119     public void removeThreadPools();
120     public void removeTransactionService();
121     public void removeWebContainer();
122     public void setProperty( final Attribute JavaDoc nameAndValue );
123     public void setSystemProperty( final Attribute JavaDoc nameAndValue );
124 }
Popular Tags