Replaces a service reference for a SIS RA entity.
The SIS RA entity to manage to is specified by the enclosing
SISManagementTask
element.
For example:
<sis-sip-management
raentity="foo">
<replaceserviceref name="vpn" type="local">
<service name="vpn" vendor="com.mycompany" version="1.0"/>
</replaceserviceref>
</sis-sip-management>
This task invokes the
ServiceRefManagementMBean.replaceServiceRef(String, ServiceID)
or
ServiceRefManagementMBean.replaceServiceRef(String, ExternalPlatformID)
management operation,
depending on the
type
parameter provided.
Ant Parameters
Attribute |
Description |
Required |
name |
The name of the service reference to replace. |
Yes. |
type |
The type of service reference to create, either "LOCAL" or "EXTERNAL" (case-insensitive). |
Yes. |
extPlatformName |
Only required for external service references. Contains the name of the external platform definition. |
Yes if type="EXTERNAL" |
failonerror |
Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. |
No. Default is inherited from the enclosing SISManagementTask . |
Parameters specified as nested elements
Element |
Description |
service |
Only required for local service references. Contains the service component ID for the local service. |