KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > continuent > sequoia > common > xml > ControllerXmlTags


1 /**
2  * Sequoia: Database clustering technology.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Copyright (C) 2006 Continuent, Inc.
6  * Contact: sequoia@continuent.org
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  * Initial developer(s): Nicolas Modrzyk.
21  * Contributor(s): Emmanuel Cecchet.
22  */

23
24 package org.continuent.sequoia.common.xml;
25
26 /**
27  * List of the xml tags recognized to read and write the controller
28  * configuration with.
29  *
30  * @author <a HREF="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk </a>
31  * @author <a HREF="mailto:Emmanuel.Cecchet@inria.fr">Emmanuel Cecchet </a>
32  * @version 1.0
33  */

34
35 public final class ControllerXmlTags
36 {
37   /**
38    * XML Tag and attributes to work with on the DTD and the xml file
39    */

40
41   /** Root object element. */
42   public static final String JavaDoc ELT_SEQUOIA_CONTROLLER = "SEQUOIA-CONTROLLER";
43
44   /** Controller tag */
45   public static final String JavaDoc ELT_CONTROLLER = "Controller";
46   /** Controller name */
47   public static final String JavaDoc ATT_CONTROLLER_NAME = "name";
48   /** Controller IP address */
49   public static final String JavaDoc ATT_CONTROLLER_IP = "jdbcIpAddress";
50   /** Controller TCP port number */
51   public static final String JavaDoc ATT_CONTROLLER_PORT = "jdbcPort";
52   /** <code>backlogSize</code> attribute in <code>Controller</code>. */
53   public static final String JavaDoc ATT_BACKLOG_SIZE = "backlogSize";
54   /** Allow driver to be uploaded attribute */
55   public static final String JavaDoc ATT_ALLOW_ADDITIONAL_DRIVER = "allowAdditionalDriver";
56
57   /** Jmx Settings tag */
58   public static final String JavaDoc ELT_JMX = "JmxSettings";
59   /** RMI JMX adaptor IP address */
60   public static final String JavaDoc ATT_JMX_ADAPTOR_IP = "jmxIpAddress";
61   /** RMI JMX adaptor port number */
62   public static final String JavaDoc ATT_JMX_ADAPTOR_PORT = "jmxPort";
63   /** username of the adaptor */
64   public static final String JavaDoc ATT_JMX_CONNECTOR_USERNAME = "login";
65   /** password of the adaptor */
66   public static final String JavaDoc ATT_JMX_CONNECTOR_PASSWORD = "password";
67
68   /** SSL configuration */
69   public static final String JavaDoc ELT_SSL = "SSL";
70   /** kestore file */
71   public static final String JavaDoc ATT_SSL_KEYSTORE = "keyStore";
72   /** keystore password */
73   public static final String JavaDoc ATT_SSL_KEYSTORE_PASSWORD = "keyStorePassword";
74   /** key password */
75   public static final String JavaDoc ATT_SSL_KEYSTORE_KEYPASSWORD = "keyStoreKeyPassword";
76   /** need client authentication */
77   public static final String JavaDoc ATT_SSL_NEED_CLIENT_AUTH = "isClientAuthNeeded";
78   /** truststore file */
79   public static final String JavaDoc ATT_SSL_TRUSTSTORE = "trustStore";
80   /** truststore password */
81   public static final String JavaDoc ATT_SSL_TRUSTSTORE_PASSWORD = "trustStorePassword";
82
83   /** Virtual Database AutoLoad tag */
84   public static final String JavaDoc ELT_VIRTUAL_DATABASE = "VirtualDatabaseAutoLoad";
85   /** Config file attribute */
86   public static final String JavaDoc ATT_VIRTUAL_DATABASE_FILE = "configFile";
87   /** Virtual Database name */
88   public static final String JavaDoc ATT_VIRTUAL_DATABASE_NAME = "virtualDatabaseName";
89   /** auto-enable backend attribute */
90   public static final String JavaDoc ATT_VIRTUAL_DATABASE_AUTO_ENABLE = "autoEnableBackends";
91   /** True value for restoring backend */
92   public static final String JavaDoc VAL_true = "true";
93   /** False value for restoring backend */
94   public static final String JavaDoc VAL_false = "false";
95
96   /** Report Tag */
97   public static final String JavaDoc ELT_REPORT = "Report";
98   /** Enabled */
99   public static final String JavaDoc ATT_REPORT_ENABLED = "enabled";
100   /** Hide data */
101   public static final String JavaDoc ATT_REPORT_HIDE_SENSITIVE_DATA = "hideSensitiveData";
102   /** Generate on shutdown */
103   public static final String JavaDoc ATT_REPORT_GENERATE_ON_SHUTDOWN = "generateOnShutdown";
104   /** Generate on fatal */
105   public static final String JavaDoc ATT_REPORT_GENERATE_ON_FATAL = "generateOnFatal";
106   /** Enable file loggin */
107   public static final String JavaDoc ATT_REPORT_ENABLE_FILE_LOGGING = "enableFileLogging";
108   /** Report Location */
109   public static final String JavaDoc ATT_REPORT_REPORT_LOCATION = "reportLocation";
110   /** Delete on shutdown */
111   public static final String JavaDoc ATT_REPORT_DELETE_ON_SHUTDOWN = "deleteOnShutdown";
112
113 }
114
Popular Tags