|
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-nameMBean Attribute:
ScriptInterceptorMBean.NameChanges 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.PriorityDynamic Clusters MBean Attribute:
ScriptInterceptorMBean.ApplicableClusterNamesScript 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/scriptsdirectory. When specified as an absolute path, the script must be underDomainDir/bin/scriptsdirectory.MBean Attribute:
PostProcessorScriptMBean.PathToScriptWorking Directory MBean Attribute:
PostProcessorScriptMBean.WorkingDirectorChanges 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.EnvironmentScript Arguments The arguments to the command script as well as for the error-handler script
MBean Attribute:
PostProcessorScriptMBean.ArgumentsError 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/scriptsdirectory. When specified as an absolute path, the script must be underDomainDir/bin/scriptsdirectory.MBean Attribute:
PostProcessorScriptMBean.PathToErrorHandlerScript
| |