org.firebirdsql.management

Interface FBManagerMBean

Known Implementing Classes:
FBManager

public interface FBManagerMBean

Describe interface FBManagerMBean here.
Version:
1.0
Author:
David Jencks

Method Summary

void
createDatabase(String filename, String user, String password)
void
dropDatabase(String fileName, String user, String password)
String
getFileName()
String
getName()
String
getPassword()
mbean get-set pair for field password Get the value of password
int
getPort()
String
getServer()
String
getState()
String
getUserName()
mbean get-set pair for field userName Get the value of userName
boolean
isCreateOnStart()
mbean get-set pair for field createOnStart Get the value of createOnStart
boolean
isDatabaseExists(String fileName, String user, String password)
boolean
isDropOnStop()
mbean get-set pair for field dropOnStop Get the value of dropOnStop
boolean
isForceCreate()
void
setCreateOnStart(boolean createOnStart)
Set the value of createOnStart
void
setDropOnStop(boolean dropOnStop)
Set the value of dropOnStop
void
setFileName(String fileName)
Set the value of fileName
void
setForceCreate(boolean forceCreate)
void
setPassword(String password)
Set the value of password
void
setPort(int port)
void
setServer(String host)
void
setUserName(String userName)
Set the value of userName
void
start()
void
stop()

Method Details

createDatabase

public void createDatabase(String filename,
                           String user,
                           String password)
            throws Exception

dropDatabase

public void dropDatabase(String fileName,
                         String user,
                         String password)
            throws Exception

getFileName

public String getFileName()

getName

public String getName()

getPassword

public String getPassword()
mbean get-set pair for field password Get the value of password
Returns:
value of password

getPort

public int getPort()

getServer

public String getServer()

getState

public String getState()

getUserName

public String getUserName()
mbean get-set pair for field userName Get the value of userName
Returns:
value of userName

isCreateOnStart

public boolean isCreateOnStart()
mbean get-set pair for field createOnStart Get the value of createOnStart
Returns:
value of createOnStart

isDatabaseExists

public boolean isDatabaseExists(String fileName,
                                String user,
                                String password)
            throws Exception

isDropOnStop

public boolean isDropOnStop()
mbean get-set pair for field dropOnStop Get the value of dropOnStop
Returns:
value of dropOnStop

isForceCreate

public boolean isForceCreate()

setCreateOnStart

public void setCreateOnStart(boolean createOnStart)
Set the value of createOnStart
Parameters:
createOnStart - Value to assign to createOnStart

setDropOnStop

public void setDropOnStop(boolean dropOnStop)
Set the value of dropOnStop
Parameters:
dropOnStop - Value to assign to dropOnStop

setFileName

public void setFileName(String fileName)
Set the value of fileName
Parameters:
fileName - Value to assign to fileName

setForceCreate

public void setForceCreate(boolean forceCreate)

setPassword

public void setPassword(String password)
Set the value of password
Parameters:
password - Value to assign to password

setPort

public void setPort(int port)

setServer

public void setServer(String host)

setUserName

public void setUserName(String userName)
Set the value of userName
Parameters:
userName - Value to assign to userName

start

public void start()
            throws Exception

stop

public void stop()
            throws Exception

Copyright B) 2001 David Jencks and other authors. All rights reserved.