To
install an interceptor from a local file,
use the following sis-console
command, Ant task, or related MBean operations.
Console command
installinterceptor
Command |
installinterceptor <ra-entity> <file> Install an interceptor component from a file.
|
||
---|---|---|---|
Example |
To install interceptor $ ./sis-console installinterceptor sis example-interceptor.xml Installed interceptor InterceptorID[name=Example,vendor=ABC,version=1.0] from file example-interceptor.xml |
Ant task
installinterceptor
Task |
<installinterceptor file="..."/> |
---|---|
Example |
To install interceptor <sis-management> <installinterceptor file="example-interceptor.xml"/> </sis-management> |
MBean operations
MBean |
---|
install
Operation |
To install a interceptor from a URL: public InterceptorID install(String url) throws NullPointerException, MalformedURLException, AlreadyDeployedException, DeploymentException, ManagementException;
|
---|
install
Operation |
To install a interceptor from a byte array: public InterceptorID install(byte[] content) throws NullPointerException, AlreadyDeployedException, DeploymentException, ManagementException;
|
---|