|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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. |
protected javax.management.ObjectName |
getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
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, 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 HypersonicDatabaseMBeanpublic String getDatabase()
getDatabase in interface HypersonicDatabaseMBeanpublic void setPort(int port)
setPort in interface HypersonicDatabaseMBeanpublic int getPort()
getPort in interface HypersonicDatabaseMBeanpublic void setSilent(boolean silent)
setSilent in interface HypersonicDatabaseMBeanpublic boolean getSilent()
getSilent in interface HypersonicDatabaseMBeanpublic void setTrace(boolean trace)
setTrace in interface HypersonicDatabaseMBeanpublic boolean getTrace()
getTrace in interface HypersonicDatabaseMBeanpublic void setNo_system_exit(boolean no_system_exit)
System.exit().
setNo_system_exit in interface HypersonicDatabaseMBeanpublic boolean getNo_system_exit()
no_system_exit flag.
getNo_system_exit in interface HypersonicDatabaseMBeanpublic void setPersist(boolean persist)
inProcessMode.
setPersist in interface HypersonicDatabaseMBeanpublic boolean getPersist()
inProcessMode.
getPersist in interface HypersonicDatabaseMBeanpublic String getDatabasePath()
getDatabasePath in interface HypersonicDatabaseMBeanpublic boolean isInProcessMode()
isInProcessMode in interface HypersonicDatabaseMBeaninProcessMode flag.public String getShutdownCommand()
getShutdownCommand in interface HypersonicDatabaseMBeanpublic void setInProcessMode(boolean b)
setInProcessMode in interface HypersonicDatabaseMBeanb - in process mode or remote mode.public void setShutdownCommand(String string)
setShutdownCommand in interface HypersonicDatabaseMBeanstring - the shutdown commandpublic String getPassword()
getPassword in interface HypersonicDatabaseMBeanpublic String getUser()
getUser in interface HypersonicDatabaseMBeanpublic void setPassword(String password)
setPassword in interface HypersonicDatabaseMBeanpassword - public void setUser(String user)
setUser in interface HypersonicDatabaseMBeanuser - public String getDatabaseManagerClass()
getDatabaseManagerClass in interface HypersonicDatabaseMBeanpublic void setDatabaseManagerClass(String databaseManagerClass)
setDatabaseManagerClass in interface HypersonicDatabaseMBeandatabaseManagerClass - public String getServerClass()
public void setServerClass(String serverClass)
serverClass -
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameExceptionpublic 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 | ||||||||||