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 $

Author: Minh Yie Magnus Larsson

UNKNOWN: 15 August 2001 display-name = "WebSphere" name = "websphere" parent = "xdoclet.modules.ejb.EjbDocletTask"

Constructor Summary
WebSphereSubTask()
Method Summary
protected voidengineStarted()
Describe what the method does
voidexecute()
Describe what the method does
StringgetCurrentBackendId()
Gets the current backend id
StringgetDatasource()
Gets the default CMP Datasource
voidsetCurrentBackendId(String backendId)
Sets the current backend id.
voidsetDatasource(String datasource)
Sets the default CMP Datasource
voidvalidateOptions()
Called to validate configuration parameters.

Constructor Detail

WebSphereSubTask

public WebSphereSubTask()

Method Detail

engineStarted

protected void engineStarted()
Describe what the method does

Throws: XDocletException Describe the exception

execute

public void execute()
Describe what the method does

Throws: 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

UNKNOWN: No.

setDatasource

public void setDatasource(String datasource)
Sets the default CMP Datasource

Parameters: datasource The new default CMP Datasource

UNKNOWN: No.

validateOptions

public void validateOptions()
Called to validate configuration parameters.

Throws: XDocletException Description of Exception