public class JDBCPlugin extends AbstractPlugin
More plugin information available at: OpenNMS developer site
| Constructor and Description |
|---|
JDBCPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkStatus(Connection con,
Map<String,Object> qualifiers)
checkStatus
|
protected void |
closeStmt(Statement statement)
closeStmt
|
String |
getProtocolName()
Returns the default protocol name
|
boolean |
isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported.
|
boolean |
isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
Returns true if the protocol defined by this plugin is supported.
|
public boolean checkStatus(Connection con, Map<String,Object> qualifiers)
checkStatus
con - a Connection object.qualifiers - a Map object.protected void closeStmt(Statement statement)
closeStmt
statement - a Statement object.public String getProtocolName()
getProtocolName in interface PlugingetProtocolName in class AbstractPluginpublic boolean isProtocolSupported(InetAddress address)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.public boolean isProtocolSupported(InetAddress address, Map<String,Object> qualifiers)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.qualifiers - The map where qualification are set by the plugin.Copyright © 2015. All rights reserved.