org.firebirdsql.management

Interface ServiceManager

Known Subinterfaces:
BackupManager, MaintenanceManager, StatisticsManager, UserManager
Known Implementing Classes:
FBBackupManager, FBMaintenanceManager, FBServiceManager, FBStatisticsManager, FBUserManager

public interface ServiceManager

The base Firebird Service API functionality.
Authors:
Roman Rokytskyy
Steven Jardine

Method Summary

String
getDatabase()
Returns the database path for the connection to the service manager.
String
getHost()
Returns the host for the connection to the service manager.
OutputStream
getLogger()
Returns the logger for the connection to the service manager.
String
getPassword()
Returns the password for the connection to the service manager.
int
getPort()
Returns the port for the connection to the service manager.
String
getUser()
Returns the username for the connection to the service manager.
void
setDatabase(String database)
Sets the database path for the connection to the service manager.
void
setHost(String host)
Sets the host for the connection to the service manager.
void
setLogger(OutputStream logger)
Sets the logger for the connection to the service manager.
void
setPassword(String password)
Sets the password for the connection to the service manager.
void
setPort(int port)
Sets the port for the connection to the service manager.
void
setUser(String user)
Sets the username for the connection to the service manager.

Method Details

getDatabase

public String getDatabase()
Returns the database path for the connection to the service manager.
Returns:
the database path for the connection to the service manager.

getHost

public String getHost()
Returns the host for the connection to the service manager.
Returns:
the host for the connection to the service manager.

getLogger

public OutputStream getLogger()
Returns the logger for the connection to the service manager.
Returns:
the logger for the connection to the service manager.

getPassword

public String getPassword()
Returns the password for the connection to the service manager.
Returns:
the password for the connection to the service manager.

getPort

public int getPort()
Returns the port for the connection to the service manager.
Returns:
the port for the connection to the service manager.

getUser

public String getUser()
Returns the username for the connection to the service manager.
Returns:
the username for the connection to the service manager.

setDatabase

public void setDatabase(String database)
Sets the database path for the connection to the service manager.
Parameters:
database - path for the connection to the service manager.

setHost

public void setHost(String host)
Sets the host for the connection to the service manager.
Parameters:
host - for the connection to the service manager.

setLogger

public void setLogger(OutputStream logger)
Sets the logger for the connection to the service manager.
Parameters:
logger - for the connection to the service manager.

setPassword

public void setPassword(String password)
Sets the password for the connection to the service manager.
Parameters:
password - for the connection to the service manager.

setPort

public void setPort(int port)
Sets the port for the connection to the service manager.
Parameters:
port - for the connection to the service manager.

setUser

public void setUser(String user)
Sets the username for the connection to the service manager.
Parameters:
user - for the connection to the service manager.

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