org.opennms.netmgt.capsd.plugins
Class MX4JPlugin

java.lang.Object
  extended by org.opennms.netmgt.capsd.AbstractPlugin
      extended by org.opennms.netmgt.capsd.plugins.JMXPlugin
          extended by org.opennms.netmgt.capsd.plugins.MX4JPlugin
All Implemented Interfaces:
Plugin

public class MX4JPlugin
extends JMXPlugin

MX4JPlugin class.

Version:
$Id: $
Author:
ranger

Constructor Summary
MX4JPlugin()
           
 
Method Summary
 ConnectionWrapper getMBeanServerConnection(Map<String,Object> parameterMap, InetAddress address)
          getMBeanServerConnection
 String getProtocolName(Map<String,Object> map)
          Getter for the field protocolName.
 boolean isProtocolSupported(InetAddress address)
          Returns true if the protocol defined by this plugin is supported.
 
Methods inherited from class org.opennms.netmgt.capsd.plugins.JMXPlugin
getProtocolName, isProtocolSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MX4JPlugin

public MX4JPlugin()
Method Detail

getMBeanServerConnection

public ConnectionWrapper getMBeanServerConnection(Map<String,Object> parameterMap,
                                                  InetAddress address)

getMBeanServerConnection

Specified by:
getMBeanServerConnection in class JMXPlugin
Parameters:
parameterMap - a Map object.
address - a InetAddress object.
Returns:
a ConnectionWrapper object.

getProtocolName

public String getProtocolName(Map<String,Object> map)

Getter for the field protocolName.

Specified by:
getProtocolName in class JMXPlugin
Parameters:
map - a Map object.
Returns:
a String object.

isProtocolSupported

public boolean isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller.

Specified by:
isProtocolSupported in interface Plugin
Specified by:
isProtocolSupported in class AbstractPlugin
Parameters:
address - The address to check for support.
Returns:
True if the protocol is supported by the address.


Copyright © 2011. All Rights Reserved.