net.sf.xbus.admin.jmx
Class Administrator

java.lang.Object
  extended by net.sf.xbus.admin.jmx.Administrator
All Implemented Interfaces:
AdministratorMBean

public class Administrator
extends java.lang.Object
implements AdministratorMBean

Provides several services to administrate the xBus.


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

Constructor Detail

Administrator

public Administrator()
Method Detail

readEtc

public java.lang.String readEtc(java.lang.String source)
Specified by:
readEtc in interface AdministratorMBean
See Also:
Administrator.readEtc(String)

readLog

public java.lang.String readLog(java.lang.String source,
                                int expectedLength)
Specified by:
readLog in interface AdministratorMBean
See Also:
Administrator.readLog(String, int)

explainErrorcode

public java.lang.String explainErrorcode(java.lang.String key)
Specified by:
explainErrorcode in interface AdministratorMBean
See Also:
Administrator.explainErrorcode(String)

restartReceiverService

public java.lang.String restartReceiverService()
Specified by:
restartReceiverService in interface AdministratorMBean
See Also:
Administrator.restartReceiverService()

stopReceiverService

public java.lang.String stopReceiverService()
Specified by:
stopReceiverService in interface AdministratorMBean
See Also:
Administrator.stopReceiverService()

getReceiverServiceStatus

public java.lang.String getReceiverServiceStatus()
Specified by:
getReceiverServiceStatus in interface AdministratorMBean
See Also:
Administrator.getReceiverServiceStatus()

getJVMStatus

public java.lang.String getJVMStatus()
Specified by:
getJVMStatus in interface AdministratorMBean
See Also:
Administrator.getJVMStatus()

demandStopBackgroundReceiver

public java.lang.String demandStopBackgroundReceiver(java.lang.String system)
Specified by:
demandStopBackgroundReceiver in interface AdministratorMBean
See Also:
Administrator.demandStopBackgroundReceiver(String)

startBackgroundReceiver

public java.lang.String startBackgroundReceiver(java.lang.String system)
Specified by:
startBackgroundReceiver in interface AdministratorMBean
See Also:
Administrator.startBackgroundReceiver(String)

getDeletedMessageFilenames

public java.lang.String getDeletedMessageFilenames()
Specified by:
getDeletedMessageFilenames in interface AdministratorMBean
See Also:
Administrator.getDeletedMessageFilenames()

resendDeletedMessage

public java.lang.String resendDeletedMessage(java.lang.String filename)
Specified by:
resendDeletedMessage in interface AdministratorMBean
See Also:
Administrator.resendDeletedMessage(String)