public interface ServerLifeCycleTaskRuntimeMBean extends TaskRuntimeMBean, ServerLifeCycleTaskStatus, Remote
Exposes monitoring information about a server's lifecycle. Remote clients as well as clients running within a server can access this information.
An operation (task) to change a server's state will fork a separate thread to perform the actual work and immediately return an instance of this MBean to the caller. The caller can then use this MBean to track the task's progress as desired.
PROGRESS_FAILED, PROGRESS_PENDING, PROGRESS_PROCESSING, PROGRESS_SUCCESSCOMPLETED, FAILED, TASK_IN_PROGRESS| Modifier and Type | Method and Description |
|---|---|
String |
getOperation()
Gets the name of the method that was invoked on the ServerLifeCycleRuntime
to initiate this task.
|
String |
getServerName()
The name of the server.
|
cancel, getBeginTime, getDescription, getEndTime, getError, getParentTask, getProgress, getStatus, getSubTasks, isRunning, isSystemTask, setSystemTaskaddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListener