站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

HypersonicDatabaseMBean (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


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

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

setDatabase

public void setDatabase(String name)
Set the database name.


getDatabase

public String getDatabase()
Get the database name.


setPort

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


getPort

public int getPort()
Get the port for remote hypersonic.


setSilent

public void setSilent(boolean silent)
Set silent flag.


getSilent

public boolean getSilent()
Get silent flag.


setTrace

public void setTrace(boolean trace)
Set trace flag.


getTrace

public boolean getTrace()
Get trace flag.


setNo_system_exit

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


getNo_system_exit

public boolean getNo_system_exit()
Get the no_system_exit flag.


setPersist

public void setPersist(boolean persist)
Deprecated. use inProcessMode.

Set persist flag.


getPersist

public boolean getPersist()
Deprecated. use inProcessMode.

Get persist flag.


getDatabasePath

public String getDatabasePath()
Get the full database path.


isInProcessMode

public boolean isInProcessMode()

getShutdownCommand

public String getShutdownCommand()

setInProcessMode

public 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

public void setShutdownCommand(String string)

getPassword

public String getPassword()

getUser

public String getUser()

setPassword

public void setPassword(String password)

setUser

public void setUser(String user)

getDatabaseManagerClass

public String getDatabaseManagerClass()

setDatabaseManagerClass

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

Parameters:
databaseManagerClass -

startDatabaseManager

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



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