|
||||||||||
| 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
public class SunONESubTask
Generates configuration files for EJB jars in iPlanet/SunONE
| Nested Class Summary | |
|---|---|
static class |
SunONESubTask.SunONEVersionTypes
|
| Nested classes/interfaces 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 |
java.lang.String |
getCmpDestinationFile()
Gets the destination filename of the CMP mappings file. |
java.lang.String |
getCmpResourceJndiName()
Return the CMP Resource JNDI name. |
java.lang.String |
getCmpResourcePrincipalName()
Return the CMP Resource Principal name. |
java.lang.String |
getCmpResourcePrincipalPassword()
Return the CMP Resource Principal password. |
java.lang.String |
getCmpSchema()
Return the database schema filename (minus .dbschema extension), as captured using Sun's utilities. |
java.lang.String |
getCmpTemplateFile()
Gets the name of the sun-cmp-mappings.xml template file. |
java.lang.String |
getTransactionManagerType()
Return the default transaction manager type. |
java.lang.String |
getVersion()
Return the iPlanet/SunONE version. |
void |
setCmpDestinationFile(java.lang.String cmpDestinationFile)
Sets the destination filename of the CMP mappings file. |
void |
setCmpResourceJndiName(java.lang.String cmpResourceJndiName)
Specifies the absolute jndi-name of the database to be used for storing CMP beans in the EJB JAR file. |
void |
setCmpResourcePrincipalName(java.lang.String cmpResourcePrincipalName)
Specifies the default sign-on name to the resource manager. |
void |
setCmpResourcePrincipalPassword(java.lang.String cmpResourcePrincipalPassword)
Specifies the default password to the resource manager. |
void |
setCmpSchema(java.lang.String cmpSchema)
Specifies the database schema filename (minus .dbschema extension), as captured using Sun's utilities. |
void |
setCmpTemplateFile(java.lang.String cmpTemplateFile)
Sets the name of the sun-cmp-mappings.xml template file. |
void |
setTransactionManagerType(java.lang.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 java.lang.String getVersion()
public java.lang.String getTransactionManagerType()
public java.lang.String getCmpResourceJndiName()
public java.lang.String getCmpResourcePrincipalName()
public java.lang.String getCmpResourcePrincipalPassword()
public java.lang.String getCmpSchema()
public java.lang.String getCmpTemplateFile()
public java.lang.String getCmpDestinationFile()
public void setVersion(SunONESubTask.SunONEVersionTypes version)
version - The new Version valuepublic void setTransactionManagerType(java.lang.String transactionManagerType)
transactionManagerType - "local" or "global"public void setCmpResourceJndiName(java.lang.String cmpResourceJndiName)
cmpResourceJndiName - String containing the JNDI namepublic void setCmpResourcePrincipalName(java.lang.String cmpResourcePrincipalName)
cmpResourcePrincipalName - String containing the namepublic void setCmpResourcePrincipalPassword(java.lang.String cmpResourcePrincipalPassword)
cmpResourcePrincipalPassword - String containing the passwordpublic void setCmpSchema(java.lang.String cmpSchema)
cmpSchema - String containing the schema namepublic void setCmpTemplateFile(java.lang.String cmpTemplateFile)
cmpTemplateFile - the name of the custom template filepublic void setCmpDestinationFile(java.lang.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 | |||||||||