net.sf.xbus.admin.soap
Class SOAPAdministrator

java.lang.Object
  extended by net.sf.xbus.admin.soap.SOAPAdministrator

public class SOAPAdministrator
extends java.lang.Object

Restarts the xBus by calling a web service. The xBus must run inside a servlet engine.


Constructor Summary
SOAPAdministrator()
           
 
Method Summary
 java.lang.String restart(java.lang.String host, java.lang.Integer port)
          Restarts the xBus by calling a web service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPAdministrator

public SOAPAdministrator()
Method Detail

restart

public java.lang.String restart(java.lang.String host,
                                java.lang.Integer port)
                         throws XException
Restarts the xBus by calling a web service. The xBus must run inside a servlet engine.

Parameters:
host - the host were the xBus is running
port - the port for the web service
Returns:
a message of success or failure
Throws:
XException - if something goes wrong