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. In all cases we run Hypersonic in the same VM with JBoss. A few notes on Hypersonic running modes: remote (server) mode hsqldb will listen for connections from local/remote clients in-process (standalone) mode hsqldb can only be contacted from in-vm clients memory-only mode hsqldb will only keep tables in memory, no persistence of data

Version:
$Revision: 57210 $

Field Summary
static javax.management.ObjectName OBJECT_NAME
          The default ObjectName
 
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 getBindAddress()
          The binding address, default is '0.0.0.0'
 String getDatabase()
          The database name, default is 'default'
 String getDatabaseManagerClass()
          The database manager (UI) class, default is 'org.hsqldb.util.DatabaseManagerSwing'
 String getDatabasePath()
          The full database path
 boolean getNo_system_exit()
          Whether remote server mode hypersonic should avoid calling System.exit() on shutdown, default is 'true' By far, the worse mbean attribute name
 String getPassword()
          The default password to use when connecting to the DB, default is ""
 boolean getPersist()
          Whether DB is persisted, default is 'true'.
 int getPort()
          The listening port when in remove server mode, default is '1701'
 String getShutdownCommand()
          The shutdown command to use when stopping the DB
 boolean getSilent()
          The silent flag, default is 'true'
 boolean getTrace()
          The trace flag, default is 'false'
 String getUser()
          The default user to use when connecting to the DB, default is "sa"
 boolean isInProcessMode()
          Whether DB is in in-process mode or remote server mode, default is 'false'
 void setBindAddress(String address)
           
 void setDatabase(String name)
           
 void setDatabaseManagerClass(String databaseManagerClass)
           
 void setInProcessMode(boolean b)
           
 void setNo_system_exit(boolean no_system_exit)
           
 void setPassword(String password)
           
 void setPersist(boolean persist)
           
 void setPort(int port)
           
 void setShutdownCommand(String string)
           
 void setSilent(boolean silent)
           
 void setTrace(boolean trace)
           
 void setUser(String user)
           
 void startDatabaseManager()
          Start DatabaseManager accessible 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
The default ObjectName

Method Detail

getSilent

boolean getSilent()
The silent flag, default is 'true'


setSilent

void setSilent(boolean silent)

getTrace

boolean getTrace()
The trace flag, default is 'false'


setTrace

void setTrace(boolean trace)

getDatabase

String getDatabase()
The database name, default is 'default'


setDatabase

void setDatabase(String name)

getPort

int getPort()
The listening port when in remove server mode, default is '1701'


setPort

void setPort(int port)

getBindAddress

String getBindAddress()
The binding address, default is '0.0.0.0'


setBindAddress

void setBindAddress(String address)

getNo_system_exit

boolean getNo_system_exit()
Whether remote server mode hypersonic should avoid calling System.exit() on shutdown, default is 'true' By far, the worse mbean attribute name


setNo_system_exit

void setNo_system_exit(boolean no_system_exit)

getPersist

boolean getPersist()
Whether DB is persisted, default is 'true'. A false value will activate memory only mode.


setPersist

void setPersist(boolean persist)

isInProcessMode

boolean isInProcessMode()
Whether DB is in in-process mode or remote server mode, default is 'false'


setInProcessMode

void setInProcessMode(boolean b)

getUser

String getUser()
The default user to use when connecting to the DB, default is "sa"


setUser

void setUser(String user)

getPassword

String getPassword()
The default password to use when connecting to the DB, default is ""


setPassword

void setPassword(String password)

getShutdownCommand

String getShutdownCommand()
The shutdown command to use when stopping the DB


setShutdownCommand

void setShutdownCommand(String string)

getDatabaseManagerClass

String getDatabaseManagerClass()
The database manager (UI) class, default is 'org.hsqldb.util.DatabaseManagerSwing'


setDatabaseManagerClass

void setDatabaseManagerClass(String databaseManagerClass)

getDatabasePath

String getDatabasePath()
The full database path


startDatabaseManager

void startDatabaseManager()
Start DatabaseManager accessible from the management console.



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