net.sf.xbus.admin.jmx
Class AdministratorJMXConnector

java.lang.Object
  extended by net.sf.xbus.admin.jmx.AdministratorJMXConnector

public class AdministratorJMXConnector
extends java.lang.Object

Provides several services to administrate the xBus via a JMX connection.


Constructor Summary
AdministratorJMXConnector()
           
 
Method Summary
static java.lang.String demandStopBackgroundReceiver(java.lang.String system)
           
static java.lang.String explainErrorcode(java.lang.String key)
           
static java.lang.String getDeletedMessageFilenames()
           
static java.lang.String getJVMStatus()
           
static java.lang.String getReceiverServiceStatus()
           
static java.lang.String readEtc(java.lang.String filename)
           
static java.lang.String readLog(java.lang.String filename)
           
static java.lang.String resendDeletedMessage(java.lang.String system)
           
static java.lang.String restartReceiverService()
           
static java.lang.String startBackgroundReceiver(java.lang.String system)
           
static java.lang.String stopReceiverService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdministratorJMXConnector

public AdministratorJMXConnector()
Method Detail

readEtc

public static java.lang.String readEtc(java.lang.String filename)
                                throws XException
Throws:
XException
See Also:
Administrator.readEtc(String)

readLog

public static java.lang.String readLog(java.lang.String filename)
                                throws XException
Throws:
XException
See Also:
Administrator.readLog(String, int)

explainErrorcode

public static java.lang.String explainErrorcode(java.lang.String key)
                                         throws XException
Throws:
XException
See Also:
Administrator.explainErrorcode(String)

restartReceiverService

public static java.lang.String restartReceiverService()
                                               throws XException
Throws:
XException
See Also:
Administrator.stopReceiverService()

stopReceiverService

public static java.lang.String stopReceiverService()
                                            throws XException
Throws:
XException
See Also:
Administrator.stopReceiverService()

getReceiverServiceStatus

public static java.lang.String getReceiverServiceStatus()
                                                 throws XException
Throws:
XException
See Also:
Administrator.getReceiverServiceStatus()

getJVMStatus

public static java.lang.String getJVMStatus()
                                     throws XException
Throws:
XException
See Also:
Administrator.getJVMStatus()

demandStopBackgroundReceiver

public static java.lang.String demandStopBackgroundReceiver(java.lang.String system)
                                                     throws XException
Throws:
XException
See Also:
Administrator.demandStopBackgroundReceiver(String)

startBackgroundReceiver

public static java.lang.String startBackgroundReceiver(java.lang.String system)
                                                throws XException
Throws:
XException
See Also:
Administrator.startBackgroundReceiver(String)

getDeletedMessageFilenames

public static java.lang.String getDeletedMessageFilenames()
                                                   throws XException
Throws:
XException
See Also:
Administrator.getDeletedMessageFilenames()

resendDeletedMessage

public static java.lang.String resendDeletedMessage(java.lang.String system)
                                             throws XException
Throws:
XException
See Also:
Administrator.resendDeletedMessage(String)