To
replace an existing extension reference with a reference to a new JAIN SLEE service,
use the following sis-console
command, Ant task, or related MBean operation:
Console command
replaceextensionref
Command |
replaceextensionref <ra-entity> <name> <service-id> Replace an extension reference with a binding to a SLEE service
|
||
---|---|---|---|
Example |
To replace an existing extension reference called $ ./sis-console replaceextensionref sis "External DB Selector" "name=External DB Selector Service,vendor=OpenCloud,version=2.0" Replaced extension reference External DB Selector with reference to SLEE service ServiceID[name=External DB Selector Service,vendor=OpenCloud,version=2.0] |
Ant task
replaceextensionref
Task |
<replaceextensionref name="..." type="service"> <service name="..." vendor="..." version="..."/> </replaceextensionref> |
---|---|
Example |
To replace an extension reference called <sis-management> <replaceextensionref name="External DB Selector" type="service"> <service name="External DB Selector Service" vendor="OpenCloud" version="2.0"/> </replaceextensionref> </sis-management> |
MBean operation
MBean |
---|
replaceExtensionRef
Operation |
To replace a service reference with a new reference to a local JAIN SLEE service: public void replaceExtensionRef(ExtensionRefID extensionRefID, ServiceID serviceID) throws NullPointerException, UnrecognizedComponentException, DeploymentException, ManagementException; |
---|