xdoclet.modules.bea.wls.ejb
public class WebLogicSubTask extends AbstractEjbDeploymentDescriptorSubTask
Version: $Revision: 1.29 $
UNKNOWN: Sept 11, 2001 display-name = "WebLogic Server" name = "weblogic" parent = "xdoclet.modules.ejb.EjbDocletTask" file = "weblogic-cmp-rdbms-beans.xml" relates-to = "weblogic-cmp-rdbms-jar.xml" description = "An XML * unparsed entity containing weblogic-rdbms-bean for any CMP entity beans not processed by XDoclet." file = "weblogic-cmp-rdbms-relationships.xml" relates-to = "weblogic-cmp-rdbms-jar.xml" description = "An XML unparsed entity containing weblogic-rdbms-relation for any CMR relationships of CMP entity * beans not processed by XDoclet." file = "weblogic-enterprise-beans.xml" relates-to = "weblogic-ejb-jar.xml" description = "An XML * unparsed entity containing weblogic-enterprise-bean elements for any beans not processed by XDoclet." file = "weblogic-security-role-assignment.xml" relates-to = "weblogic-ejb-jar.xml" description = "An * XML unparsed entity containing security-role-assignment elements." file = "weblogic-run-as-role-assignment.xml" relates-to = "weblogic-ejb-jar.xml" description = "An * XML unparsed entity containing run-as-role-assignment elements."
Nested Class Summary | |
---|---|
static class | WebLogicSubTask.CreateTablesType |
static class | WebLogicSubTask.DatabaseTypes
Legal values of the database-type in weblogic-rdbms20-persistence-700.dtd
|
static class | WebLogicSubTask.ValidateDbSchemaWithTypes
Legal values of the validate-db-schema-with in weblogic-rdbms20-persistence-600.dtd
|
static class | WebLogicSubTask.Version
Supported WLS versions.
|
Constructor Summary | |
---|---|
WebLogicSubTask() |
Method Summary | |
---|---|
protected void | engineStarted()
Describe what the method does
|
void | execute() |
String | getCreatetables()
Gets the Createtables attribute of the WebLogicSubTask object
|
String | getDatabaseType()
Gets the database type specified in the weblogic deployment descriptor. |
String | getDatasource()
Gets the Datasource attribute of the WebLogicSubTask object
|
String | getEnableBatchOperations() |
String | getEnableBeanClassRedeploy() |
String | getOrderDatabaseOperations() |
String | getPersistence() |
String | getPoolname() |
String | getValidateDbSchemaWith() |
String | getVersion()
Gets the Version attribute of the WebLogicSubTask object
|
void | setCmpTemplateFile(File templateFile)
Sets the template file for generation of weblogic-cmp-rdbms-jar.xml.
|
void | setCreatetables(WebLogicSubTask.CreateTablesType flag)
If "True" or "CreateOnly", then at deployment time if there is no Table in the Database for a CMP Bean, the
Container will attempt to CREATE the Table (based on information found in the deployment files and in the Bean
Class). |
void | setDatabaseType(WebLogicSubTask.DatabaseTypes databaseType)
Sets the database type specified in the weblogic-cmp-rdbms-jar.xml deployment descriptor. |
void | setDatasource(String dataSource)
Specifies a default value for the data-source-name element in the CMP descriptor, to use if no
weblogic.data-source-name tag appears on a bean.
|
void | setEnableBatchOperations(boolean flag) |
void | setEnableBeanClassRedeploy(boolean flag) |
void | setOrderDatabaseOperations(boolean flag) |
void | setPersistence(String persistence)
Sets the persistence type to use. |
void | setPoolname(String s)
Specifies a default value for the pool-name element in the CMP descriptor, to use if no weblogic.pool-name tag
appears on a bean (only applies when ejbspec=1.1)
|
void | setTemplateFile(File templateFile)
Sets the template file for generation of weblogic-ejb-jar.xml.
|
void | setValidateDbSchemaWith(WebLogicSubTask.ValidateDbSchemaWithTypes type)
The CMP subsystem checks that beans have been mapped to a valid database schema at deployment time. |
void | setVersion(WebLogicSubTask.Version version)
Sets the target WebLogic version to generate for. |
void | validateOptions()
Called to validate configuration parameters.
|
Throws: XDocletException Describe the exception
Throws: XDocletException
See Also: execute
Returns: The Createtables value
Returns: DatabaseType
Returns: The Datasource value
Returns: The Version value
Parameters: templateFile the file name (real file!) of the template
Throws: XDocletException
UNKNOWN: Yesifits anested element.
Parameters: flag The new Createtables value
UNKNOWN: "No, default is 'False' for WLS Servers < Version 8.1 and 'Disabled' for WLS Servers >= * 8.1"
Parameters: databaseType
UNKNOWN: No,onlyused with7.0upwards, andoptionaleven then.
Parameters: dataSource
UNKNOWN:
Parameters: persistence
UNKNOWN: "No, default is 'weblogic'"
Parameters: s
UNKNOWN:
Parameters: templateFile
Throws: XDocletException
See Also: setTemplateFile
Parameters: type
UNKNOWN:
Parameters: version The new Version value
UNKNOWN: No,defaultis 6.1
Throws: XDocletException Description of Exception