|
|||||||||||
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.bea.wls.ejb.WebLogicSubTask
This task can generate deployment descriptors for WLS 6.0, 6.1, 7.0 and 8.1. The destinationFile attribute is ignored because this subtask creates multiple deployment descriptor files.
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. |
Nested classes inherited from class xdoclet.TemplateSubTask |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
Field Summary |
Fields inherited from class xdoclet.DocletSupport |
currentClassTag, currentFieldTag, currentMethodTag |
Constructor Summary | |
WebLogicSubTask()
|
Method Summary | |
protected void |
engineStarted()
Describe what the method does |
void |
execute()
Describe what the method does |
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. |
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 WebLogicSubTask()
Method Detail |
public String getDatabaseType()
public String getDatasource()
public String getPoolname()
public String getVersion()
public String getCreatetables()
public String getPersistence()
public String getValidateDbSchemaWith()
public String getOrderDatabaseOperations()
public String getEnableBatchOperations()
public String getEnableBeanClassRedeploy()
public void setTemplateFile(File templateFile) throws XDocletException
setTemplateFile
in class TemplateSubTask
templateFile
-
XDocletException
TemplateSubTask.setTemplateFile(java.io.File)
public void setCmpTemplateFile(File templateFile) throws XDocletException
templateFile
- the file name (real file!) of the template
XDocletException
public void setOrderDatabaseOperations(boolean flag)
public void setEnableBatchOperations(boolean flag)
public void setEnableBeanClassRedeploy(boolean flag)
public void setDatabaseType(WebLogicSubTask.DatabaseTypes databaseType)
databaseType
- public void setPoolname(String s)
s
- public void setDatasource(String dataSource)
dataSource
- public void setVersion(WebLogicSubTask.Version version)
version
- The new Version valuepublic void setPersistence(String persistence)
persistence
- public void setCreatetables(WebLogicSubTask.CreateTablesType flag)
flag
- The new Createtables valuepublic void setValidateDbSchemaWith(WebLogicSubTask.ValidateDbSchemaWithTypes type)
type
- public void validateOptions() throws XDocletException
validateOptions
in class TemplateSubTask
XDocletException
- Description of Exceptionpublic void execute() throws XDocletException
TemplateSubTask
execute
in class TemplateSubTask
XDocletException
SubTask.execute()
protected void engineStarted() throws XDocletException
engineStarted
in class TemplateSubTask
XDocletException
- Describe the exception
|
http://xdoclet.sourceforge.net/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |