de.janrufmonitor.framework.manager
Interface IRepositoryManager

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

public interface IRepositoryManager
extends IManager

This interface must be implemented by a Repository Manager object, which should be used in the framework. A repository manager has to handle callers or calls.

Author:
Thilo Brandt

Method Summary
 boolean isActive()
          Gets the status of the repository manager
 boolean isSupported(Class c)
          Returns wether a repository type (de.janrufmonitor.repository.types.*) is suppored by a repository manager implementation.
 
Methods inherited from interface de.janrufmonitor.framework.manager.IManager
getManagerID, getPriority, restart, setManagerID, shutdown, startup
 

Method Detail

isActive

boolean isActive()
Gets the status of the repository manager

Returns:
true, if the repository manager is active

isSupported

boolean isSupported(Class c)
Returns wether a repository type (de.janrufmonitor.repository.types.*) is suppored by a repository manager implementation.

Parameters:
c - Interface to be supported.
Returns:
true is interface is supported, otherwise false.


Copyright © 2010 by Thilo Brandt. All Rights Reserved.