To
replace an existing service reference with a reference to an external platform,
use the following sis-console command, Ant task, or related MBean operation.
Console command
replaceexternalserviceref
Command |
replaceexternalserviceref <ra-entity> <name> <external-platform-name> Replace a service reference with a binding to an external platform definition
|
||
|---|---|---|---|
Example |
To replace an existing service reference called $ ./sis-console replaceexternalserviceref sis VPN iVPN-External Replaced service reference VPN with reference to external platform iVPN-External |
Ant task
replaceserviceref
Task |
<replaceserviceref name="..." type="external" extPlatformName="..."/> |
|---|---|
Example |
To replace a service reference called <sis-in-management>
<replaceserviceref name="VPN" type="external" extPlatformName="iVPN-External"/>
</sis-in-management>
or <sis-sip-management>
<replaceserviceref name="VPN" type="external" extPlatformName="iVPN-External"/>
</sis-sip-management>
|
MBean operation
MBean |
|---|
replaceServiceRef
Operation |
To replace a service reference with a new reference to an external platform definition: public void replaceServiceRef(String name, ExternalPlatformID extPlatformID)
throws NullPointerException, DeploymentException,
ManagementException;
|
|---|
