com.ibm.websphere.application
Interface ApplicationMBean
- public interface ApplicationMBean
javax.management.JMX#newMBeanProxy
method.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getPid()
Retrieves the value of the read-only attribute Pid (service persistent identifier).
|
|
getState()
Retrieves the value of the read-only attribute State, which represents the current state of the application.
|
|
restart()
Invokes the restart operation, requesting that the Liberty profile restart the application.
|
|
start()
Invokes the start operation, requesting that the Liberty profile start the application.
|
|
stop()
Invokes the stop operation, requesting that the Liberty profile stop the application.
|
Method Detail
getState
- java.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
getPid
- java.lang.String getPid()
Retrieves the value of the read-only attribute Pid (service persistent identifier).
Returns:
application pid
start
- void start()
Invokes the start operation, requesting that the Liberty profile start the application.
stop
- void stop()
Invokes the stop operation, requesting that the Liberty profile stop the application.
restart
- void restart()
Invokes the restart operation, requesting that the Liberty profile restart the application.