org.pentaho.platform.web.hsqldb
Class HsqlDatabaseStarterBean
java.lang.Object
org.pentaho.platform.web.hsqldb.HsqlDatabaseStarterBean
public class HsqlDatabaseStarterBean
- extends Object
The purpose of this Java class is to startup a HSQLDB databases.
This class should not installed in production environments. This
is for samples / demoing only.
You typically will configure a ServletContext parameter in your web.xml,
named "hsqldb-databases" with a value that follows this format:
dbName@../path/to/database,@otherDbName@../path/to/other/database
HsqlDatabaseStarterBean
public HsqlDatabaseStarterBean()
start
public boolean start()
- Starts hsqldb databases.
- Returns:
- true if the server was started properly.
stop
public boolean stop()
- Stops the hsqldb databases.
- Returns:
- true if the server stopped properly.
setPort
public void setPort(int value)
getPort
public int getPort()
getDatabases
public Map<String,String> getDatabases()
setDatabases
public void setDatabases(Map<String,String> databases)
setAllowPortFailover
public void setAllowPortFailover(boolean value)
getAllowPortFailover
public boolean getAllowPortFailover()