|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerAdminMBean
MBean interface for exposing Server Adminstration functionalities
Method Summary | |
---|---|
void |
endMaintenance()
Method to change the state of a node from "maintenance" to "normal" |
java.lang.String |
getServerDataAsString()
Get information about this WSAS instance |
java.lang.String |
getServerStatus()
Get the current status of this WSAS instance |
java.lang.String |
getServerVersion()
Get the version of this WSAS instance |
boolean |
isAlive()
Method to check whether this WSAS instance is alive |
void |
restart()
Forcefully restart this WSAS instance |
void |
restartGracefully()
Gracefully restart this WSAS instance. |
void |
shutdown()
Forcefully shutdown this WSAS instance |
void |
shutdownGracefully()
Gracefully shutdown this WSAS instance All client connections will be served before shutting down the server |
void |
startMaintenance()
Method to switch a node to maintenance mode. |
Method Detail |
---|
void restart() throws java.lang.Exception
java.lang.Exception
- If an error occurs while restartingvoid shutdown() throws java.lang.Exception
java.lang.Exception
- If an error occurs while shutting downvoid restartGracefully() throws java.lang.Exception
java.lang.Exception
- If an error occurs while restartingvoid shutdownGracefully() throws java.lang.Exception
java.lang.Exception
- If an error occurs while shutting downvoid startMaintenance() throws java.lang.Exception
java.lang.Exception
- If an error occurred while switching to maintenace modevoid endMaintenance() throws java.lang.Exception
java.lang.Exception
- If an error occurred while switching to normal modejava.lang.String getServerDataAsString() throws java.lang.Exception
java.lang.Exception
- If an error occurred while retrieving server informationjava.lang.String getServerVersion()
boolean isAlive()
java.lang.String getServerStatus() throws java.lang.Exception
org.wso2.wsas.ServerStatus#RUNNING
, org.wso2.wsas.ServerStatus#SHUTTING_DOWN
,org.wso2.wsas.ServerStatus#RESTARTING
,org.wso2.wsas.ServerStatus#IN_MAINTENANCE
java.lang.Exception
ServerStatus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |