BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.runtime
Interface ServerLifeCycleTaskRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, Remote, weblogic.management.runtime.RuntimeMBean, ServerLifeCycleTaskStatus, TaskRuntimeMBean, weblogic.management.WebLogicMBean

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.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getOperation

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

Returns:

getServerName

public String getServerName()
The name of the server.

Returns:
The serverMBean value

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