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.
Since 9.0.0.0 Security roles The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
- Deployer
Fully Qualified Interface Name If 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.
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 Type interface 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 Type long 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 Type java.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 Type java.lang.Exception Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.
Name of
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 Type java.lang.String Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.
ParentAttribute
The name of the attribute of the parent that refers to this bean
Privileges Read only Type java.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 Type weblogic.management.provider.Service Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.
Path
Returns the path to the bean relative to the reoot of the heirarchy of services
Privileges Read only Type java.lang.String 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 Type long 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 Type int 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 Type interface 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 Type java.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 Type java.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 the activation task completes (either by successfully distributing changes or by rolling back the task) or times out.
Operation Name "waitForTaskCompletion"
Parameters null
Signature null
Returns void
waitForTaskCompletion
Allows the caller to wait until any of the following occurs:
The activation task completes (either by successfully distributing changes or by rolling back the task)
The activation task times out
The number of specified milliseconds elapses
Operation Name "waitForTaskCompletion"
Parameters Object [] { 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.
Signature String [] { "java.lang.Long" }
Returns void