amber.server.manager
Interface ExtensionInterface


public interface ExtensionInterface

This class is the required interface for any extension modules which are to be added to the core server.

Version:
1.0.0
Author:
Dr. David J. Knowles

Method Summary
 java.lang.String getConfiguration()
          This function returns the configuration information.
 Core getCore()
          This gets the parent Core server object.
 Log getLogger()
          This function returns the logging object.
 java.lang.String getName()
          This function returns the name of the extension module.
 void setConfiguration(java.lang.String configuration)
          This function sets the configuration information for the server.
 void setCore(Core core)
          This sets the parent Core server object.
 void setLogger(Log log)
          This function sets the logging object.
 void setName(java.lang.String name)
          This function sets the name of the extension module.
 void start()
          This function is called to start the extension.
 

Method Detail

setCore

public void setCore(Core core)
This sets the parent Core server object.
Parameters:
core - Core system.

getCore

public Core getCore()
This gets the parent Core server object.
Returns:
Core system.

setLogger

public void setLogger(Log log)
This function sets the logging object.
Parameters:
log - Log object which is the primary server logging object.

getLogger

public Log getLogger()
This function returns the logging object.
Returns:
Log object which is the primary server logging object.

setName

public void setName(java.lang.String name)
This function sets the name of the extension module.
Parameters:
name - String name of the module.

getName

public java.lang.String getName()
This function returns the name of the extension module.
Returns:
String containing the name of the module.

setConfiguration

public void setConfiguration(java.lang.String configuration)
This function sets the configuration information for the server.
Parameters:
configuration - String containing the configuration information.

getConfiguration

public java.lang.String getConfiguration()
This function returns the configuration information.
Returns:
String containing the configuration information for the module in string form.

start

public void start()
This function is called to start the extension.


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.