DeploymentTaskRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Base interface for deployment task MBeans. These MBeans track the progress of a deployment task.

Deprecated. 9.0.0.0 Replaced by WebLogicDeploymentManager

           
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.DeploymentTaskRuntimeMBean
Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points Inherited from TaskRuntimeMBean Because this MBean extends or implements TaskRuntimeMBean, you can also access this MBean by retrieving TaskRuntimeMBeans. The following attributes contain TaskRuntimeMBeans and its subtypes:
Deprecated Factory Methods and Access Points


    Related MBeans

    This section describes attributes that provide access to other MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.


      SubTasks

      An array of TaskRuntimeMBeans that describes a set of parallel tasks which are components of this task.

      A value of null indicates that this task has no subtasks.

      A simple example of a task with subtasks would be one which monitors a user's request to start a cluster; that task should return a set of subtasks indicating the individual server-startup processes which compose the overall cluster-startup task.

             
      Factory Methods No explicit creator method. The child shares the lifecycle of its parent.
      Privileges Read only
      TypeTaskRuntimeMBean[]
      Relationship type: Containment.


      Attributes

      This section describes the following attributes:


      ApplicationName

      The name for the application that was specified to DeployerRuntime.activate

             
      Privileges Read only
      Typejava.lang.String

      BeginTime

      The time at which this task was started.

             
      Privileges Read only
      Typelong

      DeploymentData

      Provides the data associated with this task

             
      Privileges Read only
      Typeweblogic.management.deploy.DeploymentData

      DeploymentMBean

             
      Available Since Release 9.0.0.0
      Privileges Read only
      Type

      Description

      A description of this task.

             
      Privileges Read only
      Typejava.lang.String

      EndTime

      The time at which this task was completed.

      A value of -1 indicates that the task is currently running.

             
      Privileges Read only
      Typelong

      Error

      Returns an exception describing the error, if any, that occurred while performing this task.

             
      Privileges Read only
      Typejava.lang.Exception

      Id

      Provides a reference id assigned to a task.

             
      Privileges Read only
      Typejava.lang.String

      InUse

      Indicates whether the MBean is free for deletion or timeout.

             
      Privileges Read only
      Typeboolean

      Name

      The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

             
      Privileges Read only
      Typejava.lang.String

      NewSource

      Indicates whether a new source for the application was specified in an deployment request.

             
      Privileges Read only
      Typeboolean

      NotificationLevel

      Provides the notification level applied to this task.

             
      Privileges Read/Write
      Typeint

      Parent

      Return the immediate parent for this MBean

             
      Privileges Read/Write
      Type

      ParentTask

      The task of which this task is a part.

      A value of null indicates that this task is not a subtask.

      For more information, see:

             
      Privileges Read only
      Type

      Running

      Indicates whether the task is still running.

             
      Privileges Read only
      Typeboolean

      Source

      Provides the name of the source file that was specified to DeployerRuntime.activate.

             
      Privileges Read only
      Typejava.lang.String

      State

      Provides notice of the overall state of this task.

             
      Privileges Read only
      Typeint

      Status

      The status of this task.

             
      Privileges Read only
      Typejava.lang.String

      SystemTask

      Indicates whether this task was initiated by the server versus a user.

             
      Privileges Read only
      Typeboolean

      Targets

      Provides target based deployment status information for this deployment. For distributed deployment, there is one TargetStatus for each target

             
      Privileges Read only
      Typeclass weblogic.management.deploy.TargetStatus[]

      Task

      Indicates a specific task associated with this MBean

             
      Privileges Read only
      Typeint

      TaskMessages

      Provides an ordered list of messages generated for the task. Each member in the list is a String object.

             
      Privileges Read only
      Typejava.util.List

      Type

      Returns the type of the MBean.

             
      Privileges Read only
      Typejava.lang.String


      Operations

      This section describes the following operations:


      cancel

      Attempts to cancel the task. Any actions which have yet to start will be inhibited. Any completed actions will remain in place.

         
      Operation Name"cancel"
      Parametersnull
      Signaturenull
      Returns void
      Exceptions
      • java.lang.Exception

      findTarget

      Lists the status for a specific target of this deployment.

         
      Operation Name"findTarget"
      ParametersObject [] {  target }

      where:

      • target is an object of type java.lang.String that specifies:

        is the name of a target (server or cluster name)

      SignatureString [] { "java.lang.String" }
      ReturnsTargetStatus

      start

      Initiates the request. When invoking DeployerRuntimeMBean#activate(String, String, String, DeploymentData, String, boolean) , DeployerRuntimeMBean#deactivate(String, DeploymentData, String, boolean) , DeployerRuntimeMBean#unprepare(String, DeploymentData, String, boolean) , or DeployerRuntimeMBean#remove(String, DeploymentData, String, boolean) with the startTask option set to false, this method is used to initiate the task. throws ManagementException if task is already started or any failures occur during task processing.

         
      Operation Name"start"
      Parametersnull
      Signaturenull
      Returns void
      Exceptions
      • weblogic.management.ManagementException