org.jboss.jdbc
Interface HypersonicDatabaseMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
HypersonicDatabase

public interface HypersonicDatabaseMBean
extends org.jboss.system.ServiceMBean

MBean interface.


Field Summary
static javax.management.ObjectName 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
 
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 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 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.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
Method Detail

setDatabase

void setDatabase(String name)
Set the database name.


getDatabase

String getDatabase()
Get the database name.


setPort

void setPort(int port)
Set the port for remote hypersonic.


getPort

int getPort()
Get the port for remote hypersonic.


setSilent

void setSilent(boolean silent)
Set silent flag.


getSilent

boolean getSilent()
Get silent flag.


setTrace

void setTrace(boolean trace)
Set trace flag.


getTrace

boolean getTrace()
Get trace flag.


setNo_system_exit

void setNo_system_exit(boolean no_system_exit)
If true the server thread for remote hypersonic does no call System.exit().


getNo_system_exit

boolean getNo_system_exit()
Get the no_system_exit flag.


setPersist

void setPersist(boolean persist)
Deprecated. use inProcessMode.

Set persist flag.


getPersist

boolean getPersist()
Deprecated. use inProcessMode.

Get persist flag.


getDatabasePath

String getDatabasePath()
Get the full database path.


isInProcessMode

boolean isInProcessMode()

getShutdownCommand

String getShutdownCommand()

setInProcessMode

void setInProcessMode(boolean b)
If true the hypersonic is in process mode otherwise hypersonic is in server or remote mode.

Parameters:
b - in process mode or remote mode.

setShutdownCommand

void setShutdownCommand(String string)

getPassword

String getPassword()

getUser

String getUser()

setPassword

void setPassword(String password)

setUser

void setUser(String user)

getDatabaseManagerClass

String getDatabaseManagerClass()

setDatabaseManagerClass

void setDatabaseManagerClass(String databaseManagerClass)
Set the database manager (UI) class.

Parameters:
databaseManagerClass -

startDatabaseManager

void startDatabaseManager()
Start of DatabaseManager accesible from the management console.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.