Class CreateServiceRefTask

  • Direct Known Subclasses:

    public class CreateServiceRefTask
    extends SISSubTask
    Create 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">
       <createserviceref name="vpn" type="local">
         <service name="vpn" vendor="com.mycompany" version="1.0"/>
    This task invokes the ServiceRefManagementMBean.createLocalServiceRef(java.lang.String, javax.slee.ServiceID) or ServiceRefManagementMBean.createExternalServiceRef(java.lang.String, com.opencloud.slee.resources.sis.components.ExternalPlatformID) management operation, depending on the type parameter provided.

    Ant Parameters

    Attribute Description Required
    name The name of the service reference to create. 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"
    defaulttimeout Default timeout for the service, measured in milliseconds. The specified timeout must be at least 100, or specify 0 for the service to use the global default service timeout configured in the SIS. No. Defaults to 0.
    staticchargingpriority Static charging priority for the service. 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 Only required for local service references. Contains the service component ID for the local service.
    • Constructor Detail

      • CreateServiceRefTask

        public CreateServiceRefTask()
    • Method Detail

      • setName

        public void setName​(String name)
      • setType

        public void setType​(String type)
      • setExtPlatformName

        public void setExtPlatformName​(String extPlatformName)
      • setDefaultTimeout

        public void setDefaultTimeout​(long timeout)
      • setStaticChargingPriority

        public void setStaticChargingPriority​(int priority)