xdoclet.modules.ibm.websphere.ejb
public class WebSphereSubTask extends AbstractEjbDeploymentDescriptorSubTask
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):
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
currentClassTag, currentFieldTag, currentMethodTag
Constructor and Description |
---|
WebSphereSubTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
engineStarted()
Describe what the method does
|
void |
execute()
Describe what the method does
|
java.lang.String |
getCurrentBackendId()
Gets the current backend id
|
java.lang.String |
getDatasource()
Gets the default CMP Datasource
|
void |
setCurrentBackendId(java.lang.String backendId)
Sets the current backend id.
|
void |
setDatasource(java.lang.String datasource)
Sets the default CMP Datasource
|
void |
validateOptions()
Called to validate configuration parameters.
|
atLeastOneCmp1EntityBeanExists, atLeastOneCmp2EntityBeanExists, atLeastOneCmpEntityBeanExists
copyAttributesFrom, engineFinished, getDtdURL, getPublicId, getSchema, getSchemaURL, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdURL, setPublicId, setSchema, setSchemaURL, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess
addOfType, addOfType, addPackageSubstitution, generateForClass, getAcceptAbstractClasses, getAcceptInterfaces, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getGenerationManager, getHavingClassTag, getOfType, getPackageSubstitutions, getSubTaskClassName, getTemplateURL, init, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, processInnerClasses, setAcceptAbstractClasses, setAcceptInterfaces, setDestinationFile, setEngine, setExtent, setExtentValue, setGenerationManager, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, startProcessForAll, startProcessPerClass
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName
getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
public java.lang.String getDatasource()
public java.lang.String getCurrentBackendId()
public void setDatasource(java.lang.String datasource)
datasource
- The new default CMP Datasourcepublic void setCurrentBackendId(java.lang.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