KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > geronimo > management > geronimo > J2EEServer


1 /**
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.geronimo.management.geronimo;
18
19 import org.apache.geronimo.management.J2EEDeployedObject;
20 import org.apache.geronimo.management.J2EEResource;
21 import org.apache.geronimo.management.AppClientModule;
22 import org.apache.geronimo.management.EJBModule;
23 import org.apache.geronimo.kernel.repository.ListableRepository;
24 import org.apache.geronimo.kernel.repository.WritableListableRepository;
25 import org.apache.geronimo.kernel.config.ConfigurationManager;
26 import org.apache.geronimo.system.serverinfo.ServerInfo;
27 import org.apache.geronimo.system.threads.ThreadPool;
28 import org.apache.geronimo.system.plugin.PluginInstaller;
29 import org.apache.geronimo.system.plugin.PluginRepositoryList;
30
31 /**
32  * Geronimo-specific extensions to the standard J2EE server management
33  * interface.
34  *
35  * @version $Rev: 476049 $ $Date: 2006-11-16 23:35:17 -0500 (Thu, 16 Nov 2006) $
36  */

37 public interface J2EEServer extends org.apache.geronimo.management.J2EEServer {
38     /**
39      * A list of all of the J2EEApplication and J2EEModule types deployed on this J2EEServer.
40      * @see "JSR77.3.3.1.1"
41      * @return the deployed objects on this server
42      */

43     J2EEDeployedObject[] getDeployedObjectInstances();
44
45     /**
46      * A list of resources available to this server.
47      * @see "JSR77.3.3.1.2"
48      * @return the resources available to this server
49      */

50     J2EEResource[] getResourceInstances();
51
52     /**
53      * A list of all Java virtual machines on which this J2EEServer has running threads.
54      * @see "JSR77.3.3.1.3"
55      * @return the JVMs for this server
56      */

57     JVM[] getJavaVMInstances();
58
59     /**
60      * Gets the Web Managers associated with this J2EEServer, or null if
61      * there are none in the current server configuration.
62      */

63     public WebManager[] getWebManagers();
64
65     /**
66      * Gets the EJB Managers associated with this J2EEServer, or null if
67      * there are none in the current server configuration.
68      */

69     public EJBManager[] getEJBManagers();
70
71     /**
72      * Gets the JMS Managers associated with this J2EEServer, or null if
73      * there are none in the current server configuration.
74      */

75     public JMSManager[] getJMSManagers();
76
77     /**
78      * Gets the thread pools associated with this J2EEServer.
79      */

80     public ThreadPool[] getThreadPools();
81
82     /**
83      * Gets the Repositories associated with this J2EEServer.
84      */

85     public ListableRepository[] getRepositories();
86
87     /**
88      * Gets the writable repositories associated with this J2EEServer.
89      */

90     public WritableListableRepository[] getWritableRepositories();
91
92     /**
93      * Gets the SecurityRealms associated with this J2EEServer.
94      */

95     public SecurityRealm[] getSecurityRealms();
96
97     /**
98      * Gets the ServerInfo associated with this J2EEServer.
99      */

100     public ServerInfo getServerInfo();
101
102     /**
103      * Gets the LoginService associated with this J2EEServer.
104      */

105     public LoginService getLoginService();
106
107     /**
108      * Gets the KeystoreManager associated with this J2EEServer.
109      */

110     public KeystoreManager getKeystoreManager();
111
112     /**
113      * Gets the lists of plugin repositories available in this server.
114      */

115     public PluginRepositoryList[] getPluginRepositoryLists();
116
117     /**
118      * Gets the PluginInstaller associated with this J2EEServer.
119      */

120     public PluginInstaller getPluginInstaller();
121
122     /**
123      * Gets the ConfigurationManager associated with this J2EEServer.
124      */

125     public ConfigurationManager getConfigurationManager();
126
127     /**
128      * Gets the applications currently running in this J2EEServer.
129      */

130     J2EEApplication[] getApplications();
131
132     /**
133      * Gets the application clients currently running in this J2EEServer.
134      */

135     AppClientModule[] getAppClients();
136
137     /**
138      * Gets the web modules currently running in this J2EEServer.
139      */

140     WebModule[] getWebModules();
141
142     /**
143      * Gets the EJB modules currently running in this J2EEServer.
144      */

145     EJBModule[] getEJBModules();
146
147     /**
148      * Gets the J2EE Connector modules currently running in this J2EEServer.
149      */

150     ResourceAdapterModule[] getResourceAdapterModules();
151 }
152
Popular Tags