de.janrufmonitor.repository
Class AbstractReadOnlyDatabaseCallerManager
java.lang.Object
de.janrufmonitor.repository.AbstractConfigurableCallerManager
de.janrufmonitor.repository.AbstractReadOnlyCallerManager
de.janrufmonitor.repository.AbstractReadOnlyDatabaseCallerManager
- All Implemented Interfaces:
- IConfigurable, IManager, IRepositoryManager, ICallerManager, IIdentifyCallerRepository
public abstract class AbstractReadOnlyDatabaseCallerManager
- extends AbstractReadOnlyCallerManager
|
Method Summary |
protected abstract ICallerDatabaseHandler |
getDatabaseHandler()
Creates a new instance of a specific database handler. |
boolean |
isSupported(Class c)
Returns wether a repository type (de.janrufmonitor.repository.types.*)
is suppored by a repository manager implementation. |
void |
shutdown()
This method is called on shutdown time by the runtime object. |
| Methods inherited from class de.janrufmonitor.repository.AbstractConfigurableCallerManager |
addCreationAttributes, addSystemAttributes, getConfigurableID, getID, getManagerID, getNamespace, getPriority, getRuntime, isActive, isInternalNumber, restart, setConfiguration, setManagerID, startup, toString |
m_dbh
protected ICallerDatabaseHandler m_dbh
AbstractReadOnlyDatabaseCallerManager
public AbstractReadOnlyDatabaseCallerManager()
isSupported
public boolean isSupported(Class c)
- Description copied from interface:
IRepositoryManager
- Returns wether a repository type (de.janrufmonitor.repository.types.*)
is suppored by a repository manager implementation.
- Specified by:
isSupported in interface IRepositoryManager- Overrides:
isSupported in class AbstractReadOnlyCallerManager
- Parameters:
c - Interface to be supported.
- Returns:
- true is interface is supported, otherwise false.
shutdown
public void shutdown()
- Description copied from interface:
IManager
- This method is called on shutdown time by the runtime object.
- Specified by:
shutdown in interface IManager- Overrides:
shutdown in class AbstractConfigurableCallerManager
getDatabaseHandler
protected abstract ICallerDatabaseHandler getDatabaseHandler()
- Creates a new instance of a specific database handler.
- Returns:
- a valid database handler, must not be null.
Copyright © 2010 by Thilo Brandt. All Rights Reserved.