deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.owswatch
Class ServiceWatcherFactory

java.lang.Object
  extended by org.deegree.portal.owswatch.ServiceWatcherFactory
All Implemented Interfaces:
java.io.Serializable

public class ServiceWatcherFactory
extends java.lang.Object
implements java.io.Serializable

Instantiates an instance of ServiceWatcher with instances of ServiceConfiguration and ServiceLog inside as parsed from the configurations file

Version:
$Revision: 20271 $, $Date: 2009-10-21 13:07:15 +0200 (Mi, 21 Okt 2009) $
Author:
Moataz Elmasry, last edited by: $Author: jmays $
See Also:
Serialized Form

Method Summary
 OwsWatchConfig getConf()
           
 java.lang.String getConfFilePath()
           
static ServiceWatcherFactory getInstance(java.lang.String confFilePath, java.lang.String webinfPath)
           
 java.lang.String getProtDirPath()
           
 EmailSender getSender()
           
 ServicesConfigurationFactory getServicesParser()
           
 ServiceWatcher getServiceWatcherInstance()
           
 java.lang.String getServletAddr()
           
protected static java.util.List<java.lang.String> getUserEmails(java.util.Map<java.lang.String,User> users)
           
 java.lang.String getWebinfPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getServiceWatcherInstance

public ServiceWatcher getServiceWatcherInstance()
                                         throws ConfigurationsException
Returns:
ServiceWatcher
Throws:
ConfigurationsException

getInstance

public static ServiceWatcherFactory getInstance(java.lang.String confFilePath,
                                                java.lang.String webinfPath)
                                         throws ConfigurationsException
Parameters:
confFilePath -
webinfPath -
Returns:
An instance of ServiceWatchFactory using singletone pattern
Throws:
ConfigurationsException

getConfFilePath

public java.lang.String getConfFilePath()
Returns:
Path of the configuration file

getWebinfPath

public java.lang.String getWebinfPath()
Returns:
WEB-INF folder path

getConf

public OwsWatchConfig getConf()
Returns:
OwsWatchConfigFactory

getServicesParser

public ServicesConfigurationFactory getServicesParser()
Returns:
ServicesConfigurationFactory

getUserEmails

protected static java.util.List<java.lang.String> getUserEmails(java.util.Map<java.lang.String,User> users)

getProtDirPath

public java.lang.String getProtDirPath()
Returns:
Protocol directory path

getSender

public EmailSender getSender()
Returns:
EmailSender

getServletAddr

public java.lang.String getServletAddr()
Returns:
String

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org