org.opennms.netmgt.provision.detector.jmx.client
Class Jsr160Client

java.lang.Object
  extended by org.opennms.netmgt.provision.detector.jmx.client.JMXClient
      extended by org.opennms.netmgt.provision.detector.jmx.client.Jsr160Client
All Implemented Interfaces:
Client<ConnectionWrapper,Integer>

public class Jsr160Client
extends JMXClient

Jsr160Client class.

Version:
$Id: $
Author:
thedesloge

Constructor Summary
Jsr160Client()
          Constructor for Jsr160Client.
 
Method Summary
protected  Map<String,Object> generateMap(int port, int timeout)
          generateMap
protected  ConnectionWrapper getMBeanServerConnection(Map<String,Object> parameterMap, InetAddress address)
          getMBeanServerConnection
 void setFactory(String factory)
          setFactory
 void setFriendlyName(String name)
          setFriendlyName
 void setPassword(String password)
          setPassword
 void setProtocol(String protocol)
          setProtocol
 void setType(String type)
          setType
 void setUrlPath(String urlPath)
          setUrlPath
 void setUsername(String username)
          setUsername
 
Methods inherited from class org.opennms.netmgt.provision.detector.jmx.client.JMXClient
close, connect, receiveBanner, sendRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jsr160Client

public Jsr160Client()

Constructor for Jsr160Client.

Method Detail

generateMap

protected Map<String,Object> generateMap(int port,
                                         int timeout)

generateMap

Specified by:
generateMap in class JMXClient
Parameters:
port - a int.
timeout - a int.
Returns:
a Map object.

getMBeanServerConnection

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

getMBeanServerConnection

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

setFactory

public void setFactory(String factory)

setFactory

Parameters:
factory - a String object.

setFriendlyName

public void setFriendlyName(String name)

setFriendlyName

Parameters:
name - a String object.

setUsername

public void setUsername(String username)

setUsername

Parameters:
username - a String object.

setPassword

public void setPassword(String password)

setPassword

Parameters:
password - a String object.

setUrlPath

public void setUrlPath(String urlPath)

setUrlPath

Parameters:
urlPath - a String object.

setType

public void setType(String type)

setType

Parameters:
type - a String object.

setProtocol

public void setProtocol(String protocol)

setProtocol

Parameters:
protocol - a String object.


Copyright © 2011. All Rights Reserved.