xdoclet.modules.jboss.ejb
public class JBossSubTask extends AbstractEjbDeploymentDescriptorSubTask
Version: $Revision: 1.35 $
UNKNOWN: Oct 15, 2001 display-name = "JBoss" name = "jboss" parent = "xdoclet.modules.ejb.EjbDocletTask" file = "jboss-security.xml" relates-to = "jboss.xml" description = "An XML unparsed entity containing * the optional enforce-ejb-restrictions, security-domain and/or unauthenticated-principal elements for jboss.xml" file = "jboss-beans.xml" relates-to = "jboss.xml" description = "An XML unparsed entity containing * the session, entity and message-driven elements for beans you wish to include which aren't processed by * XDoclet." file = "jboss-{0}.xml" relates-to = "jboss.xml" description = "An XML document containing the * session, entity or message-driven element for a bean, to be used instead of generating it from the bean's tags." file = "jboss-resource-managers.xml" relates-to = "jboss.xml" description = "An XML document * containing the resource-managers element, to use instead of generating it from jboss.resource-manager tags." file = "jboss-container.xml" relates-to = "jboss.xml" description = "An XML document containing the * optional container-configurations element for jboss.xml" file = "jbosscmp-jdbc-defaults.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML document * containing the defaults element for jbosscmp-jdbc.xml" file = "jbosscmp-jdbc-beans.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML unparsed * entity containing entity elements for any beans you wish to include which aren't processed by XDoclet." file = "jbosscmp-jdbc-db-settings-{0}.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML * unparsed entity containing various database settings for a bean. The contents should consist of (ejb-name, * (datasource, datasource-mapping)?, create-table?, alter-table?, remove-table?, read-only?, read-time-out?, * row-locking?, pk-constraint?, read-ahead?, list-cache-max?, fetch-size?, table-name?) elements." file = "jbosscmp-jdbc-{0}.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML unparsed entity * containing various other settings for a bean. Should consist of the (cmp-field*, load-groups?, * eager-load-group?, lazy-load-groups?, query*) elements." file = "jbosscmp-jdbc-dvc.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML unparsed entity * containing any additional dependent-value-class elements not generated from jboss.dvc tags." file = "jbosscmp-jdbc-typemappings.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML * document containing the optional type-mappings element." file = "jbosscmp-jdbc-entity-commands.xml" relates-to = "jbosscmp-jdbc.xml" description = "An XML * document containing the optional entity-commands element." file = "jaws-db-settings-{0}.xml" relates-to = "jboss-jaws.xml" description = "An XML unparsed entity * containing various database settings for a bean. The contents should consist of (ejb-name , datasource?) * elements." file = "jaws-{0}.xml" relates-to = "jboss-jaws.xml" description = "An XML unparsed entity containing * (cmp-field* , finder*) elements for a bean." file = "jaws-db-more-settings-{0}.xml" relates-to = "jboss-jaws.xml" description = "An XML unparsed * entity containing various database settings for a bean. The contents should consist of (read-only? , table-name? * , tuned-updates? , create-table? , remove-table? , row-locking? , time-out? , pk-constraint?) elements." file = "jboss-webservices.ent" relates-to = "jboss.xml" description = "An XML unparsed entity * containing markup for webservices-description and webservice-context-root elements. This is a Jboss 4 feature * and might work with patched >=3.2.6 version."
Nested Class Summary | |
---|---|
static class | JBossSubTask.JBossVersionTypes |
Method Summary | |
---|---|
protected void | engineStarted() |
void | execute() |
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.
|
Throws: XDocletException Description of Exception
Throws: XDocletException Description of Exception
Returns: The alterTable value
Returns: The createTable value
Returns: The Datasource value
Returns: The DatasourceMapping value
Returns: The Debug value
Returns: The GenerateRelations value
Returns: the jaws.xml template URL
Returns: the jbosscmp-jdbc.xml template URL
Returns: the jboss.xml template URL
Returns: The preferredRelationMapping value
Returns: The removeTable value
Returns: The SecurityDomain value
Returns: The Typemapping value
Returns: The unauthenticated principal name
Returns: The Version value
Returns: the web service context root
Parameters: alterTable
Parameters: createTable
Parameters: datasource The new Datasource value
Parameters: datasourceMapping
Parameters: debug No, default is "false"
Parameters: generateRelations
Parameters: jawsTemplateFile the jaws.xml file
Throws: XDocletException
Parameters: jbosscmpTemplateFile the jbosscmp-jdbc.xml file
Throws: XDocletException
Parameters: jbossTemplateFile the jboss.xml file
Throws: XDocletException
Parameters: preferredRelationMapping
Parameters: removeTable
Parameters: aSecurityDomain The new SecurityDomain value
Parameters: typemapping
Parameters: anUnauthenticatedPrincipal The new unauthenticated principal name
Parameters: version The new Version value
UNKNOWN: No,defaultis "2.4".
Parameters: webServiceContextRoot the web service context root
Throws: XDocletException Description of Exception