org.opennms.netmgt.config
Class ChartConfigFactory

java.lang.Object
  extended by org.opennms.netmgt.config.ChartConfigManager
      extended by org.opennms.netmgt.config.ChartConfigFactory

public class ChartConfigFactory
extends ChartConfigManager

Author:
david

Constructor Summary
ChartConfigFactory()
           
 
Method Summary
static ChartConfigFactory getInstance()
           
static void init()
           
static void reload()
           
protected  void saveXml(String xml)
           
static void setInstance(ChartConfigFactory instance)
           
 void update()
           
 
Methods inherited from class org.opennms.netmgt.config.ChartConfigManager
getConfiguration, parseXml, saveCurrent, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartConfigFactory

public ChartConfigFactory()
Method Detail

init

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

reload

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

saveXml

protected void saveXml(String xml)
                throws IOException
Specified by:
saveXml in class ChartConfigManager
Parameters:
xml -
Throws:
IOException

update

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

getInstance

public static ChartConfigFactory getInstance()

setInstance

public static void setInstance(ChartConfigFactory instance)


Copyright © 2009. All Rights Reserved.