org.apache.geronimo.commands
Class ServerProxy
java.lang.Object
org.apache.geronimo.commands.ServerProxy
public class ServerProxy
- extends Object
Helper to communicate with a remote server via JMX.
Constructor Summary |
ServerProxy(JMXConnector connector)
|
ServerProxy(JMXServiceURL url,
Map environment)
|
ServerProxy(String hostname,
int port,
String username,
String password)
|
ServerProxy(String hostname,
int port,
String username,
String password,
boolean secure)
|
ServerProxy(String url,
String username,
String password)
|
ServerProxy(String url,
String username,
String password,
boolean secure)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerProxy
public ServerProxy(JMXServiceURL url,
Map environment)
throws Exception
- Throws:
Exception
ServerProxy
public ServerProxy(String hostname,
int port,
String username,
String password)
throws Exception
- Throws:
Exception
ServerProxy
public ServerProxy(String hostname,
int port,
String username,
String password,
boolean secure)
throws Exception
- Throws:
Exception
ServerProxy
public ServerProxy(String url,
String username,
String password)
throws Exception
- Throws:
Exception
ServerProxy
public ServerProxy(String url,
String username,
String password,
boolean secure)
throws Exception
- Throws:
Exception
ServerProxy
public ServerProxy(JMXConnector connector)
throws Exception
- Throws:
Exception
closeConnection
public void closeConnection()
isFullyStarted
public boolean isFullyStarted()
getGeronimoHome
public String getGeronimoHome()
getLastError
public Throwable getLastError()
shutdown
public void shutdown()
throws Exception
- Throws:
Exception
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.