Modifier and Type
Method and Description
Get the version number string for this interface.
( init ModuleController mc,
Initialize the interface.
Restarts the interface.
Start the interface.
Stop the interface.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tradedesksoftware.feedhandler.container.
public void start()
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
public void stop()
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
public void restart()
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
public void init(
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.
init IFeedModule Parameters:
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