|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.admin.Administrator
public class Administrator
Provides several services to administrate the xBus.
Constructor Summary | |
---|---|
Administrator()
|
Method Summary | |
---|---|
java.lang.String |
demandStopBackgroundReceiver(java.lang.String system)
Demands the stop of a background receiver. |
java.lang.String |
explainErrorcode(java.lang.String key)
Explains an errorcode. |
java.lang.String |
getDeletedMessageFilenames()
Reads the filenames that are currently in the Deleted Message Store. |
java.lang.String |
getJVMStatus()
Returns some information about the state of the Java Virtual Machine, containing memory consumption and information about the environment. |
java.lang.String |
getReceiverServiceStatus()
Returns lists of running, stopped and killed ReceiverThreads. |
java.lang.String |
readEtc(java.lang.String filename)
Reads a file from XBUS_HOME/etc . |
java.lang.String |
readLog(java.lang.String filename,
int maxLength)
Reads a file from XBUS_HOME/log . |
java.lang.String |
resendDeletedMessage(java.lang.String filename)
Resends a message from the Deleted Message Store |
java.lang.String |
restartReceiverService()
Stopping all background services, refreshes the configuration and starts the background services again. |
java.lang.String |
startBackgroundReceiver(java.lang.String system)
Starts a background receiver. |
java.lang.String |
stopReceiverService()
Stops the ReceiverService completely, including the JMX server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Administrator()
Method Detail |
---|
public java.lang.String readEtc(java.lang.String filename)
XBUS_HOME/etc
.
filename
- the name of the file to read
public java.lang.String readLog(java.lang.String filename, int maxLength)
XBUS_HOME/log
.
filename
- the name of the filemaxLength
- maximum length to read in kbyte.
public java.lang.String explainErrorcode(java.lang.String key)
key
- the errorcode to explain
public java.lang.String restartReceiverService()
public java.lang.String stopReceiverService()
public java.lang.String getReceiverServiceStatus()
public java.lang.String getJVMStatus()
public java.lang.String demandStopBackgroundReceiver(java.lang.String system)
system
- the name of the system
public java.lang.String startBackgroundReceiver(java.lang.String system)
system
- the name of the system
public java.lang.String getDeletedMessageFilenames()
public java.lang.String resendDeletedMessage(java.lang.String filename)
filename
- the filename of the deleted message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |