org.ow2.jasmine.probe.jmxconnection.simple
Class JmxConnectionFactoryImpl
java.lang.Object
org.ow2.jasmine.probe.jmxconnection.simple.JmxConnectionFactoryImpl
- All Implemented Interfaces:
- JmxConnectionFactory
public class JmxConnectionFactoryImpl
- extends Object
- implements JmxConnectionFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxConnectionFactoryImpl
public JmxConnectionFactoryImpl(String url,
Map<String,String> props)
throws JmxConnectionException
- Constructor
- Parameters:
url - props -
- Throws:
JmxConnectionException
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.