KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > common > constant > ConfigAttributeName


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  * ConfigAttributeName.java
26  *
27  * Created on November 20, 2001, 9:43 AM
28  */

29
30 package com.sun.enterprise.admin.common.constant;
31
32 /**
33  *
34  * @author sirajg
35  * @version
36  */

37
38 public interface ConfigAttributeName
39 {
40    public final String JavaDoc PROPERTY_NAME_PREFIX = "property.";
41     interface Server
42     {
43         final String JavaDoc kName = "name";
44 // final String kLocale = "locale";
45
final String JavaDoc kLogRoot = "logRoot";
46         final String JavaDoc kSessionStore = "sessionStore";
47         final String JavaDoc kApplicationRoot = "applicationRoot";
48         //the following attrs are from application sub element
49
final String JavaDoc kAppDynamicReloadEnabled = "appDynamicReloadEnabled";
50         final String JavaDoc kAppReloadPollInterval = "appReloadPollInterval";
51     }
52
53     interface EjbContainer
54     {
55         final String JavaDoc kMinBeansInPool = "steadyPoolSize";
56         final String JavaDoc kBeanIncrementCount = "poolResizeQuantity";
57         final String JavaDoc kMaxPoolSize = "maxPoolSize";
58         final String JavaDoc kCacheResizeQuantity = "cacheResizeQuantity";
59         final String JavaDoc kMaxBeansInCache = "maxCacheSize";
60         final String JavaDoc kIdleInPoolTimeoutInSeconds = "idleInPoolTimeoutInSeconds";
61         final String JavaDoc kIdleInCacheTimeoutInSeconds = "idleInCacheTimeoutInSeconds";
62         final String JavaDoc kRemovalTimeoutInSeconds = "removalTimeoutInSeconds";
63         final String JavaDoc kVictimSelectionAlgorithm = "victimSelectionPolicy";
64         final String JavaDoc kCommitOption = "commitOption";
65         final String JavaDoc kLogLevel = "logLevel";
66         final String JavaDoc kMonitoringEnabled = "monitoringEnabled";
67     }
68
69     interface WebContainer
70     {
71         final String JavaDoc kLogLevel = "logLevel";
72         final String JavaDoc kMonitoringEnabled = "monitoringEnabled";
73     }
74
75 /* interface EJB
76     {
77     final String kMinBeansInPool = "minBeansInPool";
78     final String kMaxBeansInPool = "maxBeansInPool";
79     final String kBeanIdleTimeInSec = "beanIdleTimeInSeconds";
80     }
81
82     interface EntityBean extends EJB
83     {
84     final String kVictimSelectionAlgorithm = "victimSelectionAlgorithm";
85     final String kCommitOption = "commitOption";
86     }
87
88     interface ReadOnlyEntityBean extends EntityBean
89     {
90     final String kIsReadOnly = "isReadOnly";
91     final String kRefreshPeriodicity = "refreshPeriodicityInSeconds";
92     }
93
94     interface SessionBean extends EJB
95     {
96     final String kInitialBeansInPool = "initialBeansInPool";
97     }
98
99     interface StatelessSessionBean extends SessionBean
100     {
101     }
102
103     interface StatefulSessionBean extends SessionBean
104     {
105          final String kVictimSelectionAlgorithm = "victimSelectionAlgorithm";
106     }
107 */

108     interface JNDI //external JNDI resource
109
{
110        final String JavaDoc kJndiName = "name";
111        final String JavaDoc kJndiLookupName = "LookupName";
112        final String JavaDoc kResType = "resType";
113        final String JavaDoc kFactoryClass = "factory";
114        final String JavaDoc kEnabled = "enabled";
115        final String JavaDoc kDescription = "description";
116     }
117
118     interface CUSTOM_RESOURCE
119     {
120        final String JavaDoc kJndiName = "name";
121        final String JavaDoc kResType = "resType";
122        final String JavaDoc kFactoryClass = "factory";
123        final String JavaDoc kEnabled = "enabled";
124        final String JavaDoc kDescription = "description";
125     }
126     interface ExternalJndiResource extends JNDI
127     {
128     }
129     
130     interface CustomResource extends CUSTOM_RESOURCE
131     {
132     }
133
134 /* interface JCA
135     {
136     }
137 */

138     interface StartupClass //???
139
{
140         final String JavaDoc kName = "name";
141         final String JavaDoc kClass = "class";
142         final String JavaDoc kInitParamName = "initParamName";
143         final String JavaDoc kInitParamValue = "initParamValue";
144     }
145
146     interface OrbComponent
147     {
148         final String JavaDoc kMessageFragmentSize = "msgSize";
149         final String JavaDoc kMinThreads = "steadyThreadPoolSize";
150         final String JavaDoc kMaxThreads = "maxThreadPoolSize";
151         final String JavaDoc kMaxConnections = "maxConnections";
152         final String JavaDoc kThreadIdleTimeoutInSeconds = "idleThreadTimeout";
153         final String JavaDoc kLogLevel = "log";
154         final String JavaDoc kMonitoringEnabled = "monitor";
155     }
156
157     interface ORBListener
158     {
159         final String JavaDoc kId = "id";
160         final String JavaDoc kAddress = "address";
161         final String JavaDoc kPort = "port";
162         final String JavaDoc kEnabled = "enabled";
163         //----- SSL --------
164
//(Ssl attibutes will be appended here by merging with Ssl Interface - see Ssl interface in this file)
165
}
166
167     interface TransactionService
168     {
169         final String JavaDoc kAutomaticTransactionRecovery = "automaticTransactionRecovery";
170         final String JavaDoc kTransactionRecoveryTimeout = "transactionTimeout";
171         final String JavaDoc kTransactionLogDir = "transactionLogFile";
172         final String JavaDoc kHeuristicDecision = "heuristicDecision";
173         final String JavaDoc kKeypointInterval = "keypointInterval";
174         final String JavaDoc kLogLevel = "logLevel";
175         final String JavaDoc kMonitoringEnabled = "monitoringEnabled";
176         }
177
178     interface LogService
179     {
180         final String JavaDoc kLogFile = "file";
181         final String JavaDoc kLogLevel = "level";
182         final String JavaDoc kLogStdout = "stdout";
183         final String JavaDoc kLogStderr = "stderr";
184         final String JavaDoc kEchoLogToStderr = "echoToStderr";
185         final String JavaDoc kCreateConsole = "createConsole";
186         final String JavaDoc kLogVirtualServerId = "LogVirtualServerId";
187         final String JavaDoc kUseSystemLogging = "useSystemLogging";
188     }
189
190     interface MdbContainer
191     {
192         final String JavaDoc kMinBeansInPool = "steadyPoolSize";
193         final String JavaDoc kBeanIncrementCount = "poolResizeQuantity";
194         final String JavaDoc kMaxPoolSize = "maxPoolSize";
195         final String JavaDoc kIdleInPoolTimeoutInSeconds = "idleInPoolTimeoutInSeconds";
196         final String JavaDoc kLogLevel = "logLevel";
197         final String JavaDoc kMonitoringEnabled = "monitoringEnabled";
198     }
199
200
201     interface JmsService
202     {
203         final String JavaDoc kPort = "port";
204         final String JavaDoc kAdminUsername = "adminUserName";
205         final String JavaDoc kAdminPassword = "adminPassword";
206         final String JavaDoc kInitTimeout = "initTimeoutInSeconds";
207         final String JavaDoc kStartArgs = "startArgs";
208         final String JavaDoc kLogLevel = "logLevel";
209         final String JavaDoc kEnabled = "enabled";
210     }
211
212     interface JDBCResource
213     {
214         final String JavaDoc kJndiName = "name";
215         final String JavaDoc kPoolName = "pool";
216         final String JavaDoc kEnabled = "enabled";
217         final String JavaDoc kDescription = "description";
218     }
219
220     interface JDBCConnectionPool
221     {
222         final String JavaDoc kId = "name";
223         final String JavaDoc kDatasourceClassName = "dsClassName";
224         final String JavaDoc kResType = "resType";
225         final String JavaDoc kMinConnectionsInPool = "steadyPoolSize";
226         final String JavaDoc kMaxConnectionsInPool = "maxPoolSize";
227         final String JavaDoc kMaxConnectionsWaitTime = "maxWaitTime";
228         final String JavaDoc kConnectionsIncrement = "resizeValue";
229         final String JavaDoc kConnectionIdleTimeout = "idleTimeout";
230         final String JavaDoc kTransactionIsolationLevel = "transactionIsolationLevel";
231         final String JavaDoc kIsIsolationLevelGuaranteed = "isIsolationLevelGuaranteed";
232         final String JavaDoc kIsConnectionValidationRequired= "isValidationRequired";
233         final String JavaDoc kConnectionValidation = "validationMethod";
234         final String JavaDoc kValidationTableName = "validationTable";
235         final String JavaDoc kFailAllConnections = "failAll";
236         final String JavaDoc kDescription = "description";
237
238    }
239
240     interface JavaConfig
241     {
242        final String JavaDoc kJavaHome = "javahome";
243        final String JavaDoc kDebugEnabled = "debugEnabled";
244        final String JavaDoc kDebugOptions = "debugOptions";
245        final String JavaDoc kRmicOptions = "rmicoptions";
246        final String JavaDoc kJavacOptions = "javacOptions";
247        final String JavaDoc kClasspathPrefix = "classpathprefix";
248        final String JavaDoc kServerClasspath = "serverClasspath";
249        final String JavaDoc kClasspathSuffix = "classpathsuffix";
250        final String JavaDoc kNativeLibraryPathPrefix = "libpathprefix";
251        final String JavaDoc kNativeLibraryPathSuffix = "libpathsuffix";
252        final String JavaDoc kEnvClasspathIgnored = "envpathignore";
253     }
254
255     interface Profiler
256     {
257        final String JavaDoc kName = "name";
258        final String JavaDoc kClasspath = "classpath";
259        final String JavaDoc kNativeLibraryPath = "nativeLibraryPath";
260        final String JavaDoc kEnabled = "enabled";
261     }
262     interface MailResource
263     {
264         final String JavaDoc kJndiName = "name";
265         final String JavaDoc kEnabled = "enabled";
266         final String JavaDoc kStoreProtocol = "storeProtocol";
267         final String JavaDoc kStoreProtocolClass = "storeProtocolClass";
268         final String JavaDoc kTransportProtocol = "transportProtocol";
269         final String JavaDoc kTransportProtocolClass = "transportProtocolClass";
270         final String JavaDoc kHost = "host";
271         final String JavaDoc kUser = "user";
272         final String JavaDoc kFrom = "from";
273         final String JavaDoc kDebug = "debug";
274         final String JavaDoc kDescription = "description";
275     }
276
277     interface JMSResource
278     {
279         final String JavaDoc kJndiName = "name";
280         final String JavaDoc kResType = "resType";
281         final String JavaDoc kEnabled = "enabled";
282         final String JavaDoc kDescription = "description";
283     }
284
285     interface PMFactoryResource
286     {
287         final String JavaDoc kJndiName = "jndiName";
288         final String JavaDoc kFactoryClass = "factoryClass";
289         final String JavaDoc kJdbcResourceJndiName = "JdbcResourceJndiName";
290         final String JavaDoc kEnabled = "enabled";
291         final String JavaDoc kDescription = "description";
292     }
293
294     interface HTTPService
295     {
296         final String JavaDoc kQosMetricsInterval = "qosMetricsIntervalInSeconds";
297         final String JavaDoc kQosRecomputeInterval = "qosRecomputeTimeIntervalInMillis";
298         final String JavaDoc kQosEnabled = "qosEnabled";
299         //-------- HTTPQos interface (see this file) attributes will be appended here
300
}
301     interface HTTPListener
302     {
303         final String JavaDoc kEnabled = "enabled";
304         final String JavaDoc kId = "id";
305         final String JavaDoc kAddress = "address";
306         final String JavaDoc kPort = "port";
307         final String JavaDoc kFamily = "family";
308         final String JavaDoc kAcceptorThreads = "acceptorThreads";
309         final String JavaDoc kBlockingEnabled = "blockingEnabled";
310         final String JavaDoc kSecurityEnabled = "securityEnabled";
311         final String JavaDoc kDefaultVirtualServer = "defaultVirtualServer";
312         final String JavaDoc kServerName = "serverName";
313         //----- SSL --------
314
//(Ssl attibutes will be appended here by merging with Ssl Interface - see Ssl interface in this file)
315
}
316
317     interface ConnectionGroup
318     {
319         final String JavaDoc kId = "id";
320         final String JavaDoc kAddress = "address";
321         final String JavaDoc kDefaultVirtualServer = "defaultVirtualServer";
322         final String JavaDoc kServerName = "serverName";
323         //----- SSL --------
324
//(Ssl attibutes will be appended here by merging with Ssl Interface - see Ssl interface in this file)
325
}
326
327     interface SecurityService
328     {
329         final String JavaDoc kDefaultRealm = "defaultRealm";
330         final String JavaDoc kDefaultPrincipal = "defaultPrincipal";
331         final String JavaDoc kDefaultPrincipalPassword = "defaultPrincipalPassword";
332         final String JavaDoc kAnonymousRole = "anonymousRole";
333         final String JavaDoc kAuditEnabled = "auditEnabled";
334         final String JavaDoc kLogLevel = "logLevel";
335     }
336
337    interface J2EEApplication
338     {
339         final String JavaDoc kName = "name";
340         final String JavaDoc kLocation = "location";
341         final String JavaDoc kVirtualServers = "virtualServers";
342         final String JavaDoc kEnabled = "enabled";
343         final String JavaDoc kDescription = "description";
344     }
345    interface StandaloneWebModule
346     {
347         final String JavaDoc kName = "name";
348         final String JavaDoc kContextRoot = "contextRoot";
349         final String JavaDoc kLocation = "location";
350         final String JavaDoc kVirtualServers = "virtualServers";
351         final String JavaDoc kEnabled = "enabled";
352         final String JavaDoc kDescription = "description";
353     }
354    interface StandaloneEjbJarModule
355     {
356         final String JavaDoc kName = "name";
357         final String JavaDoc kLocation = "location";
358         final String JavaDoc kEnabled = "enabled";
359         final String JavaDoc kDescription = "description";
360     }
361    interface StandaloneConnectorModule
362     {
363         final String JavaDoc kName = "name";
364         final String JavaDoc kLocation = "location";
365         final String JavaDoc kEnabled = "enabled";
366         final String JavaDoc kDescription = "description";
367     }
368     interface Mime
369     {
370         final String JavaDoc kId = "id";
371         final String JavaDoc kFile = "file";
372     }
373     interface Acl
374     {
375         final String JavaDoc kId = "id";
376         final String JavaDoc kFile = "file";
377     }
378     interface AuthDb
379     {
380         final String JavaDoc kId = "id";
381         final String JavaDoc kDataBase = "database";
382         final String JavaDoc kBaseDN = "basedn";
383         final String JavaDoc kCertMaps = "certmaps";
384     }
385     interface AuthRealm
386     {
387         final String JavaDoc kName = "name";
388         final String JavaDoc kClassName = "classname";
389     }
390     interface VirtualServerClass
391     {
392         final String JavaDoc kId = "id";
393         final String JavaDoc kConfigFile = "configFile";
394         final String JavaDoc kDefaultObject = "defaultObject";
395         final String JavaDoc kAcceptLanguage = "acceptLanguage";
396         final String JavaDoc kEnabled = "enabled";
397         //-------- HTTPQos interface (see this file) attributes will be appended here
398
}
399     interface VirtualServer
400     {
401         final String JavaDoc kId = "id";
402         final String JavaDoc kHttpListeners = "httpListeners";
403         final String JavaDoc kDefaultWebModule = "defaultWebModule";
404         final String JavaDoc kConfigFile = "configFile";
405         final String JavaDoc kDefaultObject = "defaultObject";
406         final String JavaDoc kHosts = "hosts";
407         final String JavaDoc kMime = "mime";
408         final String JavaDoc kState = "state";
409         final String JavaDoc kAcls = "acls";
410         final String JavaDoc kAcceptLanguage = "accepotLanguage";
411         final String JavaDoc kLogFile = "logFile";
412         // properties - pseudoattributes
413
/* final String kPropDir = "property.dir";
414         final String kPropNice = "property.nice";
415         final String kPropUser = "property.user";
416         final String kPropGroup = "property.group";
417         final String kPropChRoot = "property.chroot";
418         final String kPropDocRoot = "property.docroot";
419         final String kPropAccessLog = "property.accesslog";
420 */

421  //-------- HTTPQos interface (see this file) attributes will be appended here
422
}
423
424     interface HTTPQos
425     {
426         final String JavaDoc kBandwidthLimit = "bandwidthLimit";
427         final String JavaDoc kEnforceBandwidthLimit = "enforceBandwidthLimit";
428         final String JavaDoc kConnectionLimit = "connectionLimit";
429         final String JavaDoc kEnforceConnectionLimit = "enforceConnectionLimit";
430     }
431
432     interface Ssl
433     {
434         final String JavaDoc kCertNickname = "cert";
435         final String JavaDoc kSsl2Enabled = "ssl2";
436         final String JavaDoc kSsl2Ciphers = "ssl2Ciphers";
437         final String JavaDoc kSsl3Enabled = "ssl3";
438         final String JavaDoc kSsl3TlsCiphers = "ssl3Ciphers";
439         final String JavaDoc kTlsEnabled = "tls";
440         final String JavaDoc kTlsRollbackEnabled = "tlsRollback";
441         final String JavaDoc kClientAuthEnabled = "clientAuth";
442     }
443
444     interface LifecycleModule
445     {
446         final String JavaDoc kName = "name";
447         final String JavaDoc kEnabled = "enabled";
448         final String JavaDoc kClassName = "className";
449         final String JavaDoc kClasspath = "classPath";
450         final String JavaDoc kLoadOrder = "loadOrder";
451         final String JavaDoc kIsFailureFatal = "isFailureFatal";
452         final String JavaDoc kDescription = "description";
453     }
454
455
456 }
457
Popular Tags