public class CreateExtensionRefTask extends SISSubTask
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.
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 . |
Element | Description |
service |
Contains the service component ID for the extension component. |
Constructor and Description |
---|
CreateExtensionRefTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredService(ServiceComponentElement service) |
void |
setDefaultTimeout(long timeout) |
void |
setExtensionType(String extensionType) |
void |
setName(String name) |
void |
setRefType(String refType) |
execute, getFailOnError, setFailOnError
public void setName(String name)
public void setExtensionType(String extensionType)
public void setRefType(String refType)
public void setDefaultTimeout(long timeout)
public void addConfiguredService(ServiceComponentElement service)