Creates jboss.xml, jaws.xml and/or jbosscmp-jdbc.xml deployment descriptors for JBoss. The destinationFile attribute
is ignored because this subtask creates multiple deployment descriptor files.
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
xdoclet.XDocletException
- Description of Exception
execute
public void execute()
throws xdoclet.XDocletException
xdoclet.XDocletException
- Description of Exception
getAlterTable
public String getAlterTable()
Gets the alterTable attribute of the JBossSubTask object.
getCreateTable
public String getCreateTable()
Gets the createTable attribute of the JBossSubTask object.
getDatasource
public String getDatasource()
Gets the Datasource attribute of the JBossSubTask object
getDatasourceMapping
public String getDatasourceMapping()
Gets the DatasourceMapping attribute of the JBossSubTask object
- The DatasourceMapping value
getDebug
public String getDebug()
Gets the Debug attribute of the JBossSubTask object
getGenerateRelations
public String getGenerateRelations()
Gets the GenerateRelations attribute of the JBossSubTask object
- The GenerateRelations value
getJawsTemplateURL
public URL getJawsTemplateURL()
Gets the template URL for jaws.xml .
- the jaws.xml template URL
getJbossTemplateURL
public URL getJbossTemplateURL()
Gets the template URL for jboss.xml.
- the jboss.xml template URL
getJbosscmpTemplateURL
public URL getJbosscmpTemplateURL()
Gets the template URL for jbosscmp-jdbc.xml.
- the jbosscmp-jdbc.xml template URL
getPreferredRelationMapping
public String getPreferredRelationMapping()
Gets the preferredRelationMapping attribute of the JBossSubTask object.
- The preferredRelationMapping value
getRemoveTable
public String getRemoveTable()
Gets the createTable attribute of the JBossSubTask object.
getSecurityDomain
public String getSecurityDomain()
Gets the SecurityDomain attribute of the JBossSubTask object
getTypemapping
public String getTypemapping()
Gets the Typemapping attribute of the JBossSubTask object
getUnauthenticatedPrincipal
public String getUnauthenticatedPrincipal()
Gets the unauthenticated principal name to use.
- The unauthenticated principal name
getVersion
public String getVersion()
Gets the Version attribute of the JBossSubTask object
getWebServiceContextRoot
public String getWebServiceContextRoot()
Get the web service context root.
- the web service context root
setAlterTable
public void setAlterTable(String alterTable)
setCreateTable
public void setCreateTable(String createTable)
setDatasource
public void setDatasource(String datasource)
Sets the Datasource attribute of the JBossSubTask object
datasource
- The new Datasource value
setDatasourceMapping
public void setDatasourceMapping(String datasourceMapping)
setDebug
public void setDebug(String debug)
Debug flag for jaws.xml.
debug
- No, default is "false"
setGenerateRelations
public void setGenerateRelations(String generateRelations)
setJawsTemplateFile
public void setJawsTemplateFile(File jawsTemplateFile)
throws xdoclet.XDocletException
Sets the template file for jaws.xml.
jawsTemplateFile
- the jaws.xml file
xdoclet.XDocletException
-
setJbossTemplateFile
public void setJbossTemplateFile(File jbossTemplateFile)
throws xdoclet.XDocletException
Sets the template file for jboss.xml.
jbossTemplateFile
- the jboss.xml file
xdoclet.XDocletException
-
setJbosscmpTemplateFile
public void setJbosscmpTemplateFile(File jbosscmpTemplateFile)
throws xdoclet.XDocletException
Sets the template file for jbosscmp-jdbc.xml.
jbosscmpTemplateFile
- the jbosscmp-jdbc.xml file
xdoclet.XDocletException
-
setPreferredRelationMapping
public void setPreferredRelationMapping(String preferredRelationMapping)
preferredRelationMapping
-
setRemoveTable
public void setRemoveTable(String removeTable)
setSecurityDomain
public void setSecurityDomain(String aSecurityDomain)
The security domain to use.
aSecurityDomain
- The new SecurityDomain value
setTypemapping
public void setTypemapping(String typemapping)
setUnauthenticatedPrincipal
public void setUnauthenticatedPrincipal(String anUnauthenticatedPrincipal)
The unauthenticated principal name to use.
anUnauthenticatedPrincipal
- The new unauthenticated principal name
setVersion
public void setVersion(JBossSubTask.JBossVersionTypes version)
The version of JBoss. Supported versions are 2.4, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.2 and 4.0.
version
- The new Version value
setWebServiceContextRoot
public void setWebServiceContextRoot(String webServiceContextRoot)
Set the web service context root.
webServiceContextRoot
- the web service context root
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
Called to validate configuration parameters.
xdoclet.XDocletException
- Description of Exception