public class CreateRAEntityTask extends ComponentBasedTask
A Rhino management sub task for creating Resource Adaptor Entities.
Attribute | Description | Required |
---|---|---|
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
entityname |
Name of the resource adaptor entity to create, this name must be unique within the SLEE. |
Yes. |
resourceadaptorid |
Canonical name of the resource adaptor component from which the entity should be created. |
Only required/allowed if the |
properties |
Properties to be set on the resource adaptor. |
No. |
Element | Description | Required |
---|---|---|
component |
Identifies the resource adaptor component from which the resource adaptor entity should be created.
See |
Only required/allowed if the |
The task is run targeting an already existing resource adaptor.
component
client, failOnError
Constructor and Description |
---|
CreateRAEntityTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
void |
setEntityName(String entityName) |
void |
setProperties(String properties) |
void |
setResourceAdaptorID(String resourceAdaptorID) |
protected void |
validateParameters() |
addComponent, findComponent
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
protected void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractBaseTask
org.apache.tools.ant.BuildException
protected void validateParameters() throws org.apache.tools.ant.BuildException
validateParameters
in class AbstractBaseTask
org.apache.tools.ant.BuildException
public void setProperties(String properties)
public void setResourceAdaptorID(String resourceAdaptorID)
public void setEntityName(String entityName)