KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > mbeanapi > IConfigsMBean


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  * $Id: IConfigsMBean.java,v 1.5 2005/12/25 03:42:09 tcfujii Exp $
26  */

27
28 package com.sun.enterprise.admin.mbeanapi;
29
30 import java.util.Properties JavaDoc;
31
32
33 import javax.management.AttributeList JavaDoc;
34 import javax.management.ObjectName JavaDoc;
35 import javax.management.MBeanException JavaDoc;
36
37 import com.sun.enterprise.admin.util.InvalidJvmOptionException;
38
39
40 public interface IConfigsMBean {
41     
42     public ObjectName JavaDoc createHttpListener(AttributeList JavaDoc attrList,
43         Properties JavaDoc props,
44         String JavaDoc targetName)
45         throws MBeanException JavaDoc;
46     
47     
48     public boolean deleteHttpListener(String JavaDoc listenerId, String JavaDoc targetName)
49         throws MBeanException JavaDoc;
50     
51     public ObjectName JavaDoc[] listHttpListeners(String JavaDoc targetName)
52         throws MBeanException JavaDoc;
53     
54     public ObjectName JavaDoc createIiopListener(AttributeList JavaDoc attrList,
55         Properties JavaDoc props,
56         String JavaDoc targetName)
57         throws MBeanException JavaDoc;
58     
59     public boolean deleteIiopListener(String JavaDoc listenerId, String JavaDoc targetName)
60         throws MBeanException JavaDoc;
61     
62     public ObjectName JavaDoc[] listIiopListeners(String JavaDoc targetName)
63         throws MBeanException JavaDoc;
64     
65     public ObjectName JavaDoc createSsl(AttributeList JavaDoc al,
66         String JavaDoc id,
67         String JavaDoc type,
68         String JavaDoc targetName)
69         throws Exception JavaDoc;
70     
71     public boolean deleteSsl(String JavaDoc id, String JavaDoc type, String JavaDoc targetName)
72         throws MBeanException JavaDoc;
73     
74     public ObjectName JavaDoc createVirtualServer(AttributeList JavaDoc al,
75         Properties JavaDoc props,
76         String JavaDoc targetName)
77         throws MBeanException JavaDoc;
78
79     public boolean deleteVirtualServer(String JavaDoc id, String JavaDoc targetName)
80         throws MBeanException JavaDoc;
81     
82     public ObjectName JavaDoc[] listVirtualServers(String JavaDoc targetName)
83         throws MBeanException JavaDoc;
84     
85     
86     public ObjectName JavaDoc createAuthRealm(AttributeList JavaDoc attrs,
87         Properties JavaDoc props,
88         String JavaDoc targetName)
89         throws Exception JavaDoc;
90     
91     public boolean deleteAuthRealm(String JavaDoc name, String JavaDoc targetName)
92         throws MBeanException JavaDoc;
93     
94     public ObjectName JavaDoc[] listAuthRealms(String JavaDoc targetName)
95         throws MBeanException JavaDoc;
96     
97     public void addUser(String JavaDoc user,
98         String JavaDoc password,
99         String JavaDoc[] grps,
100         String JavaDoc realmName,
101         String JavaDoc targetName)
102         throws MBeanException JavaDoc;
103     
104     public void updateUser(String JavaDoc user,
105         String JavaDoc password,
106         String JavaDoc[] grps,
107         String JavaDoc realmName,
108         String JavaDoc targetName)
109         throws MBeanException JavaDoc;
110     
111     public void removeUser(String JavaDoc user,
112         String JavaDoc realmName,
113         String JavaDoc targetName)
114         throws MBeanException JavaDoc;
115     
116     public String JavaDoc[] getUserNames(String JavaDoc realmName, String JavaDoc targetName)
117         throws MBeanException JavaDoc;
118     
119     public String JavaDoc[] getGroupNames(String JavaDoc user,
120         String JavaDoc realmName,
121         String JavaDoc targetName)
122         throws MBeanException JavaDoc;
123         
124     public ObjectName JavaDoc createProfiler(AttributeList JavaDoc al,
125         Properties JavaDoc props,
126         String JavaDoc targetName)
127         throws MBeanException JavaDoc;
128     
129     public boolean deleteProfiler(String JavaDoc targetName)
130         throws MBeanException JavaDoc;
131     
132     public String JavaDoc[] getJvmOptions(boolean isProfiler, String JavaDoc targetName)
133         throws MBeanException JavaDoc;
134     
135     public String JavaDoc[] createJvmOptions(String JavaDoc[] options,
136         boolean isProfiler,
137         String JavaDoc targetName)
138         throws MBeanException JavaDoc, InvalidJvmOptionException;
139
140     
141     public String JavaDoc[] deleteJvmOptions(String JavaDoc[] options,
142         boolean isProfiler,
143         String JavaDoc targetName)
144         throws MBeanException JavaDoc, InvalidJvmOptionException;
145     
146     public ObjectName JavaDoc createAuditModule(AttributeList JavaDoc attrs,
147         Properties JavaDoc props,
148         String JavaDoc targetName)
149         throws MBeanException JavaDoc;
150     
151     public ObjectName JavaDoc[] listAuditModules(String JavaDoc targetName)
152         throws MBeanException JavaDoc;
153     
154     public boolean deleteAuditModule(String JavaDoc name, String JavaDoc targetName)
155         throws MBeanException JavaDoc;
156     
157     public ObjectName JavaDoc createJmsHost(AttributeList JavaDoc attrs,
158         Properties JavaDoc props,
159         String JavaDoc targetName)
160         throws MBeanException JavaDoc;
161
162     public boolean deleteJmsHost(String JavaDoc name, String JavaDoc targetName)
163         throws MBeanException JavaDoc;
164     
165     public ObjectName JavaDoc[] listJmsHosts(String JavaDoc targetName)
166         throws MBeanException JavaDoc;
167     
168     public ObjectName JavaDoc createJaccProvider(AttributeList JavaDoc attrs,
169         Properties JavaDoc props,
170         String JavaDoc targetName)
171         throws MBeanException JavaDoc;
172     
173     public boolean deleteJaccProvider(String JavaDoc name, String JavaDoc targetName)
174         throws MBeanException JavaDoc;
175     
176     public ObjectName JavaDoc[] listJaccProviders(String JavaDoc targetName)
177         throws MBeanException JavaDoc;
178     
179     public ObjectName JavaDoc createThreadPool(AttributeList JavaDoc attrs,
180         Properties JavaDoc props,
181         String JavaDoc targetName)
182         throws MBeanException JavaDoc;
183     
184     public boolean deleteThreadPool(String JavaDoc threadPoolId, String JavaDoc targetName)
185         throws MBeanException JavaDoc;
186     
187     public ObjectName JavaDoc[] listThreadPools(String JavaDoc targetName)
188         throws MBeanException JavaDoc;
189     
190     public ObjectName JavaDoc createEjbTimerService(AttributeList JavaDoc al,
191         Properties JavaDoc props,
192         String JavaDoc targetName)
193         throws MBeanException JavaDoc;
194     
195     public boolean deleteEjbTimerService(String JavaDoc targetName)
196         throws MBeanException JavaDoc;
197     
198     public ObjectName JavaDoc createSessionProperties(AttributeList JavaDoc al,
199         Properties JavaDoc props,
200         String JavaDoc targetName)
201         throws MBeanException JavaDoc;
202
203     public boolean deleteSessionProperties(String JavaDoc targetName)
204         throws MBeanException JavaDoc;
205     
206     public ObjectName JavaDoc createManagerProperties(AttributeList JavaDoc al,
207         Properties JavaDoc props,
208         String JavaDoc targetName)
209         throws MBeanException JavaDoc;
210
211     public boolean deleteManagerProperties(String JavaDoc targetName)
212         throws MBeanException JavaDoc;
213     
214     public ObjectName JavaDoc createStoreProperties(AttributeList JavaDoc al,
215             Properties JavaDoc props,
216             String JavaDoc targetName)
217             throws MBeanException JavaDoc;
218     
219     
220     public boolean deleteStoreProperties(String JavaDoc targetName)
221         throws MBeanException JavaDoc;
222     
223     public boolean deleteSessionConfig(String JavaDoc targetName)
224         throws MBeanException JavaDoc;
225     
226     public ObjectName JavaDoc getHttpService(String JavaDoc targetName)
227         throws MBeanException JavaDoc;
228     
229     public ObjectName JavaDoc getIiopService(String JavaDoc targetName)
230         throws MBeanException JavaDoc;
231     
232     public ObjectName JavaDoc getEjbContainer(String JavaDoc targetName)
233         throws MBeanException JavaDoc;
234     
235     
236     public ObjectName JavaDoc getWebContainer(String JavaDoc targetName)
237         throws MBeanException JavaDoc;
238     
239     public ObjectName JavaDoc getMdbContainer(String JavaDoc targetName)
240         throws MBeanException JavaDoc;
241     
242     public ObjectName JavaDoc getJmsService(String JavaDoc targetName)
243         throws MBeanException JavaDoc;
244     
245     public ObjectName JavaDoc getLogService(String JavaDoc targetName)
246         throws MBeanException JavaDoc;
247     
248     public ObjectName JavaDoc getSecurityService(String JavaDoc targetName)
249         throws MBeanException JavaDoc;
250     
251     public ObjectName JavaDoc getTransactionService(String JavaDoc targetName)
252         throws MBeanException JavaDoc;
253     
254     public ObjectName JavaDoc getMonitoringService(String JavaDoc targetName)
255         throws MBeanException JavaDoc;
256     
257     public ObjectName JavaDoc getJavaConfig(String JavaDoc targetName)
258         throws MBeanException JavaDoc;
259     
260     public ObjectName JavaDoc getHttpListener(String JavaDoc id, String JavaDoc targetName)
261     throws MBeanException JavaDoc;
262     
263     public ObjectName JavaDoc getVirtualServer(String JavaDoc id, String JavaDoc targetName)
264         throws MBeanException JavaDoc;
265     
266     public ObjectName JavaDoc getIiopListener(String JavaDoc id, String JavaDoc targetName)
267         throws MBeanException JavaDoc;
268     
269     public ObjectName JavaDoc getOrb(String JavaDoc targetName)
270         throws MBeanException JavaDoc;
271     
272     public ObjectName JavaDoc getJmsHost(String JavaDoc name, String JavaDoc targetName)
273         throws MBeanException JavaDoc;
274     
275     public ObjectName JavaDoc getAuthRealm(String JavaDoc name, String JavaDoc targetName)
276         throws MBeanException JavaDoc;
277     
278     public ObjectName JavaDoc getAuditModule(String JavaDoc name, String JavaDoc targetName)
279         throws MBeanException JavaDoc;
280     
281     public ObjectName JavaDoc getJaccProvider(String JavaDoc name, String JavaDoc targetName)
282         throws MBeanException JavaDoc;
283     
284     public ObjectName JavaDoc getModuleLogLevels(String JavaDoc targetName)
285         throws MBeanException JavaDoc;
286     
287     public ObjectName JavaDoc getModuleMonitoringLevels(String JavaDoc targetName)
288         throws MBeanException JavaDoc;
289     
290     public ObjectName JavaDoc getThreadPool(String JavaDoc threadPoolId, String JavaDoc targetName)
291         throws MBeanException JavaDoc;
292     
293     public ObjectName JavaDoc getEjbTimerService(String JavaDoc targetName)
294         throws MBeanException JavaDoc;
295     
296     public ObjectName JavaDoc getProfiler(String JavaDoc targetName)
297         throws MBeanException JavaDoc;
298     
299     public ObjectName JavaDoc getSsl(String JavaDoc type, String JavaDoc id, String JavaDoc targetName)
300         throws MBeanException JavaDoc;
301     
302     public ObjectName JavaDoc getSessionProperties(String JavaDoc targetName)
303         throws MBeanException JavaDoc;
304     
305     public ObjectName JavaDoc getManagerProperties(String JavaDoc targetName)
306         throws MBeanException JavaDoc;
307     
308     public ObjectName JavaDoc getStoreProperties(String JavaDoc targetName)
309         throws MBeanException JavaDoc;
310     
311     public ObjectName JavaDoc getChild(String JavaDoc type,
312         String JavaDoc[] location,
313         String JavaDoc targetName) throws MBeanException JavaDoc;
314 }
315
Popular Tags