OpenNMS API 1.1.3

org.opennms.netmgt.config
Class NotificationCommandFactory

java.lang.Object
  extended byorg.opennms.netmgt.config.NotificationCommandFactory

public class NotificationCommandFactory
extends java.lang.Object


Field Summary
protected static java.io.InputStream configIn
           
private static boolean initialized
          Boolean indicating if the init() method has been called
private static NotificationCommandFactory instance
           
private static java.io.File m_commandConfFile
           
private static java.util.Map m_commands
           
 
Constructor Summary
private NotificationCommandFactory()
           
 
Method Summary
 Command getCommand(java.lang.String name)
           
 java.util.Map getCommands()
           
static NotificationCommandFactory getInstance()
           
static void init()
           
static void reload()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static NotificationCommandFactory instance

m_commandConfFile

private static java.io.File m_commandConfFile

m_commands

private static java.util.Map m_commands

configIn

protected static java.io.InputStream configIn

initialized

private static boolean initialized
Boolean indicating if the init() method has been called

Constructor Detail

NotificationCommandFactory

private NotificationCommandFactory()
Method Detail

init

public static void init()
                 throws java.io.IOException,
                        org.exolab.castor.xml.MarshalException,
                        org.exolab.castor.xml.ValidationException
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

getInstance

public static NotificationCommandFactory getInstance()

reload

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

getCommand

public Command getCommand(java.lang.String name)

getCommands

public java.util.Map getCommands()

OpenNMS API 1.1.3

Generated by root on August 19 2004 0130.