|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.janrufmonitor.repository.AbstractConfigurableCallManager
public abstract class AbstractConfigurableCallManager
This abstract class can be used as base class for a new call manager implementation which is supporting configuration.
| Field Summary | |
|---|---|
protected String |
CFG_ENABLED
|
protected String |
CFG_PRIO
|
protected Properties |
m_configuration
|
protected String |
m_externalID
|
protected Logger |
m_logger
|
| Constructor Summary | |
|---|---|
AbstractConfigurableCallManager()
|
|
| Method Summary | |
|---|---|
String |
getConfigurableID()
Gets the ID of the configurable object. |
abstract String |
getID()
Gets the ID of the new call manager. |
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. |
abstract IRuntime |
getRuntime()
Gets the runtime objects. |
boolean |
isActive()
Gets the status of the repository manager |
void |
restart()
This method is called on restart time by the runtime object. |
void |
setConfiguration(Properties configuration)
Sets the configuration in the configurable 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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.janrufmonitor.framework.manager.IRepositoryManager |
|---|
isSupported |
| Methods inherited from interface de.janrufmonitor.framework.configuration.IConfigurable |
|---|
getNamespace |
| Field Detail |
|---|
protected String CFG_PRIO
protected String CFG_ENABLED
protected Logger m_logger
protected String m_externalID
protected Properties m_configuration
| Constructor Detail |
|---|
public AbstractConfigurableCallManager()
| Method Detail |
|---|
public abstract String getID()
public abstract IRuntime getRuntime()
public boolean isActive()
IRepositoryManager
isActive in interface IRepositoryManagerpublic int getPriority()
IManager
getPriority in interface IManagerpublic void setConfiguration(Properties configuration)
IConfigurable
setConfiguration in interface IConfigurableconfiguration - the configuration for the given namespacepublic String getConfigurableID()
IConfigurable
getConfigurableID in interface IConfigurablepublic void setManagerID(String id)
IManager
setManagerID in interface IManagerpublic String getManagerID()
IManager
getManagerID in interface IManagerpublic void shutdown()
IManager
shutdown in interface IManagerpublic void startup()
IManager
startup in interface IManagerpublic void restart()
IManager
restart in interface IManagerpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||