org.bitrepository.monitoringservice
Class MonitoringServiceFactory

java.lang.Object
  extended by org.bitrepository.monitoringservice.MonitoringServiceFactory

public class MonitoringServiceFactory
extends Object

The factory for the monitoring service.


Method Summary
static MonitoringService getMonitoringService()
          Factory method to get a singleton instance of the SimpleIntegrityService.
static BasicSecurityManager getSecurityManager()
          Instantiated the security manager for the integrity service.
static Settings getSettings()
          Retrieves the settings from the defined location.
static void init(String configurationDir)
          Set the configuration directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init(String configurationDir)
Set the configuration directory. Should only be run at initialization time.


getSettings

public static Settings getSettings()
Retrieves the settings from the defined location.

Returns:
The settings.
See Also:
Settings}

getSecurityManager

public static BasicSecurityManager getSecurityManager()
Instantiated the security manager for the integrity service.

Returns:
The security manager.
See Also:
getSettings(), BasicSecurityManager}

getMonitoringService

public static MonitoringService getMonitoringService()
Factory method to get a singleton instance of the SimpleIntegrityService. Uses the settings and the security manager.

Returns:
The SimpleIntegrityService
See Also:
getSecurityManager(), getSettings(), MonitoringService}


Copyright © 2010-2013 The State and University Library, The Royal Library and The State Archives, Denmark. All Rights Reserved.