org.apache.geronimo.mavenplugins.geronimo
Class ServerProxy

java.lang.Object
  extended by org.apache.geronimo.mavenplugins.geronimo.ServerProxy

public class ServerProxy
extends Object

Helper to communicate with a remote server via JMX.


Constructor Summary
ServerProxy(JMXServiceURL url, Map environment)
           
ServerProxy(String hostname, int port, String username, String password)
           
ServerProxy(String url, String username, String password)
           
 
Method Summary
 String getGeronimoHome()
           
 Throwable getLastError()
           
 boolean isFullyStarted()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 url,
                   String username,
                   String password)
            throws Exception
Throws:
Exception
Method Detail

isFullyStarted

public boolean isFullyStarted()

getGeronimoHome

public String getGeronimoHome()

getLastError

public Throwable getLastError()

shutdown

public void shutdown()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.