xdoclet.modules.ibm.websphere.ejb

Class 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):

Version:
$Revision: 1.10 $
Authors:
Minh Yie
Magnus Larsson
ant.element
display-name = "WebSphere" name = "websphere" parent = "xdoclet.modules.ejb.EjbDocletTask"
created
15 August 2001

Constructor Summary

WebSphereSubTask()

Method Summary

protected void
engineStarted()
Describe what the method does
void
execute()
Describe what the method does
String
getCurrentBackendId()
Gets the current backend id
String
getDatasource()
Gets the default CMP Datasource
void
setCurrentBackendId(String backendId)
Sets the current backend id.
void
setDatasource(String datasource)
Sets the default CMP Datasource
void
validateOptions()
Called to validate configuration parameters.

Constructor Details

WebSphereSubTask

public WebSphereSubTask()

Method Details

engineStarted

protected void engineStarted()
            throws xdoclet.XDocletException
Describe what the method does
Throws:
xdoclet.XDocletException - Describe the exception

execute

public void execute()
            throws xdoclet.XDocletException
Describe what the method does
Throws:
xdoclet.XDocletException - Describe the exception

getCurrentBackendId

public String getCurrentBackendId()
Gets the current backend id
Returns:
The current backend id

getDatasource

public String getDatasource()
Gets the default CMP Datasource
Returns:
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.
Parameters:
backendId - The current backend id
ant.not-required
No.

setDatasource

public void setDatasource(String datasource)
Sets the default CMP Datasource
Parameters:
datasource - The new default CMP Datasource
ant.not-required
No.

validateOptions

public void validateOptions()
            throws xdoclet.XDocletException
Called to validate configuration parameters.
Throws:
xdoclet.XDocletException - Description of Exception