|
||||||||||
| 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" |
String |
getServerDataAsString()
Get information about this WSAS instance |
String |
getServerStatus()
Get the current status of this WSAS instance |
String |
getServerVersion()
Get the version of this WSAS instance |
boolean |
isAlive()
Method to check whether this WSAS instance is alive |
boolean |
restart()
Forcefully restart this WSAS instance |
boolean |
restartGracefully()
Gracefully restart this WSAS instance. |
boolean |
shutdown()
Forcefully shutdown this WSAS instance |
boolean |
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 |
|---|
boolean restart()
throws Exception
Exception - If an error occurs while restarting
boolean shutdown()
throws Exception
Exception - If an error occurs while shutting down
boolean restartGracefully()
throws Exception
Exception - If an error occurs while restarting
boolean shutdownGracefully()
throws Exception
Exception - If an error occurs while shutting down
void startMaintenance()
throws Exception
Exception - If an error occurred while switching to maintenace mode
void endMaintenance()
throws Exception
Exception - If an error occurred while switching to normal mode
String getServerDataAsString()
throws Exception
Exception - If an error occurred while retrieving server informationString getServerVersion()
boolean isAlive()
String getServerStatus()
throws Exception
ServerStatus.STATUS_RUNNING, ServerStatus.STATUS_SHUTTING_DOWN,ServerStatus.STATUS_RESTARTING,ServerStatus.STATUS_IN_MAINTENANCE Exception - If an error occurs while retrieving the statusServerStatus
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||