To
replace an existing interceptor reference with a reference to a new interceptor,
use the following sis-console
command, Ant task, or related MBean operation.
Console command
replaceinterceptorref
Command |
replaceinterceptorref <ra-entity> <name> <interceptor-id> Replace an interceptor reference with a binding to a new interceptor
|
||
---|---|---|---|
Example |
To replace an existing interceptor reference called $ ./sis-console replaceinterceptorref sis Example "name=Example,vendor=ABC,version=2.0" Replaced interceptor reference Example with reference to interceptor InterceptorID[name=Example,vendor=ABC,version=2.0] |
Ant task
replaceinterceptorref
Task |
<replaceinterceptorref name="..."> <interceptor name="..." vendor="..." version="..."/> </replaceinterceptorref> |
---|---|
Example |
To replace an interceptor reference called <sis-management> <replaceinterceptorref name="Example"> <interceptor name="Example" vendor="ABC" version="2.0"/> </replaceinterceptorref> </sis-management> |
MBean operation
MBean |
---|
replaceInterceptorRef
Operation |
To replace an interceptor reference with a new reference to a SIS interceptor: public void replaceInterceptorRef(InterceptorRefID interceptorRefID, InterceptorID serviceID) throws NullPointerException, UnrecognizedComponentException, DeploymentException, ManagementException; |
---|