|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.probe.jmxconnection.simple.JmxConnectionServiceImpl
public class JmxConnectionServiceImpl
Simple (non pooled) implementation of the JmxConnectionService.
| Field Summary | |
|---|---|
static String |
PROP_PASSWORD
Name of the property giving jmx connection password |
static String |
PROP_PROTOCOL_PROVIDER_PACKAGES
Name of the property giving the provider pacakges |
static String |
PROP_USER
Name of the property giving jmx connection user |
| Constructor Summary | |
|---|---|
JmxConnectionServiceImpl()
|
|
| Method Summary | |
|---|---|
JmxConnectionFactory |
getJmxConnectionFactory(String url,
Map<String,String> props)
Get the JmxConnectionFactory for these parameters. |
void |
removeJmxConnectionFactory(String targetUrl)
Remove the JmxConnectionFactory corresponding to the given url |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_USER
public static final String PROP_PASSWORD
public static final String PROP_PROTOCOL_PROVIDER_PACKAGES
| Constructor Detail |
|---|
public JmxConnectionServiceImpl()
| Method Detail |
|---|
public void start()
public void stop()
public JmxConnectionFactory getJmxConnectionFactory(String url,
Map<String,String> props)
throws JmxConnectionException
getJmxConnectionFactory in interface JmxConnectionServiceurl - jmx url for the targetprops - properties for connector creation
JmxConnectionException - Thrown if connector could not be created, contains the cause.public void removeJmxConnectionFactory(String targetUrl)
removeJmxConnectionFactory in interface JmxConnectionServicetargetUrl - jmx url
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||