org.ow2.jasmine.probe.jmxconnection.simple
Class JmxConnectionFactoryImpl

java.lang.Object
  extended by org.ow2.jasmine.probe.jmxconnection.simple.JmxConnectionFactoryImpl
All Implemented Interfaces:
JmxConnectionFactory

public class JmxConnectionFactoryImpl
extends Object
implements JmxConnectionFactory


Constructor Summary
JmxConnectionFactoryImpl(String url, Map<String,String> props)
          Constructor
 
Method Summary
 void close()
          Close the Factory: Not use any longer: release resources.
 MBeanServerConnection getMBeanServerConnection()
          Get a MBeanServerConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxConnectionFactoryImpl

public JmxConnectionFactoryImpl(String url,
                                Map<String,String> props)
                         throws JmxConnectionException
Constructor

Parameters:
url -
props -
Throws:
JmxConnectionException
Method Detail

close

public void close()
           throws JmxConnectionException
Description copied from interface: JmxConnectionFactory
Close the Factory: Not use any longer: release resources.

Specified by:
close in interface JmxConnectionFactory
Throws:
JmxConnectionException - Cannot close the Connector

getMBeanServerConnection

public MBeanServerConnection getMBeanServerConnection()
                                               throws JmxConnectionException
Description copied from interface: JmxConnectionFactory
Get a MBeanServerConnection

Specified by:
getMBeanServerConnection in interface JmxConnectionFactory
Returns:
the MBeanServerConnection
Throws:
JmxConnectionException - Connection could not be established


Copyright © 2013 OW2 Consortium. All Rights Reserved.