To
replace an existing service reference with a reference to a local JAIN SLEE service,
use the following sis-console command, Ant task, or related MBean operation.
Console command
replacelocalserviceref
Command |
replacelocalserviceref <ra-entity> <name> <service-id>
Replace a service reference with a binding to a local SLEE service
|
||
|---|---|---|---|
Example |
To replace an existing service reference called $ ./sis-console replacelocalserviceref sis VPN "name=iVPN Service,vendor=OpenCloud,version=1.0" Replaced service reference VPN with reference to local SLEE service ServiceID[name=iVPN Service,vendor=OpenCloud,version=1.0] |
Ant task
replaceserviceref
Task |
<replaceserviceref name="..." type="local">
<service name="..." vendor="..." version="..."/>
</replaceserviceref>
|
|---|---|
Example |
To replace a service reference called <sis-in-management>
<replaceserviceref name="VPN" type="local">
<service name="iVPN Service" vendor="OpenCloud" version="1.0"/>
</replaceserviceref>
</sis-in-management>
or <sis-sip-management>
<replaceserviceref name="VPN" type="local">
<service name="iVPN Service" vendor="OpenCloud" version="1.0"/>
</replaceserviceref>
</sis-sip-management>
|
MBean operation
MBean |
|---|
replaceServiceRef
Operation |
To replace a service reference with a new reference to a local JAIN SLEE service: public void replaceServiceRef(String name, ServiceID serviceID)
throws NullPointerException, DeploymentException, ManagementException;
|
|---|
