org.opennms.protocols.xml.collector
Class DefaultXmlCollectionHandler
java.lang.Object
org.opennms.protocols.xml.collector.AbstractXmlCollectionHandler
org.opennms.protocols.xml.collector.DefaultXmlCollectionHandler
- All Implemented Interfaces:
- XmlCollectionHandler
public class DefaultXmlCollectionHandler
- extends AbstractXmlCollectionHandler
The default implementation of the interface XmlCollectionHandler based on AbstractXmlCollectionHandler.
- Author:
- Alejandro Galue
| Methods inherited from class org.opennms.protocols.xml.collector.AbstractXmlCollectionHandler |
fillCollectionSet, getCollectionResource, getRrdRepository, getServiceName, getTimeStamp, getXmlDocument, getXmlResourceType, log, parseUrl, setRrdRepository, setServiceName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXmlCollectionHandler
public DefaultXmlCollectionHandler()
collect
public XmlCollectionSet collect(CollectionAgent agent,
XmlDataCollection collection,
Map<String,Object> parameters)
throws CollectionException
- Description copied from interface:
XmlCollectionHandler
- Collect.
- Parameters:
agent - the collection agentcollection - the XML collection configurationparameters - the collector parameters
- Returns:
- the XML collection set
- Throws:
CollectionException - the collection exception
processXmlResource
protected void processXmlResource(XmlCollectionResource collectionResource,
AttributeGroupType attribGroupType)
- Description copied from class:
AbstractXmlCollectionHandler
- Process XML resource.
- Specified by:
processXmlResource in class AbstractXmlCollectionHandler
- Parameters:
collectionResource - the collection resourceattribGroupType - the attribute group type
Copyright © 2011. All Rights Reserved.