To
activate and deactivate triggers,
use the following sis-console
commands, Ant tasks, or related MBean operations.
When processing an initial request, the SIS evaluates only activated triggers. |
Console commands
Ant tasks
activatetrigger
Task |
<activatetrigger> <trigger name="..." vendor="..." version="..."/> </activatetrigger> |
---|---|
Example |
<sis-in-management> <activatetrigger> <trigger name="Example" vendor="ABC" version="1.0"/> </activatetrigger> </sis-in-management> or <sis-sip-management> <activatetrigger> <trigger name="Example" vendor="ABC" version="1.0"/> </activatetrigger> </sis-sip-management> |
deactivatetrigger
Task |
<deactivatetrigger> <trigger name="..." vendor="..." version="..."/> </deactivatetrigger> |
---|---|
Example |
<sis-in-management> <deactivatetrigger> <trigger name="Example" vendor="ABC" version="1.0"/> </deactivatetrigger> </sis-in-management> or <sis-sip-management> <deactivatetrigger> <trigger name="Example" vendor="ABC" version="1.0"/> </deactivatetrigger> </sis-sip-management> |
MBean operations
MBean |
---|
activate
Operation |
public void activate(TriggerID id) throws NullPointerException, UnrecognizedComponentException, InvalidStateException, ManagementException; |
---|
deactivate
Operation |
public void deactivate(TriggerID id) throws NullPointerException, UnrecognizedComponentException, InvalidStateException, ManagementException; |
---|