public class ReplaceInterceptorRefTask extends SISSubTask
sis-management
element.
For example:
<sis-management
raentity="foo">
<replaceinterceptorref name="bar">
<interceptor name="bar interceptor" vendor="com.mycompany" version="1.0"/>
</replaceinterceptorref>
</sis-management>
This task invokes the InterceptorManagementMBean.replaceInterceptorRef(com.opencloud.slee.resources.sis.components.InterceptorRefID, com.opencloud.slee.resources.sis.components.InterceptorID)
management operation.
Attribute | Description | Required |
name | The name of the interceptor reference to replace. | Yes. |
failonerror | Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. | No. Default is inherited from the enclosing SISManagementTask . |
Element | Description |
interceptor |
Contains the interceptor component ID for the interceptor component. |
Constructor and Description |
---|
ReplaceInterceptorRefTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredInterceptor(InterceptorComponentElement interceptor) |
void |
setName(String name) |
execute, getFailOnError, setFailOnError
public void setName(String name)
public void addConfiguredInterceptor(InterceptorComponentElement interceptor)