org.opennms.netmgt.collectd
Class XmpCollectionFactory
java.lang.Object
org.opennms.netmgt.collectd.XmpCollectionFactory
public class XmpCollectionFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmpCollectionFactory
public XmpCollectionFactory(String configFile)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException
XmpCollectionFactory
public XmpCollectionFactory(Reader rdr)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException
init
public static void init()
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
getInstance
public static XmpCollectionFactory getInstance()
getRrdPath
public String getRrdPath()
getRrdRepository
public RrdRepository getRrdRepository(String collectionName)
- given a collection name, fetch its RRD info from the config file via
the XmpDatacollectionConfig class and return an new repository
getXmpCollection
public XmpCollection getXmpCollection(String collectionName)
- given a collection name, fetch it from the config file via
the XmpDatacollectionConfig class
Copyright © 2009. All Rights Reserved.