Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Create a Script Interceptor

Configuration Options     Related Tasks     Related Topics

Use these pages to create a script interceptor.

Configuration Options

Name Description
Name

The user-specified name of this MBean instance.

This name is included as one of the key properties in the MBean's javax.management.ObjectName:

Name=user-specified-name

MBean Attribute:
ScriptInterceptorMBean.Name

Changes take effect after you redeploy the module or restart the server.

Priority

The priority of this intercepted method in the interceptor chain. An interceptor with a higher priority will be executed earlier than an interceptor with a lower priority.

Note: 1073741823 is actually Integer.MAX_VALUE / 2 as defined in InterceptorPriorities.

MBean Attribute:
ScriptInterceptorMBean.Priority

Dynamic Clusters

MBean Attribute:
ScriptInterceptorMBean.ApplicableClusterNames

Script Path

Returns the path to the script to be executed. If null or empty, the script will not be executed. The value should be the path to the script program. If the command is not set, the script is effectively disabled. When specified as a relative path, it will be relative to DomainDir/bin/scripts directory. When specified as an absolute path, the script must be under DomainDir/bin/scripts directory.

MBean Attribute:
PostProcessorScriptMBean.PathToScript

Working Directory

MBean Attribute:
PostProcessorScriptMBean.WorkingDirector

Changes take effect after you redeploy the module or restart the server.

Script Environment

Returns the properties used to create environment for the script sub-process.

MBean Attribute:
PostProcessorScriptMBean.Environment

Script Arguments

The arguments to the command script as well as for the error-handler script

MBean Attribute:
PostProcessorScriptMBean.Arguments

Error Handler Script

Returns the path to the error handler script to be executed. If null or empty, the script will not be executed. The value should be the path to the script program. If the command is not set, the error handler is effectively disabled. Note that the error handler script is executed using the same arguments and and environment as the command script. When specified as a relative path, it will be relative to DomainDir/bin/scripts directory. When specified as an absolute path, the script must be under DomainDir/bin/scripts directory.

MBean Attribute:
PostProcessorScriptMBean.PathToErrorHandlerScript

Related Tasks

Related Topics


Back to Top