|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object xdoclet.DocletSupport xdoclet.SubTask xdoclet.TemplateSubTask xdoclet.XmlSubTask xdoclet.modules.ejb.dd.AbstractEjbDeploymentDescriptorSubTask xdoclet.modules.jboss.ejb.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 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 |
String |
getAlterTable()
Gets the alterTable attribute of the JBossSubTask object. |
String |
getCreateTable()
Gets the createTable attribute of the JBossSubTask object. |
String |
getDatasource()
Gets the Datasource attribute of the JBossSubTask object |
String |
getDatasourceMapping()
Gets the DatasourceMapping attribute of the JBossSubTask object |
String |
getDebug()
Gets the Debug attribute of the JBossSubTask object |
String |
getGenerateRelations()
Gets the GenerateRelations attribute of the JBossSubTask object |
URL |
getJawsTemplateURL()
Gets the template URL for jaws.xml . |
URL |
getJbosscmpTemplateURL()
Gets the template URL for jbosscmp-jdbc.xml. |
URL |
getJbossTemplateURL()
Gets the template URL for jboss.xml. |
String |
getPreferredRelationMapping()
Gets the preferredRelationMapping attribute of the JBossSubTask object. |
String |
getRemoveTable()
Gets the createTable attribute of the JBossSubTask object. |
String |
getSecurityDomain()
Gets the SecurityDomain attribute of the JBossSubTask object |
String |
getTypemapping()
Gets the Typemapping attribute of the JBossSubTask object |
String |
getUnauthenticatedPrincipal()
Gets the unauthenticated principal name to use. |
String |
getVersion()
Gets the Version attribute of the JBossSubTask object |
String |
getWebServiceContextRoot()
Get the web service context root. |
void |
setAlterTable(String alterTable)
|
void |
setCreateTable(String createTable)
|
void |
setDatasource(String datasource)
Sets the Datasource attribute of the JBossSubTask object |
void |
setDatasourceMapping(String datasourceMapping)
|
void |
setDebug(String debug)
Debug flag for jaws.xml. |
void |
setGenerateRelations(String generateRelations)
|
void |
setJawsTemplateFile(File jawsTemplateFile)
Sets the template file for jaws.xml. |
void |
setJbosscmpTemplateFile(File jbosscmpTemplateFile)
Sets the template file for jbosscmp-jdbc.xml. |
void |
setJbossTemplateFile(File jbossTemplateFile)
Sets the template file for jboss.xml. |
void |
setPreferredRelationMapping(String preferredRelationMapping)
|
void |
setRemoveTable(String removeTable)
|
void |
setSecurityDomain(String aSecurityDomain)
The security domain to use. |
void |
setTypemapping(String typemapping)
|
void |
setUnauthenticatedPrincipal(String anUnauthenticatedPrincipal)
The unauthenticated principal name to use. |
void |
setVersion(JBossSubTask.JBossVersionTypes version)
The version of JBoss. |
void |
setWebServiceContextRoot(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 String getWebServiceContextRoot()
public URL getJbossTemplateURL()
public URL getJawsTemplateURL()
public URL getJbosscmpTemplateURL()
public String getDebug()
public String getVersion()
public String getSecurityDomain()
public String getUnauthenticatedPrincipal()
public String getDatasource()
public String getDatasourceMapping()
public String getTypemapping()
public String getGenerateRelations()
public String getPreferredRelationMapping()
public String getCreateTable()
public String getAlterTable()
public String getRemoveTable()
public void setWebServiceContextRoot(String webServiceContextRoot)
webServiceContextRoot
- the web service context rootpublic void setJbossTemplateFile(File jbossTemplateFile) throws XDocletException
jbossTemplateFile
- the jboss.xml file
XDocletException
public void setJawsTemplateFile(File jawsTemplateFile) throws XDocletException
jawsTemplateFile
- the jaws.xml file
XDocletException
public void setJbosscmpTemplateFile(File jbosscmpTemplateFile) throws XDocletException
jbosscmpTemplateFile
- the jbosscmp-jdbc.xml file
XDocletException
public void setDebug(String debug)
debug
- No, default is "false"public void setVersion(JBossSubTask.JBossVersionTypes version)
version
- The new Version valuepublic void setSecurityDomain(String aSecurityDomain)
aSecurityDomain
- The new SecurityDomain valuepublic void setUnauthenticatedPrincipal(String anUnauthenticatedPrincipal)
anUnauthenticatedPrincipal
- The new unauthenticated principal namepublic void setDatasource(String datasource)
datasource
- The new Datasource valuepublic void setDatasourceMapping(String datasourceMapping)
datasourceMapping
- public void setTypemapping(String typemapping)
typemapping
- public void setGenerateRelations(String generateRelations)
generateRelations
- public void setPreferredRelationMapping(String preferredRelationMapping)
preferredRelationMapping
- public void setCreateTable(String createTable)
createTable
- public void setAlterTable(String alterTable)
alterTable
- public void setRemoveTable(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 |