KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > cjdbc > common > xml > ControllerXmlTags


1 /**
2  * C-JDBC: Clustered JDBC.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Contact: c-jdbc@objectweb.org
6  *
7  * This library is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation; either version 2.1 of the License, or any later
10  * version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation,
19  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20  *
21  * Initial developer(s): Nicolas Modrzyk.
22  * Contributor(s): Emmanuel Cecchet.
23  */

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

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

41
42   /** Controller tag */
43   public static final String JavaDoc ELT_CONTROLLER = "Controller";
44   /** Controller name */
45   public static final String JavaDoc ATT_CONTROLLER_NAME = "name";
46   /** Controller rmi port */
47   public static final String JavaDoc ATT_CONTROLLER_PORT = "port";
48   /** <code>backlogSize</code> attribute in <code>Controller</code>. */
49   public static final String JavaDoc ATT_backlogSize = "backlogSize";
50   /** Controller IP address */
51   public static final String JavaDoc ATT_CONTROLLER_IP = "ipAddress";
52
53   /** Internationalization */
54   public static final String JavaDoc ELT_INTERNATIONALIZATION = "Internationalization";
55   /** Language */
56   public static final String JavaDoc ATT_LANGUAGE = "language";
57
58   /** Report Tag */
59   public static final String JavaDoc ELT_REPORT = "Report";
60   /** Enabled */
61   public static final String JavaDoc ATT_REPORT_ENABLED = "enabled";
62   /** Hide data */
63   public static final String JavaDoc ATT_REPORT_HIDE_SENSITIVE_DATA = "hideSensitiveData";
64   /** Generate on shutdown */
65   public static final String JavaDoc ATT_REPORT_GENERATE_ON_SHUTDOWN = "generateOnShutdown";
66   /** Generate on fatal */
67   public static final String JavaDoc ATT_REPORT_GENERATE_ON_FATAL = "generateOnFatal";
68   /** Enable file loggin */
69   public static final String JavaDoc ATT_REPORT_ENABLE_FILE_LOGGING = "enableFileLogging";
70   /** Report Location */
71   public static final String JavaDoc ATT_REPORT_REPORT_LOCATION = "reportLocation";
72   /** Delete on shutdown */
73   public static final String JavaDoc ATT_REPORT_DELETE_ON_SHUTDOWN = "deleteOnShutdown";
74
75   /** Virtual Database tag */
76   public static final String JavaDoc ELT_VIRTUAL_DATABASE = "VirtualDatabase";
77   /** Virtual Database name */
78   public static final String JavaDoc ATT_VIRTUAL_DATABASE_NAME = "virtualDatabaseName";
79   /** Config file attribute */
80   public static final String JavaDoc ATT_VIRTUAL_DATABASE_FILE = "configFile";
81   /** auto-enable backend attribute */
82   public static final String JavaDoc ATT_VIRTUAL_DATABASE_AUTO_ENABLE = "autoEnableBackends";
83   /** checkpoint when autoEnable is set to force */
84   public static final String JavaDoc ATT_VIRTUAL_DATABASE_CHECKPOINT = "checkpointName";
85   /** True value for restoring backend */
86   public static final String JavaDoc VAL_true = "true";
87   /** False value for restoring backend */
88   public static final String JavaDoc VAL_false = "false";
89   /** Force value for restoring backend */
90   public static final String JavaDoc VAL_force = "force";
91
92   /** Jmx Settings tag */
93   public static final String JavaDoc ELT_JMX = "JmxSettings";
94   /** Jmx enable attribute */
95   public static final String JavaDoc ATT_JMX_ENABLE = "enabled";
96   /** http Jmx adaptor */
97   public static final String JavaDoc ELT_HTTP_JMX_ADAPTOR = "HttpJmxAdaptor";
98   /** Rmi Jmx adaptor */
99   public static final String JavaDoc ELT_RMI_JMX_ADAPTOR = "RmiJmxAdaptor";
100   /** Port of the adaptor */
101   public static final String JavaDoc ATT_JMX_ADAPTOR_PORT = "port";
102   /** username of the adaptor */
103   public static final String JavaDoc ATT_JMX_CONNECTOR_USERNAME = "username";
104   /** password of the adaptor */
105   public static final String JavaDoc ATT_JMX_CONNECTOR_PASSWORD = "password";
106
107   /** ssl configuration */
108   public static final String JavaDoc ELT_SSL = "SSL";
109   /** kestore file */
110   public static final String JavaDoc ATT_SSL_KEYSTORE = "keyStore";
111   /** keystore password */
112   public static final String JavaDoc ATT_SSL_KEYSTORE_PASSWORD = "keyStorePassword";
113   /** key password */
114   public static final String JavaDoc ATT_SSL_KEYSTORE_KEYPASSWORD = "keyStoreKeyPassword";
115   /** need client authentication */
116   public static final String JavaDoc ATT_SSL_NEED_CLIENT_AUTH = "isClientAuthNeeded";
117   /** truststore file */
118   public static final String JavaDoc ATT_SSL_TRUSTSTORE = "trustStore";
119   /** truststore password */
120   public static final String JavaDoc ATT_SSL_TRUSTSTORE_PASSWORD = "trustStorePassword";
121
122   /** Security tag */
123   public static final String JavaDoc ELT_SECURITY = "SecuritySettings";
124   /** Default Accept Connect */
125   public static final String JavaDoc ATT_DEFAULT_CONNECT = "defaultConnect";
126
127   /** jar tag */
128   public static final String JavaDoc ELT_JAR = "jar";
129   /** allow driver attribute */
130   public static final String JavaDoc ATT_JAR_ALLOW_DRIVER = "allowAdditionalDriver";
131
132   /** Shutdown configuration */
133   public static final String JavaDoc ELT_SHUTDOWN = "Shutdown";
134   /** should we backup */
135   public static final String JavaDoc ATT_BACKUP_ON_SHUDOWN = "backupOnShutdown";
136   /** Configuration for the client shutdown */
137   public static final String JavaDoc ELT_CLIENT = "Client";
138   /** Allow attribute */
139   public static final String JavaDoc ATT_ALLOW = "allow";
140   /** limit to localhost */
141   public static final String JavaDoc ATT_ONLY_LOCALHOST = "onlyLocalhost";
142   /** Configuration for the console shutdown */
143   public static final String JavaDoc ELT_CONSOLE = "Console";
144   /** accept attribute */
145   public static final String JavaDoc ELT_ACCEPT = "Accept";
146   /** block attribute */
147   public static final String JavaDoc ELT_BLOCK = "Block";
148   /** ipaddress attribute */
149   public static final String JavaDoc ELT_IPADDRESS = "IpAddress";
150   /** iprange attribute */
151   public static final String JavaDoc ELT_IPRANGE = "IpRange";
152   /** Hostname */
153   public static final String JavaDoc ELT_HOSTNAME = "Hostname";
154   /** Value */
155   public static final String JavaDoc ATT_VALUE = "value";
156 }
157
Popular Tags