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

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

public class JmxConnectionServiceImpl
extends Object
implements JmxConnectionService

Simple (non pooled) implementation of the JmxConnectionService.

Author:
danesa

Constructor Summary
JmxConnectionServiceImpl()
           
 
Method Summary
 JmxConnectionFactory getJmxConnectionFactory(String url, Map<String,Object> env)
          Get the JmxConnectionFactory for these parameters.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxConnectionServiceImpl

public JmxConnectionServiceImpl()
Method Detail

start

public void start()

stop

public void stop()

getJmxConnectionFactory

public JmxConnectionFactory getJmxConnectionFactory(String url,
                                                    Map<String,Object> env)
                                             throws JmxConnectionException
Get the JmxConnectionFactory for these parameters.

Specified by:
getJmxConnectionFactory in interface JmxConnectionService
Parameters:
url - jmx url for the target
env - properties for connector creation
Throws:
JmxConnectionException - Thrown if connector could not be created, contains the cause.


Copyright © 2011 OW2 Consortium. All Rights Reserved.