Class CreateExtensionRefTask


  • public class CreateExtensionRefTask
    extends SISSubTask
    Create 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">
       <createextensionref name="bar" type="service">
         <service name="bar extension" vendor="com.mycompany" version="1.0"/>
       </createextensionref>
     </sis-sip-management>
     
    This task invokes the ExtensionRefManagementMBean.createServiceExtensionRef(java.lang.String, com.opencloud.slee.resources.sis.management.ExtensionType, javax.slee.ServiceID) management operation.

    Ant Parameters

    Attribute Description Required
    name The name of the extension reference to create. Yes.
    extensiontype The type of extension component to be referenced, either "SCS" or "INTERCEPTOR" (case-insensitive). Yes.
    reftype The type of extension reference to create. Currently only "SERVICE" is supported (case-insensitive). No. Defaults to "SERVICE"
    defaulttimeout Default timeout for the extension component, measured in milliseconds. The specified timeout must be at least 100, or specify 0 for the extension component to use the global default service timeout configured in the SIS. No. Defaults to 0.
    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

      • CreateExtensionRefTask

        public CreateExtensionRefTask()
    • Method Detail

      • setName

        public void setName​(String name)
      • setExtensionType

        public void setExtensionType​(String extensionType)
      • setRefType

        public void setRefType​(String refType)
      • setDefaultTimeout

        public void setDefaultTimeout​(long timeout)