xdoclet.modules.jboss.ejb
public class JBossSubTask extends AbstractEjbDeploymentDescriptorSubTask
Modifier and Type | Class and Description |
---|---|
static class |
JBossSubTask.JBossVersionTypes |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
currentClassTag, currentFieldTag, currentMethodTag
Constructor and Description |
---|
JBossSubTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
engineStarted()
Describe what the method does
|
void |
execute()
Describe what the method does
|
java.lang.String |
getAlterTable()
Gets the alterTable attribute of the JBossSubTask object.
|
java.lang.String |
getCreateTable()
Gets the createTable attribute of the JBossSubTask object.
|
java.lang.String |
getDatasource()
Gets the Datasource attribute of the JBossSubTask object
|
java.lang.String |
getDatasourceMapping()
Gets the DatasourceMapping attribute of the JBossSubTask object
|
java.lang.String |
getDebug()
Gets the Debug attribute of the JBossSubTask object
|
java.lang.String |
getGenerateRelations()
Gets the GenerateRelations attribute of the JBossSubTask object
|
java.net.URL |
getJawsTemplateURL()
Gets the template URL for jaws.xml .
|
java.net.URL |
getJbosscmpTemplateURL()
Gets the template URL for jbosscmp-jdbc.xml.
|
java.net.URL |
getJbossTemplateURL()
Gets the template URL for jboss.xml.
|
java.lang.String |
getPreferredRelationMapping()
Gets the preferredRelationMapping attribute of the JBossSubTask object.
|
java.lang.String |
getRemoveTable()
Gets the createTable attribute of the JBossSubTask object.
|
java.lang.String |
getSecurityDomain()
Gets the SecurityDomain attribute of the JBossSubTask object
|
java.lang.String |
getTypemapping()
Gets the Typemapping attribute of the JBossSubTask object
|
java.lang.String |
getUnauthenticatedPrincipal()
Gets the unauthenticated principal name to use.
|
java.lang.String |
getVersion()
Gets the Version attribute of the JBossSubTask object
|
java.lang.String |
getWebServiceContextRoot()
Get the web service context root.
|
void |
setAlterTable(java.lang.String alterTable) |
void |
setCreateTable(java.lang.String createTable) |
void |
setDatasource(java.lang.String datasource)
Sets the Datasource attribute of the JBossSubTask object
|
void |
setDatasourceMapping(java.lang.String datasourceMapping) |
void |
setDebug(java.lang.String debug)
Debug flag for jaws.xml.
|
void |
setGenerateRelations(java.lang.String generateRelations) |
void |
setJawsTemplateFile(java.io.File jawsTemplateFile)
Sets the template file for jaws.xml.
|
void |
setJbosscmpTemplateFile(java.io.File jbosscmpTemplateFile)
Sets the template file for jbosscmp-jdbc.xml.
|
void |
setJbossTemplateFile(java.io.File jbossTemplateFile)
Sets the template file for jboss.xml.
|
void |
setPreferredRelationMapping(java.lang.String preferredRelationMapping) |
void |
setRemoveTable(java.lang.String removeTable) |
void |
setSecurityDomain(java.lang.String aSecurityDomain)
The security domain to use.
|
void |
setTypemapping(java.lang.String typemapping) |
void |
setUnauthenticatedPrincipal(java.lang.String anUnauthenticatedPrincipal)
The unauthenticated principal name to use.
|
void |
setVersion(JBossSubTask.JBossVersionTypes version)
The version of JBoss.
|
void |
setWebServiceContextRoot(java.lang.String webServiceContextRoot)
Set the web service context root.
|
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 getWebServiceContextRoot()
public java.net.URL getJbossTemplateURL()
public java.net.URL getJawsTemplateURL()
public java.net.URL getJbosscmpTemplateURL()
public java.lang.String getDebug()
public java.lang.String getVersion()
public java.lang.String getSecurityDomain()
public java.lang.String getUnauthenticatedPrincipal()
public java.lang.String getDatasource()
public java.lang.String getDatasourceMapping()
public java.lang.String getTypemapping()
public java.lang.String getGenerateRelations()
public java.lang.String getPreferredRelationMapping()
public java.lang.String getCreateTable()
public java.lang.String getAlterTable()
public java.lang.String getRemoveTable()
public void setWebServiceContextRoot(java.lang.String webServiceContextRoot)
webServiceContextRoot
- the web service context rootpublic void setJbossTemplateFile(java.io.File jbossTemplateFile) throws XDocletException
jbossTemplateFile
- the jboss.xml fileXDocletException
public void setJawsTemplateFile(java.io.File jawsTemplateFile) throws XDocletException
jawsTemplateFile
- the jaws.xml fileXDocletException
public void setJbosscmpTemplateFile(java.io.File jbosscmpTemplateFile) throws XDocletException
jbosscmpTemplateFile
- the jbosscmp-jdbc.xml fileXDocletException
public void setDebug(java.lang.String debug)
debug
- No, default is "false"public void setVersion(JBossSubTask.JBossVersionTypes version)
version
- The new Version valuepublic void setSecurityDomain(java.lang.String aSecurityDomain)
aSecurityDomain
- The new SecurityDomain valuepublic void setUnauthenticatedPrincipal(java.lang.String anUnauthenticatedPrincipal)
anUnauthenticatedPrincipal
- The new unauthenticated principal namepublic void setDatasource(java.lang.String datasource)
datasource
- The new Datasource valuepublic void setDatasourceMapping(java.lang.String datasourceMapping)
datasourceMapping
- public void setTypemapping(java.lang.String typemapping)
typemapping
- public void setGenerateRelations(java.lang.String generateRelations)
generateRelations
- public void setPreferredRelationMapping(java.lang.String preferredRelationMapping)
preferredRelationMapping
- public void setCreateTable(java.lang.String createTable)
createTable
- public void setAlterTable(java.lang.String alterTable)
alterTable
- public void setRemoveTable(java.lang.String removeTable)
removeTable
- public void validateOptions() throws XDocletException
validateOptions
in class TemplateSubTask
XDocletException
- Description of Exceptionpublic void execute() throws XDocletException
TemplateSubTask
execute
in class TemplateSubTask
XDocletException
- Description of Exceptionprotected void engineStarted() throws XDocletException
TemplateSubTask
engineStarted
in class TemplateSubTask
XDocletException
- Description of Exception