xdoclet.modules.ibm.websphere.ejb
Class WebSphereSubTask
AbstractEjbDeploymentDescriptorSubTask
xdoclet.modules.ibm.websphere.ejb.WebSphereSubTask
public class WebSphereSubTask
extends AbstractEjbDeploymentDescriptorSubTask
Generates WebSphere specific deployment descriptors for EJB modules. The following files are generated:
ibm-ejb-jar-bnd.xmi, ibm-ejb-jar-ext.xmi and Schema.dbxmi.
NOTE: Since the WebSphere specific deployment descriptors depend on that id's are set in the ejb-jar.xml file you
must genererate it with useIds set to true, e.g.
<deploymentdescriptor useIds="true"/>
.
This Ant task defines the following attributes (the rest of the attributes in the list below comes from its
baseclass):
- datasource
- currentBackendId
- display-name = "WebSphere"
name = "websphere"
parent = "xdoclet.modules.ejb.EjbDocletTask"
WebSphereSubTask
public WebSphereSubTask()
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Describe what the method does
xdoclet.XDocletException
- Describe the exception
execute
public void execute()
throws xdoclet.XDocletException
Describe what the method does
xdoclet.XDocletException
- Describe the exception
getCurrentBackendId
public String getCurrentBackendId()
Gets the current backend id
getDatasource
public String getDatasource()
Gets the default CMP Datasource
- The default CMP Datasource
setCurrentBackendId
public void setCurrentBackendId(String backendId)
Sets the current backend id. This parameter is used to point out the id of the current CMP mapping.
backendId
- The current backend id
setDatasource
public void setDatasource(String datasource)
Sets the default CMP Datasource
datasource
- The new default CMP Datasource
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
Called to validate configuration parameters.
xdoclet.XDocletException
- Description of Exception