|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.DocletSupport
xdoclet.SubTask
xdoclet.TemplateSubTask
xdoclet.XmlSubTask
xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask
xdoclet.modules.jboss.ejb.JBossSubTask
public class JBossSubTask
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.
Nested Class Summary | |
---|---|
static class |
JBossSubTask.JBossVersionTypes
|
Nested classes/interfaces inherited from class xdoclet.TemplateSubTask |
---|
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
Field Summary |
---|
Fields inherited from class xdoclet.DocletSupport |
---|
currentClassTag, currentFieldTag, currentMethodTag |
Constructor Summary | |
---|---|
JBossSubTask()
|
Method Summary | |
---|---|
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. |
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 JBossSubTask()
Method Detail |
---|
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 file
XDocletException
public void setJawsTemplateFile(java.io.File jawsTemplateFile) throws XDocletException
jawsTemplateFile
- the jaws.xml file
XDocletException
public void setJbosscmpTemplateFile(java.io.File jbosscmpTemplateFile) throws XDocletException
jbosscmpTemplateFile
- the jbosscmp-jdbc.xml file
XDocletException
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
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |