public class DataSourceIInitialModule extends InitialModule
| Modifier and Type | Field and Description |
|---|---|
protected String |
importFile
Represents the path of the XML file to import.
|
| Constructor and Description |
|---|
DataSourceIInitialModule() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
check()
Check if file exists.
|
String |
getImportFile() |
protected boolean |
install()
Install this module
|
protected boolean |
installOrUpgrade(boolean upgrade) |
void |
setImportFile(String importFile) |
protected boolean |
upgrade(long currentVersion)
Upgrade from given version
|
doTheInstall, doTheUpgrade, getName, getVersion, isInstallTransactional, setInstallTransactional, setName, setVersionprotected String importFile
public String getImportFile()
public void setImportFile(String importFile)
protected boolean install()
InitialModuleinstall in class InitialModuleprotected boolean upgrade(long currentVersion)
InitialModuleupgrade in class InitialModuleprotected boolean installOrUpgrade(boolean upgrade)
protected boolean check()
Copyright © 2012–2015 JBoss by Red Hat. All rights reserved.