To
create an interceptor reference to an interceptor component,
use the following sis-console
command, Ant task, or related MBean operation.
Console command
createinterceptorref
Command |
createinterceptorref <ra-entity> <name> <interceptor-id> Create an interceptor reference |
---|---|
Example |
To create an interceptor reference called $ ./sis-console createinterceptorref sis Example "name=Example,vendor=ABC,version=1.0" Created interceptor reference Example for interceptor InterceptorID[name=Example,vendor=ABC,version=1.0] |
Ant task
createinterceptorref
Task |
<createinterceptorref name="..."> <interceptor name="..." vendor="..." version="..."/> </createinterceptorref> |
---|---|
Example |
To create an interceptor reference called <sis-management> <createinterceptorref name="Example"> <interceptor name="Example" vendor="ABC" version="1.0"/> </createinterceptorref> </sis-management> |
MBean operation
MBean |
---|
createInterceptorRef
Operation |
To create an interceptor reference that references a SIS interceptor: public void createInterceptorRef(String name, InterceptorID interceptorID) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException; |
---|