|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.janrufmonitor.repository.AbstractConfigurableCallerManager
de.janrufmonitor.repository.AbstractReadOnlyCallerManager
de.janrufmonitor.repository.AbstractWebCallerManager
public abstract class AbstractWebCallerManager
This abstract class can be used as base class for a new call manager implementation using webaccess to the caller persistence.
| Field Summary |
|---|
| Fields inherited from class de.janrufmonitor.repository.AbstractConfigurableCallerManager |
|---|
CFG_ENABLED, CFG_PRIO, m_configuration, m_externalID, m_logger |
| Constructor Summary | |
|---|---|
AbstractWebCallerManager()
|
|
| Method Summary | |
|---|---|
protected abstract AbstractURLRequester |
createURLRequester(String url,
long skip)
|
protected AbstractURLRequester |
createURLRequester(String url,
long skip,
String pn)
|
ICaller |
getCaller(IPhonenumber number)
Gets a caller object from a repository by the specified phone number object. |
abstract String |
getID()
Gets the ID of the new caller manager. |
abstract String |
getNamespace()
Gets the namespace of the configurable object. |
abstract IRuntime |
getRuntime()
Gets the runtime objects. |
protected String |
getSupportedIntAreaCode()
|
protected String |
getUserAgent()
|
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. |
| Methods inherited from class de.janrufmonitor.repository.AbstractReadOnlyCallerManager |
|---|
isSupported |
| Methods inherited from class de.janrufmonitor.repository.AbstractConfigurableCallerManager |
|---|
addCreationAttributes, addSystemAttributes, getConfigurableID, getManagerID, getPriority, isActive, isInternalNumber, restart, setConfiguration, setManagerID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractWebCallerManager()
| Method Detail |
|---|
public abstract IRuntime getRuntime()
AbstractConfigurableCallerManager
getRuntime in class AbstractConfigurableCallerManagerpublic abstract String getID()
AbstractConfigurableCallerManager
getID in class AbstractConfigurableCallerManagerpublic abstract String getNamespace()
IConfigurable
getNamespace in interface IConfigurablegetNamespace in class AbstractConfigurableCallerManager
protected abstract AbstractURLRequester createURLRequester(String url,
long skip)
protected AbstractURLRequester createURLRequester(String url,
long skip,
String pn)
protected String getSupportedIntAreaCode()
public ICaller getCaller(IPhonenumber number)
throws CallerNotFoundException
IIdentifyCallerRepository
number - number of the requested caller object.
CallerNotFoundException - is thrown if a caller with specified phone number is not found.public void shutdown()
IManager
shutdown in interface IManagershutdown in class AbstractConfigurableCallerManagerpublic void startup()
IManager
startup in interface IManagerstartup in class AbstractConfigurableCallerManagerprotected String getUserAgent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||