Class CreateExtensionRefTask
- java.lang.Object
-
- com.opencloud.slee.resources.sis.management.ant.SISSubTask
-
- com.opencloud.slee.resources.sis.management.ant.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 enclosingSISManagementTask
element. For example:<
This task invokes thesis-sip-management
raentity="foo"> <createextensionref name="bar" type="service"> <service name="bar extension" vendor="com.mycompany" version="1.0"/> </createextensionref> </sis-sip-management>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 Summary
Constructors Constructor Description CreateExtensionRefTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConfiguredService(ServiceComponentElement service)
void
setDefaultTimeout(long timeout)
void
setExtensionType(String extensionType)
void
setName(String name)
void
setRefType(String refType)
-
Methods inherited from class com.opencloud.slee.resources.sis.management.ant.SISSubTask
execute, getFailOnError, setFailOnError
-
-
-
-
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)
-
addConfiguredService
public void addConfiguredService(ServiceComponentElement service)
-
-