org.opennms.netmgt.config
Class RWSConfigManager

java.lang.Object
  extended by org.opennms.netmgt.config.RWSConfigManager
All Implemented Interfaces:
RWSConfig
Direct Known Subclasses:
RWSConfigFactory

public abstract class RWSConfigManager
extends Object
implements RWSConfig

Author:
Antonio Russo, Mathew Brozowski, David Hustace

Constructor Summary
RWSConfigManager()
           
RWSConfigManager(Reader reader)
           
 
Method Summary
 org.opennms.rancid.ConnectionProperties getBase()
           
 BaseUrl getBaseUrl()
           
 RwsConfiguration getConfiguration()
          Return the poller configuration object.
 org.opennms.rancid.ConnectionProperties getNextStandBy()
           
 StandbyUrl getNextStandbyUrl()
           
 StandbyUrl[] getStanbyUrls()
           
 org.opennms.rancid.ConnectionProperties[] getStandBy()
           
 boolean hasStandbyUrl()
           
protected  void reloadXML(Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RWSConfigManager

public RWSConfigManager(Reader reader)
                 throws org.exolab.castor.xml.MarshalException,
                        org.exolab.castor.xml.ValidationException,
                        IOException
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException

RWSConfigManager

public RWSConfigManager()
Method Detail

getBase

public org.opennms.rancid.ConnectionProperties getBase()
Specified by:
getBase in interface RWSConfig

getNextStandBy

public org.opennms.rancid.ConnectionProperties getNextStandBy()
Specified by:
getNextStandBy in interface RWSConfig

getStandBy

public org.opennms.rancid.ConnectionProperties[] getStandBy()
Specified by:
getStandBy in interface RWSConfig

getBaseUrl

public BaseUrl getBaseUrl()
Specified by:
getBaseUrl in interface RWSConfig

getStanbyUrls

public StandbyUrl[] getStanbyUrls()
Specified by:
getStanbyUrls in interface RWSConfig

getNextStandbyUrl

public StandbyUrl getNextStandbyUrl()
Specified by:
getNextStandbyUrl in interface RWSConfig

hasStandbyUrl

public boolean hasStandbyUrl()
Specified by:
hasStandbyUrl in interface RWSConfig

reloadXML

protected void reloadXML(Reader reader)
                  throws org.exolab.castor.xml.MarshalException,
                         org.exolab.castor.xml.ValidationException,
                         IOException
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException

getConfiguration

public RwsConfiguration getConfiguration()
Return the poller configuration object.



Copyright © 2009. All Rights Reserved.