de.janrufmonitor.framework.manager
Interface IManager

All Known Subinterfaces:
ICallerManager, ICallManager, ICipManager, IConfigManager, IMsnManager, IRepositoryManager
All Known Implementing Classes:
AbstractConfigurableCallerManager, AbstractConfigurableCallManager, AbstractDatabaseCallerManager, AbstractDatabaseCallManager, AbstractFilterCallManager, AbstractPersistentCallManager, AbstractReadOnlyCallerManager, AbstractReadOnlyDatabaseCallerManager, AbstractReadWriteCallerManager, AbstractWebCallerManager

public interface IManager

This interface must be implemented by a Manager object, which should be used in the framework. A manager can handle different information used in the framework, e.g., configuration, callers or call lists

Author:
Thilo Brandt

Method Summary
 String getManagerID()
          Gets the ID of a manager implementation
 int getPriority()
          Gets priority of a manager, which is needed to be handled by the framework.
 void restart()
          This method is called on restart time by the runtime object.
 void setManagerID(String id)
          Sets the ID of a manager implementation
 void shutdown()
          This method is called on shutdown time by the runtime object.
 void startup()
          This method is called on startup time by the runtime object.
 

Method Detail

getManagerID

String getManagerID()
Gets the ID of a manager implementation

Returns:
Id of this Manager

setManagerID

void setManagerID(String id)
Sets the ID of a manager implementation


getPriority

int getPriority()
Gets priority of a manager, which is needed to be handled by the framework.

Returns:
Id of this Manager

startup

void startup()
This method is called on startup time by the runtime object.


shutdown

void shutdown()
This method is called on shutdown time by the runtime object.


restart

void restart()
This method is called on restart time by the runtime object.



Copyright © 2010 by Thilo Brandt. All Rights Reserved.