macaw.persistenceLayer.production
Class SetupCurationDatabase
java.lang.Object
macaw.persistenceLayer.production.SetupCurationDatabase
public class SetupCurationDatabase
- extends java.lang.Object
A convenience class that can be used to create all the database tables used by
the production services.
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetupCurationDatabase
public SetupCurationDatabase(SessionProperties sessionProperties)
main
public static final void main(java.lang.String[] arguments)
setup
public void setup()
throws MacawException
- Throws:
MacawException
databaseExists
public boolean databaseExists()
throws MacawException
- Throws:
MacawException
dropDatabase
public void dropDatabase()
throws MacawException
- Throws:
MacawException
setStartUpPropertiesFileName
public void setStartUpPropertiesFileName(java.lang.String startupPropertiesFileName)
run
public void run()