Modifier and Type
Method and Description
Get the interface name for this interface.
Get the version number string for this interface.
( init ModuleController mc,
Initialize the interface.
Restarts the interface.
Start the interface.
Stop the interface.
Start the interface. This allows the service framework to tell the interface that it is ok
to begin doing any processing it wants to do (ie start up some threads, etc).
- Thrown when startup fails
Stop the interface. This allows the service framework to tell the interface that it is time to stop
doing whatever it is doing (ie stop all its threads, drop network connections, etc).
- Thrown when shutdown fails
Restarts the interface. This allows the service framework to tell the interface to go back to the state
it should be at right after a call to start(). This is called when some module has called back to the
module controller indicating a problem/failure which should be recovered by a restart.
- Thrown when it is impossible to shutdown or restart
Initialize the interface. This provides the interface with configuration information and a hook to the
module controller implementation which it can use to call back and request restart or shutdown.
mc - ModuleController instance which controls this module, normally the service object itself
category - NestedCategory providing the configuration properties for this module
- Thrown when the configuration is incorrect or cannot be processed