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