Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface ScriptInterceptorMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, InterceptorMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface ScriptInterceptorMBean
extends InterceptorMBean

This interface provides configuration for a script interceptor.

Since:
12.2.1

Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String[] getApplicableClusterNames()
           
abstract  PostProcessorScriptMBean getPostProcessor()
          Returns the configuration for the post-processor script which will be invoked after executing the intercepted operation.
abstract  PreProcessorScriptMBean getPreProcessor()
          Returns the configuration for the pre-processor script which will be invoked before executing the interceptor operation.
abstract  void setApplicableClusterNames(String[] applicableClusterNames)
          Set the array of names of clusters to which this interceptor will be applicable.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getApplicableClusterNames

String[] getApplicableClusterNames()

setApplicableClusterNames

void setApplicableClusterNames(String[] applicableClusterNames)
Set the array of names of clusters to which this interceptor will be applicable.
Parameters:
applicableClusterNames - Array of names of applicable dynamic clusters

getPreProcessor

PreProcessorScriptMBean getPreProcessor()
Returns the configuration for the pre-processor script which will be invoked before executing the interceptor operation. Note that if the command specified by the returned configuration is not set or empty, this interceptor will not perform any action before execution of the intercepted operation. If the pre-processor script (if specified) returns a non-zero status, the error handler script (if specified) will be executed and a PreProcessingException will occur.
Returns:
Configuration for the pre-processor script (if any) that will be invoked before excuting the intercepted operation.

getPostProcessor

PostProcessorScriptMBean getPostProcessor()
Returns the configuration for the post-processor script which will be invoked after executing the intercepted operation. Note that if the command specified by the returned configuration is not set or empty, this interceptor will not perform any action after execution of the intercepted operation. If the pre-processor script (if specified) failed, or the intercepted operation or another interceptor causes an exception, the post-processor script (even if specified) will not be executed. If the post-processor script (if specified) returns a non-zero status, the error handler script (if specified) will be executed and a PostProcessingException will occur.
Returns:
Configuration for the post-processor script (if any) that will be invoked after excuting the intercepted operation.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09