com.ail.core.configure
Class ConfigurationReset
java.lang.Object
com.ail.core.configure.ConfigurationReset
public class ConfigurationReset
- extends java.lang.Object
Name
com.ail.core.configure.ConfigurationReset - Utility to reset a list of named configurations.
Synopsis
com.ail.core.configure.ConfigurationReset [namespace1 namespace2 ... namespaceN]
Description
By default (without any namespace arguments) this utility will reset the com.ail.core.Core and
com.ail.core.CoreProxy namespaces. Any further namespaces specified on the command line will
also be reset.
The details of the database to which the reset configurations should be written are specified in the form
defined by AbstractConfigurationLoader. Generally,
this takes the form of a collection of -D's on the command line.
Example
To reset only the default namespaces in a MySQL database using the JDBC configuration loader, you would
execute the following:
$java -Dcom.ail.core.configure.loader=com.ail.core.configure.JDBCConfigurationLoader \
-Dcom.ail.core.configure.loaderParam.driver=org.gjt.mm.mysql.Driver \
-Dcom.ail.core.configure.loaderParam.url=jdbc:mysql://localhost:3306/core_2_0 \
-Dcom.ail.core.configure.loaderParam.user=root \
-Dcom.ail.core.configure.loaderParam.password=bombay2000 \
-Dcom.ail.core.configure.loaderParam.table=config \
-Dcom.ail.core.configure.loaderParam.databaseName=core_2_0 \
com.ail.core.configure.ConfigurationReset
- Version:
- 1.0
- Author:
- randerson
|
Method Summary |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationReset
public ConfigurationReset()
main
public static void main(java.lang.String[] args)