KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > config > ModuleLogLevelsConfig


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 package com.sun.appserv.management.config;
24
25 import java.util.Map JavaDoc;
26
27 import com.sun.appserv.management.base.XTypes;
28
29
30
31 /**
32      Configuration for the <module-log-levels> element.
33      
34      Values are those defined in {@link LogLevelValues}.
35 */

36
37 public interface ModuleLogLevelsConfig extends PropertiesAccess, ConfigElement
38 {
39 /** The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}. */
40     public static final String JavaDoc J2EE_TYPE = XTypes.MODULE_LOG_LEVELS_CONFIG;
41
42
43     /**
44         Get a Map keyed by Attribute name of all log levels.
45         Attribute names correspond to the various get methods eg
46         "Admin" for {@link #getAdmin}, "CMP" for {@link #getCMP}, etc.
47         <p>
48         The possible levels are as defined in {@link LogLevelValues}.
49      */

50     public Map JavaDoc<String JavaDoc,String JavaDoc> getAllLevels();
51     
52     
53     /**
54         Change all log levels to the specified value.
55         
56         @param value one of the values in {@link LogLevelValues}
57      */

58     public void changeAll( final String JavaDoc value );
59     
60     /**
61         @since AppServer 9.0
62      */

63     public String JavaDoc getNodeAgent();
64     /**
65         @since AppServer 9.0
66      */

67     public void setNodeAgent( String JavaDoc level );
68     
69     /**
70         @since AppServer 9.0
71      */

72     public String JavaDoc getUtil();
73     /**
74         @since AppServer 9.0
75      */

76     public void setUtil( String JavaDoc level );
77     
78     /**
79         @since AppServer 9.0
80      */

81     public String JavaDoc getSelfManagement();
82     /**
83         @since AppServer 9.0
84      */

85     public void setSelfManagement( String JavaDoc level );
86     
87     /**
88         @since AppServer 9.0
89      */

90     public String JavaDoc getSynchronization();
91     /**
92         @since AppServer 9.0
93      */

94     public void setSynchronization( String JavaDoc level );
95     
96     /**
97         @since AppServer 9.0
98      */

99     public String JavaDoc getGroupManagementService();
100     /**
101         @since AppServer 9.0
102      */

103     public void setGroupManagementService( String JavaDoc level );
104     
105     
106     /**
107         @since AppServer 9.0
108      */

109     public String JavaDoc getManagementEvent();
110     /**
111         @since AppServer 9.0
112      */

113     public void setManagementEvent( String JavaDoc level );
114     
115     
116     public String JavaDoc getAdmin();
117     /** @param value any value defined in {@link LogLevelValues} */
118     public void setAdmin( String JavaDoc value );
119
120     public String JavaDoc getClassloader();
121     /** @param value any value defined in {@link LogLevelValues} */
122     public void setClassloader( String JavaDoc value );
123
124     public String JavaDoc getCMPContainer();
125     /** @param value any value defined in {@link LogLevelValues} */
126     public void setCMPContainer( String JavaDoc value );
127
128     public String JavaDoc getCMP();
129     /** @param value any value defined in {@link LogLevelValues} */
130     public void setCMP( String JavaDoc value );
131
132     public String JavaDoc getConfiguration();
133     /** @param value any value defined in {@link LogLevelValues} */
134     public void setConfiguration( String JavaDoc value );
135
136     public String JavaDoc getConnector();
137     /** @param value any value defined in {@link LogLevelValues} */
138     public void setConnector( String JavaDoc value );
139
140     public String JavaDoc getCORBA();
141     /** @param value any value defined in {@link LogLevelValues} */
142     public void setCORBA( String JavaDoc value );
143
144     public String JavaDoc getDeployment();
145     /** @param value any value defined in {@link LogLevelValues} */
146     public void setDeployment( String JavaDoc value );
147
148     public String JavaDoc getEJBContainer();
149     /** @param value any value defined in {@link LogLevelValues} */
150     public void setEJBContainer( String JavaDoc value );
151
152     public String JavaDoc getJavamail();
153     /** @param value any value defined in {@link LogLevelValues} */
154     public void setJavamail( String JavaDoc value );
155
156     public String JavaDoc getJAXR();
157     /** @param value any value defined in {@link LogLevelValues} */
158     public void setJAXR( String JavaDoc value );
159
160     public String JavaDoc getJAXRPC();
161     /** @param value any value defined in {@link LogLevelValues} */
162     public void setJAXRPC( String JavaDoc value );
163
164     public String JavaDoc getJDO();
165     /** @param value any value defined in {@link LogLevelValues} */
166     public void setJDO( String JavaDoc value );
167
168     public String JavaDoc getJMS();
169     /** @param value any value defined in {@link LogLevelValues} */
170     public void setJMS( String JavaDoc value );
171
172     public String JavaDoc getJTA();
173     /** @param value any value defined in {@link LogLevelValues} */
174     public void setJTA( String JavaDoc value );
175
176     public String JavaDoc getJTS();
177     /** @param value any value defined in {@link LogLevelValues} */
178     public void setJTS( String JavaDoc value );
179
180     public String JavaDoc getMDBContainer();
181     /** @param value any value defined in {@link LogLevelValues} */
182     public void setMDBContainer( String JavaDoc value );
183
184     public String JavaDoc getNaming();
185     /** @param value any value defined in {@link LogLevelValues} */
186     public void setNaming( String JavaDoc value );
187
188     public String JavaDoc getResourceAdapter();
189     /** @param value any value defined in {@link LogLevelValues} */
190     public void setResourceAdapter( String JavaDoc value );
191
192     public String JavaDoc getRoot();
193     /** @param value any value defined in {@link LogLevelValues} */
194     public void setRoot( String JavaDoc value );
195
196     public String JavaDoc getSAAJ();
197     /** @param value any value defined in {@link LogLevelValues} */
198     public void setSAAJ( String JavaDoc value );
199
200     public String JavaDoc getSecurity();
201     /** @param value any value defined in {@link LogLevelValues} */
202     public void setSecurity( String JavaDoc value );
203
204     public String JavaDoc getServer();
205     /** @param value any value defined in {@link LogLevelValues} */
206     public void setServer( String JavaDoc value );
207
208     public String JavaDoc getVerifier();
209     /** @param value any value defined in {@link LogLevelValues} */
210     public void setVerifier( String JavaDoc value );
211
212     public String JavaDoc getWebContainer();
213     /** @param value any value defined in {@link LogLevelValues} */
214     public void setWebContainer( String JavaDoc value );
215
216
217
218
219
220 }
221
Popular Tags