org.opennms.netmgt.config
Class NotificationFactory

java.lang.Object
  extended by org.opennms.netmgt.config.NotificationManager
      extended by org.opennms.netmgt.config.NotificationFactory

public class NotificationFactory
extends NotificationManager


Field Summary
protected  File m_notifConfFile
          Configuration file handle
 
Fields inherited from class org.opennms.netmgt.config.NotificationManager
m_notifications, PARAM_DESTINATION, PARAM_EMAIL, PARAM_INTERFACE, PARAM_NODE, PARAM_NUM_MSG, PARAM_NUM_PAGER_PIN, PARAM_PAGER_EMAIL, PARAM_RESPONSE, PARAM_SERVICE, PARAM_SUBJECT, PARAM_TEXT_MSG, PARAM_TEXT_PAGER_PIN, PARAM_TYPE, PARAM_XMPP_ADDRESS
 
Method Summary
static NotificationFactory getInstance()
           
static void init()
           
 void reload()
           
protected  void saveXML(String xmlString)
           
protected  void update()
           
 
Methods inherited from class org.opennms.netmgt.config.NotificationManager
acknowledgeNotice, addNotification, addNotificationParams, expandMapValues, forEachUserNotification, getActiveNodes, getConfigManager, getEvent, getNoticeId, getNotifForEvent, getNotification, getNotificationNames, getNotifications, getQueueForNotification, getServiceNames, getServiceNoticeStatus, getUserNotifId, hasUei, insertNotice, nodeInterfaceServiceValid, noticeOutstanding, parseXML, rebuildParameterMap, removeNotification, replaceNotification, saveCurrent, updateNoticeWithUserInfo, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_notifConfFile

protected File m_notifConfFile
Configuration file handle

Method Detail

getInstance

public static NotificationFactory getInstance()

init

public static void init()
                 throws IOException,
                        FileNotFoundException,
                        org.exolab.castor.xml.MarshalException,
                        org.exolab.castor.xml.ValidationException,
                        ClassNotFoundException,
                        SQLException,
                        PropertyVetoException
Throws:
IOException
FileNotFoundException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
ClassNotFoundException
SQLException
PropertyVetoException

reload

public void reload()
            throws IOException,
                   org.exolab.castor.xml.MarshalException,
                   org.exolab.castor.xml.ValidationException
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

saveXML

protected void saveXML(String xmlString)
                throws IOException
Specified by:
saveXML in class NotificationManager
Parameters:
xmlString -
Throws:
IOException

update

protected void update()
               throws IOException,
                      org.exolab.castor.xml.MarshalException,
                      org.exolab.castor.xml.ValidationException
Specified by:
update in class NotificationManager
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException


Copyright © 2009. All Rights Reserved.