createDatabase
public void createDatabase(String filename,
String user,
String password)
throws Exception
dropDatabase
public void dropDatabase(String fileName,
String user,
String password)
throws Exception
getFileName
public String getFileName()
getName
public String getName()
getPassword
public String getPassword()
mbean get-set pair for field password
Get the value of password
getPort
public int getPort()
getServer
public String getServer()
getState
public String getState()
getUserName
public String getUserName()
mbean get-set pair for field userName
Get the value of userName
isCreateOnStart
public boolean isCreateOnStart()
mbean get-set pair for field createOnStart
Get the value of createOnStart
isDatabaseExists
public boolean isDatabaseExists(String fileName,
String user,
String password)
throws Exception
isDropOnStop
public boolean isDropOnStop()
mbean get-set pair for field dropOnStop
Get the value of dropOnStop
isForceCreate
public boolean isForceCreate()
setCreateOnStart
public void setCreateOnStart(boolean createOnStart)
Set the value of createOnStart
createOnStart
- Value to assign to createOnStart
setDropOnStop
public void setDropOnStop(boolean dropOnStop)
Set the value of dropOnStop
dropOnStop
- Value to assign to dropOnStop
setFileName
public void setFileName(String fileName)
Set the value of fileName
fileName
- Value to assign to fileName
setForceCreate
public void setForceCreate(boolean forceCreate)
setPassword
public void setPassword(String password)
Set the value of password
password
- Value to assign to password
setPort
public void setPort(int port)
setServer
public void setServer(String host)
setUserName
public void setUserName(String userName)
Set the value of userName
userName
- Value to assign to userName
start
public void start()
throws Exception
stop
public void stop()
throws Exception