|
|||||||||||
| 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.sun.sunone.ejb.SunONESubTask
Generates configuration files for EJB jars in iPlanet/SunONE
| Nested Class Summary | |
static class |
SunONESubTask.SunONEVersionTypes
|
| Nested classes inherited from class xdoclet.TemplateSubTask |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
| Field Summary |
| Fields inherited from class xdoclet.DocletSupport |
currentClassTag, currentFieldTag, currentMethodTag |
| Constructor Summary | |
SunONESubTask()
|
|
| Method Summary | |
void |
execute()
Describe what the method does |
String |
getCmpDestinationFile()
Gets the destination filename of the CMP mappings file. |
String |
getCmpResourceJndiName()
Return the CMP Resource JNDI name. |
String |
getCmpResourcePrincipalName()
Return the CMP Resource Principal name. |
String |
getCmpResourcePrincipalPassword()
Return the CMP Resource Principal password. |
String |
getCmpSchema()
Return the database schema filename (minus .dbschema extension), as captured using Sun's utilities. |
String |
getCmpTemplateFile()
Gets the name of the sun-cmp-mappings.xml template file. |
String |
getTransactionManagerType()
Return the default transaction manager type. |
String |
getVersion()
Return the iPlanet/SunONE version. |
void |
setCmpDestinationFile(String cmpDestinationFile)
Sets the destination filename of the CMP mappings file. |
void |
setCmpResourceJndiName(String cmpResourceJndiName)
Specifies the absolute jndi-name of the database to be used for storing CMP beans in the EJB JAR file. |
void |
setCmpResourcePrincipalName(String cmpResourcePrincipalName)
Specifies the default sign-on name to the resource manager. |
void |
setCmpResourcePrincipalPassword(String cmpResourcePrincipalPassword)
Specifies the default password to the resource manager. |
void |
setCmpSchema(String cmpSchema)
Specifies the database schema filename (minus .dbschema extension), as captured using Sun's utilities. |
void |
setCmpTemplateFile(String cmpTemplateFile)
Sets the name of the sun-cmp-mappings.xml template file. |
void |
setTransactionManagerType(String transactionManagerType)
Optional default transaction manager type for all components. |
void |
setVersion(SunONESubTask.SunONEVersionTypes version)
The SunONE/iPlanet version. |
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 SunONESubTask()
| Method Detail |
public String getVersion()
public String getTransactionManagerType()
public String getCmpResourceJndiName()
public String getCmpResourcePrincipalName()
public String getCmpResourcePrincipalPassword()
public String getCmpSchema()
public String getCmpTemplateFile()
public String getCmpDestinationFile()
public void setVersion(SunONESubTask.SunONEVersionTypes version)
version - The new Version valuepublic void setTransactionManagerType(String transactionManagerType)
transactionManagerType - "local" or "global"public void setCmpResourceJndiName(String cmpResourceJndiName)
cmpResourceJndiName - String containing the JNDI namepublic void setCmpResourcePrincipalName(String cmpResourcePrincipalName)
cmpResourcePrincipalName - String containing the namepublic void setCmpResourcePrincipalPassword(String cmpResourcePrincipalPassword)
cmpResourcePrincipalPassword - String containing the passwordpublic void setCmpSchema(String cmpSchema)
cmpSchema - String containing the schema namepublic void setCmpTemplateFile(String cmpTemplateFile)
cmpTemplateFile - the name of the custom template filepublic void setCmpDestinationFile(String cmpDestinationFile)
cmpDestinationFile - the destination filename
public void validateOptions()
throws XDocletException
validateOptions in class TemplateSubTaskXDocletException - Description of Exception
public void execute()
throws XDocletException
TemplateSubTask
execute in class TemplateSubTaskXDocletException - Describe the exception
|
http://xdoclet.sourceforge.net/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||