Configures an action that can execute an external command-line process. This action type can be used to execute custom scripts when a policy rule is triggered.
Note that any child process forked by an action of this type will have all the rights and privileges of the WebLogic Server process that spawns it. Care must be taken that the target script is available and can be read/executed by the system-level identity that owns the WebLogic Server process.
Since | 12.2.1.0.0 | ||
Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
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.diagnostics.descriptor.WLDFScriptActionBean
|
||
Factory Methods | |||
Additional Access Points |
In addition to accessing this MBean by invoking a factory method, you can also access this MBean from the following MBean attributes:
|
||
Access Points Inherited from WLDFNotificationBean |
Because this MBean extends or implements WLDFNotificationBean, you can also access this MBean by retrieving WLDFNotificationBeans. The following attributes contain WLDFNotificationBeans and its subtypes:
|
This section describes the following attributes:
Specifies whether this action is enabled.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
A map of environment variables to set for the child process.
Privileges | Read/Write |
Type | java.util.Properties |
Return the unique id of this bean instance.
Privileges | Read only |
Type | long |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The name of the WebLogic Diagnostic Framework (WLDF) bean.
Privileges | Read only |
Type | java.lang.String |
An array of ordered command-line arguments to the target script.
Privileges | Read/Write |
Type | class java.lang.String[] |
The full path to the script to execute.
Privileges | Read/Write |
Type | java.lang.String |
The length of time, in seconds, that an action has to complete execution. By default, the timeout period is 0, which disables the action timeout.
Available Since | Release 12.2.1.0.0 |
Privileges | Read/Write |
Type | int |
The working directory for the child process. If not set the working directory will be the same as the WebLogic Server parent process.
Privileges | Read/Write |
Type | java.lang.String |
This section describes the following operations:
|
Return true if the given property has been explicitly set in this bean.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|