|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.MapsAdapterConfigManager
public abstract class MapsAdapterConfigManager
Abstract MapsAdapterConfigManager class.
| Constructor Summary | |
|---|---|
MapsAdapterConfigManager()
Constructor for MapsAdapterConfigManager. |
|
MapsAdapterConfigManager(InputStream reader,
String serverName,
boolean verifyServer)
Constructor for MapsAdapterConfigManager. |
|
| Method Summary | |
|---|---|
List<Cmap> |
getAllMaps()
getAllMaps |
List<String> |
getAllPackageMatches(String ipaddr)
Returns a list of package names that the ip belongs to, null if none. |
Map<String,List<Celement>> |
getCelements()
getCelements |
MapsAdapterConfiguration |
getConfiguration()
Return the poller configuration object. |
Map<String,Csubmap> |
getContainerMaps(String submapName)
getContainerMaps |
Map<String,Celement> |
getElementByAddress(String ipaddr)
getElementByAddress |
int |
getMapElementDimension()
getMapElementDimension |
Lock |
getReadLock()
|
Map<String,List<Csubmap>> |
getsubMaps()
getsubMaps |
List<Csubmap> |
getSubMaps(String mapName)
getSubMaps |
Lock |
getWriteLock()
|
Iterable<String> |
includeURLs(Package pkg)
includeURLs |
Iterable<Package> |
packages()
packages |
void |
rebuildPackageIpListMap()
This method is used to rebuild the package against IP list mapping when needed. |
protected void |
reloadXML(InputStream reader)
reloadXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opennms.netmgt.config.MapsAdapterConfig |
|---|
update |
| Constructor Detail |
|---|
public MapsAdapterConfigManager(InputStream reader,
String serverName,
boolean verifyServer)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
Constructor for MapsAdapterConfigManager.
reader - a InputStream object.verifyServer - a boolean.serverName - a String object.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
IOException - if any.public MapsAdapterConfigManager()
Constructor for MapsAdapterConfigManager.
| Method Detail |
|---|
public Lock getReadLock()
getReadLock in interface MapsAdapterConfigpublic Lock getWriteLock()
getWriteLock in interface MapsAdapterConfig
protected void reloadXML(InputStream reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
reloadXML
reader - a InputStream object.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
IOException - if any.public List<String> getAllPackageMatches(String ipaddr)
ipaddr - the interface to check
public Iterable<Package> packages()
packages
Iterable object.public Iterable<String> includeURLs(Package pkg)
includeURLs
pkg - a Package object.
Iterable object.public MapsAdapterConfiguration getConfiguration()
MapsAdapterConfiguration object.public List<Cmap> getAllMaps()
getAllMaps
getAllMaps in interface MapsAdapterConfigList object.public Map<String,Celement> getElementByAddress(String ipaddr)
getElementByAddress
getElementByAddress in interface MapsAdapterConfigipaddr - a String object.
Map object.public List<Csubmap> getSubMaps(String mapName)
getSubMaps
getSubMaps in interface MapsAdapterConfigmapName - a String object.
List object.public int getMapElementDimension()
getMapElementDimension
getMapElementDimension in interface MapsAdapterConfigpublic Map<String,Csubmap> getContainerMaps(String submapName)
getContainerMaps
getContainerMaps in interface MapsAdapterConfigsubmapName - a String object.
Map object.public Map<String,List<Csubmap>> getsubMaps()
getsubMaps
getsubMaps in interface MapsAdapterConfigMap object.public Map<String,List<Celement>> getCelements()
getCelements
getCelements in interface MapsAdapterConfigMap object.public void rebuildPackageIpListMap()
rebuildPackageIpListMap in interface MapsAdapterConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||