Package com.ibm.websphere.application
Interface ApplicationMBean
- 
 public interface ApplicationMBeanManagement interface for MBeans with names of the form "WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=*" where * is the name of an application under the Liberty profile. One such MBean for each application in the system is available from the Liberty profile platform MBean server. This interface can be used to request a proxy object via theJMX.newMBeanProxy(javax.management.MBeanServerConnection, javax.management.ObjectName, java.lang.Class<T>)method.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringSTATE_CHANGE_NOTIFICATION_KEY_STATUSUser data key for the status of the notification.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPid()Retrieves the value of the read-only attribute Pid (service persistent identifier).java.lang.StringgetState()Retrieves the value of the read-only attribute State, which represents the current state of the application.voidrestart()Invokes the restart operation, requesting that the Liberty profile restart the application.voidstart()Invokes the start operation, requesting that the Liberty profile start the application.voidstop()Invokes the stop operation, requesting that the Liberty profile stop the application.
 
- 
- 
- 
Field Detail- 
STATE_CHANGE_NOTIFICATION_KEY_STATUSstatic final java.lang.String STATE_CHANGE_NOTIFICATION_KEY_STATUS User data key for the status of the notification. The value is a java.lang.Boolean that indicates whether the event that the notification was triggered for was successful.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getStatejava.lang.String getState() Retrieves the value of the read-only attribute State, which represents the current state of the application. The value will be one of the following strings: STOPPED, STARTING, STARTED, PARTIALY_STARTED, STOPPING, INSTALLED- Returns:
- application state
 
 - 
getPidjava.lang.String getPid() Retrieves the value of the read-only attribute Pid (service persistent identifier).- Returns:
- application pid
 
 - 
startvoid start() Invokes the start operation, requesting that the Liberty profile start the application.
 - 
stopvoid stop() Invokes the stop operation, requesting that the Liberty profile stop the application.
 - 
restartvoid restart() Invokes the restart operation, requesting that the Liberty profile restart the application.
 
- 
 
-