Class ReplaceExtensionRefTask


  • public class ReplaceExtensionRefTask
    extends SISSubTask
    Replaces an extension 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">
       <replaceextensionref name="bar" type="service">
         <service name="bar extension" vendor="com.mycompany" version="1.0"/>
       </replaceextensionref>
     </sis-sip-management>
     
    This task invokes the ExtensionRefManagementMBean.replaceExtensionRef(com.opencloud.slee.resources.sis.components.ExtensionRefID, javax.slee.ServiceID) management operation.

    Ant Parameters

    Attribute Description Required
    name The name of the extension reference to replace. Yes.
    type The type of extension reference to create. Currently only "SERVICE" is supported (case-insensitive). No. Defaults to "SERVICE"
    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 Contains the service component ID for the extension component.
    • Constructor Detail

      • ReplaceExtensionRefTask

        public ReplaceExtensionRefTask()
    • Method Detail

      • setName

        public void setName​(String name)
      • setType

        public void setType​(String type)