ActivationTaskMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Provides information about an activation task, which is initiated by invoking the ConfigurationManagerMBean activate operation.

To describe the changes that are being activated in the domain, this MBean contains one Configuration object for each change that was saved to the domain's pending configuration files.

This MBean also contains attributes that describe the status of the activation operation as it attempts to distribute changes to all servers in the domain.

           
Since9.0.0.0
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.mbeanservers.edit.ActivationTaskMBean

For more information, see:

Factory Methods No factory methods. Instances of this MBean are created automatically.
Access Points You can access this MBean from the following MBean attributes:
    Access Points Inherited from Service Because this MBean extends or implements Service, you can also access this MBean by retrieving Services. The following attributes contain Services and its subtypes:


      Attributes

      This section describes the following attributes:


      Changes

      Contains the Change objects that describe the changes that are being activated.

      Each Change object describes a change to a single MBean attribute.

             
      Privileges Read only
      Typeinterface weblogic.management.mbeanservers.edit.Change[]
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      CompletionTime

      The time at which the activation task completes, either by successfully activating changes on all servers, rolling back all changes (because a server was unable to consume the changes), or by timing out.

             
      Privileges Read only
      Typelong
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Details

      Contains all available information about the current activation task in a single String object.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Error

      Returns the exception that describes why the activation has failed.

      To see how each server responded to the activation request, get the value of this MBean's StatusByServer attribute.

             
      Privileges Read only
      Typejava.lang.Exception
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Name

      A unique key that WebLogic Server generates to identify the current instance of this MBean type.

      For a singleton, such as DomainRuntimeServiceMBean, this key is often just the bean's short class name.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      ParentService

      The MBean that created the current MBean instance.

      In the data model for WebLogic Server MBeans, an MBean that creates another MBean is called a parent. MBeans at the top of the hierarchy have no parents.

             
      Privileges Read only
      Typeweblogic.management.provider.Service
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      StartTime

      The time at which the ConfigurationManagerMBean activate operation was invoked.

             
      Privileges Read only
      Typelong
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      State

      The state of the activation task, which is initiated by invoking the ConfigurationManagerMBean activate operation.

             
      Privileges Read only
      Typeint
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      StatusByServer

      The state of the activation task on each server in the domain.

      If any server fails to activate the changes, the activation task is rolled back for all servers in the domain.

             
      Privileges Read only
      Typeinterface weblogic.management.mbeanservers.edit.ServerStatus[]
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      Type

      The MBean type for this instance. This is useful for MBean types that support multiple intances, such as ActivationTaskMBean.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

      User

      The name of the user who invoked the ConfigurationManagerMBean activate operation.

             
      Privileges Read only
      Typejava.lang.String
      Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.


      Operations

      This section describes the following operations:


        waitForTaskCompletion

        Allows the caller to wait until any of the following occurs:

           
        Operation Name"waitForTaskCompletion"
        ParametersObject [] {  timeout }

        where:

        • timeout is an object of type java.lang.Long that specifies:

          long that specifies the time (milliseconds) to wait for the activate deployment request to complete.

        SignatureString [] { "java.lang.Long" }
        Returns void

        waitForTaskCompletion

        Allows the caller to wait until the activation task completes (either by successfully distributing changes or by rolling back the task) or times out.

           
        Operation Name"waitForTaskCompletion"
        Parametersnull
        Signaturenull
        Returns void