Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

ControllerXmlTags.java

00001 /**
00002  * C-JDBC: Clustered JDBC.
00003  * Copyright (C) 2002-2004 French National Institute For Research In Computer
00004  * Science And Control (INRIA).
00005  * Contact: c-jdbc@objectweb.org
00006  * 
00007  * This library is free software; you can redistribute it and/or modify it
00008  * under the terms of the GNU Lesser General Public License as published by the
00009  * Free Software Foundation; either version 2.1 of the License, or any later
00010  * version.
00011  * 
00012  * This library is distributed in the hope that it will be useful, but WITHOUT
00013  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
00015  * for more details.
00016  * 
00017  * You should have received a copy of the GNU Lesser General Public License
00018  * along with this library; if not, write to the Free Software Foundation,
00019  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
00020  *
00021  * Initial developer(s): Nicolas Modrzyk.
00022  * Contributor(s): Emmanuel Cecchet.
00023  */
00024 
00025 package org.objectweb.cjdbc.common.xml;
00026 
00027 /**
00028  * List of the xml tags recognized to read and write the controller
00029  * configuration with.
00030  * 
00031  * @author <a href="mailto:Nicolas.Modrzyk@inrialpes.fr">Nicolas Modrzyk </a>
00032  * @author <a href="mailto:Emmanuel.Cecchet@inria.fr">Emmanuel Cecchet </a>
00033  * @version 1.0
00034  */
00035 
00036 public interface ControllerXmlTags
00037 {
00038   /**
00039    * XML Tag and attributes to work with on the DTD and the xml file
00040    */
00041   /** Controller tag */
00042   String ELT_CONTROLLER                   = "Controller";
00043   /** Controller name */
00044   String ATT_CONTROLLER_NAME              = "name";
00045   /** Controller rmi port */
00046   String ATT_CONTROLLER_PORT              = "port";
00047   /** <code>backlogSize</code> attribute in <code>Controller</code>. */
00048   String ATT_backlogSize                  = "backlogSize";
00049   /** Controller IP address */
00050   String ATT_CONTROLLER_IP                = "ipAddress";
00051 
00052   /** Internationalization */
00053   String ELT_INTERNATIONALIZATION         = "Internationalization";
00054   /** Language */
00055   String ATT_LANGUAGE                     = "language";
00056 
00057   /** Report Tag */
00058   String ELT_REPORT                       = "Report";
00059   /** Enabled */
00060   String ATT_REPORT_ENABLED               = "enabled";
00061   /** Hide data */
00062   String ATT_REPORT_HIDE_SENSITIVE_DATA   = "hideSensitiveData";
00063   /** Generate on shutdown */
00064   String ATT_REPORT_GENERATE_ON_SHUTDOWN  = "generateOnShutdown";
00065   /** Generate on fatal */
00066   String ATT_REPORT_GENERATE_ON_FATAL     = "generateOnFatal";
00067   /** Enable file loggin */
00068   String ATT_REPORT_ENABLE_FILE_LOGGING   = "enableFileLogging";
00069   /** Report Location */
00070   String ATT_REPORT_REPORT_LOCATION       = "reportLocation";
00071   /** Delete on shutdown */
00072   String ATT_REPORT_DELETE_ON_SHUTDOWN    = "deleteOnShutdown";
00073 
00074   /** Virtual Database tag */
00075   String ELT_VIRTUAL_DATABASE             = "VirtualDatabase";
00076   /** Virtual Database name */
00077   String ATT_VIRTUAL_DATABASE_NAME        = "virtualDatabaseName";
00078   /** Config file attribute */
00079   String ATT_VIRTUAL_DATABASE_FILE        = "configFile";
00080   /** auto-enable backend attribute */
00081   String ATT_VIRTUAL_DATABASE_AUTO_ENABLE = "autoEnableBackends";
00082   /** checkpoint when autoEnable is set to force */
00083   String ATT_VIRTUAL_DATABASE_CHECKPOINT  = "checkpointName";
00084   /** True value for restoring backend */
00085   String VAL_true                         = "true";
00086   /** False value for restoring backend */
00087   String VAL_false                        = "false";
00088   /** Force value for restoring backend */
00089   String VAL_force                        = "force";
00090 
00091   /** Jmx Settings tag */
00092   String ELT_JMX                          = "JmxSettings";
00093   /** Jmx enable attribute */
00094   String ATT_JMX_ENABLE                   = "enabled";
00095   /** http Jmx adaptor */
00096   String ELT_HTTP_JMX_ADAPTOR             = "HttpJmxAdaptor";
00097   /** Rmi Jmx adaptor */
00098   String ELT_RMI_JMX_ADAPTOR              = "RmiJmxAdaptor";
00099   /** Port of the adaptor */
00100   String ATT_JMX_ADAPTOR_PORT             = "port";
00101   /** username of the adaptor */
00102   String ATT_JMX_CONNECTOR_USERNAME       = "username";
00103   /** password of the adaptor */
00104   String ATT_JMX_CONNECTOR_PASSWORD       = "password";
00105 
00106   /** ssl configuration */
00107   String ELT_SSL                          = "SSL";
00108   /** kestore file */
00109   String ATT_SSL_KEYSTORE                 = "keyStore";
00110   /** keystore password */
00111   String ATT_SSL_KEYSTORE_PASSWORD        = "keyStorePassword";
00112   /** key password */
00113   String ATT_SSL_KEYSTORE_KEYPASSWORD     = "keyStoreKeyPassword";
00114   /** need client authentication */
00115   String ATT_SSL_NEED_CLIENT_AUTH         = "isClientAuthNeeded";
00116   /** truststore file */
00117   String ATT_SSL_TRUSTSTORE               = "trustStore";
00118   /** truststore password */
00119   String ATT_SSL_TRUSTSTORE_PASSWORD      = "trustStorePassword";
00120 
00121   /** Security tag */
00122   String ELT_SECURITY                     = "SecuritySettings";
00123   /** Default Accept Connect */
00124   String ATT_DEFAULT_CONNECT              = "defaultConnect";
00125 
00126   /** jar tag */
00127   String ELT_JAR                          = "jar";
00128   /** allow driver attribute */
00129   String ATT_JAR_ALLOW_DRIVER             = "allowAdditionalDriver";
00130 
00131   /** Shutdown configuration */
00132   String ELT_SHUTDOWN                     = "Shutdown";
00133   /** should we backup */
00134   String ATT_BACKUP_ON_SHUDOWN            = "backupOnShutdown";
00135   /** Configuration for the client shutdown */
00136   String ELT_CLIENT                       = "Client";
00137   /** Allow attribute */
00138   String ATT_ALLOW                        = "allow";
00139   /** limit to localhost */
00140   String ATT_ONLY_LOCALHOST               = "onlyLocalhost";
00141   /** Configuration for the console shutdown */
00142   String ELT_CONSOLE                      = "Console";
00143   /** accept attribute */
00144   String ELT_ACCEPT                       = "Accept";
00145   /** block attribute */
00146   String ELT_BLOCK                        = "Block";
00147   /** ipaddress attribute */
00148   String ELT_IPADDRESS                    = "IpAddress";
00149   /** iprange attribute */
00150   String ELT_IPRANGE                      = "IpRange";
00151   /** Hostname */
00152   String ELT_HOSTNAME                     = "Hostname";
00153   /** Value */
00154   String ATT_VALUE                        = "value";
00155 }

Generated on Mon Apr 11 22:01:30 2005 for C-JDBC by  doxygen 1.3.9.1