|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.jdbc.HypersonicDatabase
Integration with Hypersonic SQL (c).
Starts 1.7.1 Hypersonic database in-VM.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.jdbc.HypersonicDatabaseMBean |
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
HypersonicDatabase()
Costructor, empty. |
Method Summary | |
String |
getDatabase()
Get the database name. |
String |
getDatabaseManagerClass()
|
String |
getDatabasePath()
Get the full database path. |
boolean |
getNo_system_exit()
Get the no_system_exit flag. |
String |
getPassword()
|
boolean |
getPersist()
Deprecated. use inProcessMode . |
int |
getPort()
Get the port for remote hypersonic. |
String |
getServerClass()
|
String |
getShutdownCommand()
|
boolean |
getSilent()
Get silent flag. |
boolean |
getTrace()
Get trace flag. |
String |
getUser()
|
boolean |
isInProcessMode()
|
void |
setDatabase(String name)
Set the database name. |
void |
setDatabaseManagerClass(String databaseManagerClass)
Set the database manager (UI) class. |
void |
setInProcessMode(boolean b)
If true the hypersonic is in process mode otherwise hypersonic is in server or remote mode. |
void |
setNo_system_exit(boolean no_system_exit)
If true the server thread for remote hypersonic does no call System.exit() . |
void |
setPassword(String password)
|
void |
setPersist(boolean persist)
Deprecated. use inProcessMode . |
void |
setPort(int port)
Set the port for remote hypersonic. |
void |
setServerClass(String serverClass)
Set the server class for remote hypersonic. |
void |
setShutdownCommand(String string)
|
void |
setSilent(boolean silent)
Set silent flag. |
void |
setTrace(boolean trace)
Set trace flag. |
void |
setUser(String user)
|
void |
startDatabaseManager()
Start of DatabaseManager accesible from the management console. |
protected void |
startService()
|
protected void |
stopService()
We now close the connection clean by calling the serverSocket throught jdbc. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Constructor Detail |
public HypersonicDatabase()
Method Detail |
public void setDatabase(String name)
setDatabase
in interface HypersonicDatabaseMBean
public String getDatabase()
getDatabase
in interface HypersonicDatabaseMBean
public void setPort(int port)
setPort
in interface HypersonicDatabaseMBean
public int getPort()
getPort
in interface HypersonicDatabaseMBean
public void setSilent(boolean silent)
setSilent
in interface HypersonicDatabaseMBean
public boolean getSilent()
getSilent
in interface HypersonicDatabaseMBean
public void setTrace(boolean trace)
setTrace
in interface HypersonicDatabaseMBean
public boolean getTrace()
getTrace
in interface HypersonicDatabaseMBean
public void setNo_system_exit(boolean no_system_exit)
System.exit()
.
setNo_system_exit
in interface HypersonicDatabaseMBean
public boolean getNo_system_exit()
no_system_exit
flag.
getNo_system_exit
in interface HypersonicDatabaseMBean
public void setPersist(boolean persist)
inProcessMode
.
setPersist
in interface HypersonicDatabaseMBean
public boolean getPersist()
inProcessMode
.
getPersist
in interface HypersonicDatabaseMBean
public String getDatabasePath()
getDatabasePath
in interface HypersonicDatabaseMBean
public boolean isInProcessMode()
isInProcessMode
in interface HypersonicDatabaseMBean
inProcessMode
flag.public String getShutdownCommand()
getShutdownCommand
in interface HypersonicDatabaseMBean
public void setInProcessMode(boolean b)
setInProcessMode
in interface HypersonicDatabaseMBean
b
- in process mode or remote mode.public void setShutdownCommand(String string)
setShutdownCommand
in interface HypersonicDatabaseMBean
string
- the shutdown commandpublic String getPassword()
getPassword
in interface HypersonicDatabaseMBean
public String getUser()
getUser
in interface HypersonicDatabaseMBean
public void setPassword(String password)
setPassword
in interface HypersonicDatabaseMBean
password
- public void setUser(String user)
setUser
in interface HypersonicDatabaseMBean
user
- public String getDatabaseManagerClass()
getDatabaseManagerClass
in interface HypersonicDatabaseMBean
public void setDatabaseManagerClass(String databaseManagerClass)
setDatabaseManagerClass
in interface HypersonicDatabaseMBean
databaseManagerClass
- public String getServerClass()
public void setServerClass(String serverClass)
serverClass
- public void startDatabaseManager()
startDatabaseManager
in interface HypersonicDatabaseMBean
protected void startService() throws Exception
Exception
protected void stopService() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |