BEA Systems, Inc.

weblogic.management.runtime
Interface ServerLifeCycleTaskRuntimeMBean

All Superinterfaces:
Remote, ServerLifeCycleTaskStatus, TaskRuntimeMBean

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.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Access limited to the following security roles:
Operator

Field Summary
 
Fields inherited from interface weblogic.management.runtime.ServerLifeCycleTaskStatus
COMPLETED, FAILED, TASK_IN_PROGRESS
 
Method Summary
 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.
 
Methods inherited from interface weblogic.management.runtime.TaskRuntimeMBean
cancel, getBeginTime, getDescription, getEndTime, getError, getParentTask, getStatus, getSubTasks, isRunning, isSystemTask
 

Method Detail

getServerName

String getServerName()
The name of the server.

Returns:
The serverMBean value

getOperation

String getOperation()
Gets the name of the method that was invoked on the ServerLifeCycleRuntime to initiate this task.

Returns:

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.