org.opennms.netmgt.threshd
Class JdbcIfInfoGetter

java.lang.Object
  extended by org.opennms.netmgt.threshd.JdbcIfInfoGetter
All Implemented Interfaces:
IfInfoGetter

public class JdbcIfInfoGetter
extends Object
implements IfInfoGetter

JdbcIfInfoGetter class.

Version:
$Id: $
Author:
DJ Gregor, Alejandro Galue, DJ Gregor, Alejandro Galue

Constructor Summary
JdbcIfInfoGetter()
           
 
Method Summary
 Map<String,String> getIfInfoForNodeAndLabel(int nodeId, String ifLabel)
          getIfInfoForNodeAndLabel
 String getIfLabel(int nodeId, String ipAddress)
          getIfLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcIfInfoGetter

public JdbcIfInfoGetter()
Method Detail

getIfInfoForNodeAndLabel

public Map<String,String> getIfInfoForNodeAndLabel(int nodeId,
                                                   String ifLabel)

getIfInfoForNodeAndLabel

Specified by:
getIfInfoForNodeAndLabel in interface IfInfoGetter
Parameters:
nodeId - a int.
ifLabel - a String object.
Returns:
a Map object.

getIfLabel

public String getIfLabel(int nodeId,
                         String ipAddress)

getIfLabel

Specified by:
getIfLabel in interface IfInfoGetter
Parameters:
nodeId - a int.
ipAddress - a String object.
Returns:
a String object.


Copyright © 2011. All Rights Reserved.