xdoclet.modules.sun.sunone.ejb
public class SunONESubTask extends AbstractEjbDeploymentDescriptorSubTask
Modifier and Type | Class and Description |
---|---|
static class |
SunONESubTask.SunONEVersionTypes |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
currentClassTag, currentFieldTag, currentMethodTag
Constructor and Description |
---|
SunONESubTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Describe what the method does
|
java.lang.String |
getCmpDestinationFile()
Gets the destination filename of the CMP mappings file.
|
java.lang.String |
getCmpResourceJndiName()
Return the CMP Resource JNDI name.
|
java.lang.String |
getCmpResourcePrincipalName()
Return the CMP Resource Principal name.
|
java.lang.String |
getCmpResourcePrincipalPassword()
Return the CMP Resource Principal password.
|
java.lang.String |
getCmpSchema()
Return the database schema filename (minus .dbschema extension), as captured using Sun's utilities.
|
java.lang.String |
getCmpTemplateFile()
Gets the name of the sun-cmp-mappings.xml template file.
|
java.lang.String |
getTransactionManagerType()
Return the default transaction manager type.
|
java.lang.String |
getVersion()
Return the iPlanet/SunONE version.
|
void |
setCmpDestinationFile(java.lang.String cmpDestinationFile)
Sets the destination filename of the CMP mappings file.
|
void |
setCmpResourceJndiName(java.lang.String cmpResourceJndiName)
Specifies the absolute jndi-name of the database to be used for storing CMP beans in the EJB JAR file.
|
void |
setCmpResourcePrincipalName(java.lang.String cmpResourcePrincipalName)
Specifies the default sign-on name to the resource manager.
|
void |
setCmpResourcePrincipalPassword(java.lang.String cmpResourcePrincipalPassword)
Specifies the default password to the resource manager.
|
void |
setCmpSchema(java.lang.String cmpSchema)
Specifies the database schema filename (minus .dbschema extension), as captured using Sun's utilities.
|
void |
setCmpTemplateFile(java.lang.String cmpTemplateFile)
Sets the name of the sun-cmp-mappings.xml template file.
|
void |
setTransactionManagerType(java.lang.String transactionManagerType)
Optional default transaction manager type for all components.
|
void |
setVersion(SunONESubTask.SunONEVersionTypes version)
The SunONE/iPlanet version.
|
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, engineStarted, 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 getVersion()
public java.lang.String getTransactionManagerType()
public java.lang.String getCmpResourceJndiName()
public java.lang.String getCmpResourcePrincipalName()
public java.lang.String getCmpResourcePrincipalPassword()
public java.lang.String getCmpSchema()
public java.lang.String getCmpTemplateFile()
public java.lang.String getCmpDestinationFile()
public void setVersion(SunONESubTask.SunONEVersionTypes version)
version
- The new Version valuepublic void setTransactionManagerType(java.lang.String transactionManagerType)
transactionManagerType
- "local" or "global"public void setCmpResourceJndiName(java.lang.String cmpResourceJndiName)
cmpResourceJndiName
- String containing the JNDI namepublic void setCmpResourcePrincipalName(java.lang.String cmpResourcePrincipalName)
cmpResourcePrincipalName
- String containing the namepublic void setCmpResourcePrincipalPassword(java.lang.String cmpResourcePrincipalPassword)
cmpResourcePrincipalPassword
- String containing the passwordpublic void setCmpSchema(java.lang.String cmpSchema)
cmpSchema
- String containing the schema namepublic void setCmpTemplateFile(java.lang.String cmpTemplateFile)
cmpTemplateFile
- the name of the custom template filepublic void setCmpDestinationFile(java.lang.String cmpDestinationFile)
cmpDestinationFile
- the destination filenamepublic void validateOptions() throws XDocletException
validateOptions
in class TemplateSubTask
XDocletException
- Description of Exceptionpublic void execute() throws XDocletException
TemplateSubTask
execute
in class TemplateSubTask
XDocletException
- Describe the exception