org.jboss.dashboard.initialModule
Class DataSourceIInitialModule
java.lang.Object
org.jboss.dashboard.initialModule.InitialModule
org.jboss.dashboard.initialModule.DataSourceIInitialModule
public class DataSourceIInitialModule
- extends InitialModule
DataSource initial module class. It makes possible to install datasources at start-up.
|
Field Summary |
protected String |
importFile
Represents the path of the XML file to import. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
importFile
protected String importFile
- Represents the path of the XML file to import. A relative path to the application directory.
DataSourceIInitialModule
public DataSourceIInitialModule()
getImportFile
public String getImportFile()
setImportFile
public void setImportFile(String importFile)
install
protected boolean install()
- Description copied from class:
InitialModule
- Install this module
- Specified by:
install in class InitialModule
- Returns:
- true on success
upgrade
protected boolean upgrade(long currentVersion)
- Description copied from class:
InitialModule
- Upgrade from given version
- Specified by:
upgrade in class InitialModule
- Returns:
- true on success
installOrUpgrade
protected boolean installOrUpgrade(boolean upgrade)
check
protected boolean check()
- Check if file exists.
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.