org.oddjob.jmx
Class ServerStrategy
java.lang.Object
org.oddjob.jmx.ServerStrategy
public abstract class ServerStrategy
- extends Object
Used to alter behaviour between having a remote connector
and using the Platform MBean Server.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerStrategy
public ServerStrategy()
stratagyFor
public static ServerStrategy stratagyFor(String url)
throws MalformedURLException
- Throws:
MalformedURLException
findServer
public abstract MBeanServer findServer()
serverIdText
public abstract String serverIdText()
throws JMException
- Throws:
JMException
startConnector
public abstract JMXConnectorServer startConnector(Map<String,?> environment)
throws IOException
- Throws:
IOException
getAddress
public abstract String getAddress()