|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object xdoclet.DocletSupport xdoclet.SubTask xdoclet.TemplateSubTask xdoclet.XmlSubTask xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask xdoclet.modules.ibm.websphere.ejb.WebSphereSubTask
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):
Nested Class Summary |
Nested classes inherited from class xdoclet.TemplateSubTask |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
Field Summary |
Fields inherited from class xdoclet.DocletSupport |
currentClassTag, currentFieldTag, currentMethodTag |
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. |
Methods inherited from class xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask |
atLeastOneCmp1EntityBeanExists, atLeastOneCmp2EntityBeanExists, atLeastOneCmpEntityBeanExists |
Methods inherited from class xdoclet.XmlSubTask |
copyAttributesFrom, engineFinished, getDtdURL, getPublicId, getSchema, getSchemaURL, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdURL, setPublicId, setSchema, setSchemaURL, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess |
Methods inherited from class xdoclet.SubTask |
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebSphereSubTask()
Method Detail |
public String getDatasource()
public String getCurrentBackendId()
public void setDatasource(String datasource)
datasource
- The new default CMP Datasourcepublic void setCurrentBackendId(String backendId)
backendId
- The current backend idpublic void validateOptions() throws XDocletException
validateOptions
in class TemplateSubTask
XDocletException
- Description of Exceptionpublic void execute() throws XDocletException
execute
in class TemplateSubTask
XDocletException
- Describe the exceptionprotected void engineStarted() throws XDocletException
engineStarted
in class TemplateSubTask
XDocletException
- Describe the exception
|
http://xdoclet.sourceforge.net/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |