public class CreateServiceRefTask extends SISSubTask
sis-management
element.
For example:
<sis-management
raentity="foo">
<createserviceref name="vpn" type="local">
<service name="vpn" vendor="com.mycompany" version="1.0"/>
</createserviceref>
</sis-management>
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.
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. |
inApplicationContext | Alternate application context that the service will be invoked with if an IN service. Use '-' to clear an existing setting. | No. |
inAssistingDialogApplicationContext | Alternate application context that the service will be invoked with for IN assisting dialogs. Use '-' to clear an existing setting. | No. | 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 |
Only required for local service references. Contains the service component ID for the local service. |
Constructor and Description |
---|
CreateServiceRefTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfiguredService(ServiceComponentElement service) |
void |
setDefaultTimeout(long timeout) |
void |
setExtPlatformName(String extPlatformName) |
void |
setInApplicationContext(String appContext) |
void |
setInAssistingDialogApplicationContext(String appContext) |
void |
setName(String name) |
void |
setStaticChargingPriority(int priority) |
void |
setType(String type) |
execute, getFailOnError, setFailOnError
public void setName(String name)
public void setType(String type)
public void setExtPlatformName(String extPlatformName)
public void setDefaultTimeout(long timeout)
public void setStaticChargingPriority(int priority)
public void setInApplicationContext(String appContext)
public void setInAssistingDialogApplicationContext(String appContext)
public void addConfiguredService(ServiceComponentElement service)