KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > j2ee > J2EEDomain


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  * $Header: /cvs/glassfish/admin-core/mbeanapi/src/java/com/sun/appserv/management/j2ee/J2EEDomain.java,v 1.6 2005/12/25 03:50:42 tcfujii Exp $
26  * $Revision: 1.6 $
27  * $Date: 2005/12/25 03:50:42 $
28  */

29  
30 package com.sun.appserv.management.j2ee;
31
32 import java.util.Map JavaDoc;
33
34 import com.sun.appserv.management.base.AMX;
35 import com.sun.appserv.management.base.Container;
36
37 /**
38     The discovery and navigation of all managed objects in the J2EE
39     management system begins with the J2EEDomain.
40
41     @see J2EEServer
42     @see J2EECluster
43     @see J2EEApplication
44     @see JVM
45     @see AppClientModule
46     @see EJBModule
47     @see WebModule
48     @see ResourceAdapterModule
49     @see EntityBean
50     @see StatefulSessionBean
51     @see StatelessSessionBean
52     @see MessageDrivenBean
53     @see Servlet
54     @see JavaMailResource
55     @see JCAResource
56     @see JCAConnectionFactory
57     @see JCAManagedConnectionFactory
58     @see JDBCResource
59     @see JDBCDataSource
60     @see JDBCDriver
61     @see JMSResource
62     @see JNDIResource
63     @see JTAResource
64     @see RMIIIOPResource
65     @see URLResource
66  */

67 public interface J2EEDomain
68     extends J2EEManagedObject,ConfigProvider, Container
69 {
70     public final static String JavaDoc J2EE_TYPE = J2EETypes.J2EE_DOMAIN;
71     
72     /**
73         Note that the Attribute name is case-sensitive
74         "servers" as defined by JSR 77.
75         
76         @return the ObjectNames of the J2EEServers, as Strings
77      */

78     public String JavaDoc[] getservers();
79
80
81     /**
82         @return a Map keyed by server name of J2EEServer
83         @deprecated used {@link #getJ2EEServerMap}
84      */

85     public Map JavaDoc<String JavaDoc,J2EEServer> getServerMap();
86     
87
88     /**
89         @return a Map keyed by server name of J2EEServer
90      */

91     public Map JavaDoc<String JavaDoc,J2EEServer> getJ2EEServerMap();
92     
93     /**
94         @return the ObjectNames of the J2EEClusters, as Strings
95         @deprecated use {@link #getJ2EEClusterMap}
96      */

97     public String JavaDoc[] getclusters();
98     
99      /**
100        @return a Map keyed by cluster name of J2EECluster
101        @deprecated use {@link #getJ2EEClusterMap}
102     */

103    public Map JavaDoc<String JavaDoc,J2EECluster> getClusterMap();
104    
105      /**
106        @return a Map keyed by cluster name of J2EECluster
107     */

108    public Map JavaDoc<String JavaDoc,J2EECluster> getJ2EEClusterMap();
109 }
110
111
112
113
114
115
116
117
118
119
Popular Tags