org.firebirdsql.management
Interface ServiceManager

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

public interface ServiceManager

The base Firebird Service API functionality.

Author:
Roman Rokytskyy, Steven Jardine

Method Summary
 java.lang.String getDatabase()
          Returns the database path for the connection to the service manager.
 java.lang.String getHost()
          Returns the host for the connection to the service manager.
 java.io.OutputStream getLogger()
          Returns the logger for the connection to the service manager.
 java.lang.String getPassword()
          Returns the password for the connection to the service manager.
 int getPort()
          Returns the port for the connection to the service manager.
 java.lang.String getUser()
          Returns the username for the connection to the service manager.
 void setDatabase(java.lang.String database)
          Sets the database path for the connection to the service manager.
 void setHost(java.lang.String host)
          Sets the host for the connection to the service manager.
 void setLogger(java.io.OutputStream logger)
          Sets the logger for the connection to the service manager.
 void setPassword(java.lang.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(java.lang.String user)
          Sets the username for the connection to the service manager.
 

Method Detail

setUser

public void setUser(java.lang.String user)
Sets the username for the connection to the service manager.

Parameters:
user - for the connection to the service manager.

getUser

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

Returns:
the username for the connection to the service manager.

setPassword

public void setPassword(java.lang.String password)
Sets the password for the connection to the service manager.

Parameters:
password - for the connection to the service manager.

getPassword

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

Returns:
the password for the connection to the service manager.

setDatabase

public void setDatabase(java.lang.String database)
Sets the database path for the connection to the service manager.

Parameters:
database - path for the connection to the service manager.

getDatabase

public java.lang.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 java.lang.String getHost()
Returns the host for the connection to the service manager.

Returns:
the host for the connection to the service manager.

setHost

public void setHost(java.lang.String host)
Sets the host for the connection to the service manager.

Parameters:
host - 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.

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.

getLogger

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

Returns:
the logger for the connection to the service manager.

setLogger

public void setLogger(java.io.OutputStream logger)
Sets the logger for the connection to the service manager.

Parameters:
logger - for the connection to the service manager.


Copyright © 2001 David Jencks and other authors. All rights reserved.