xdoclet.modules.sun.sunone.ejb
public class SunONESubTask extends AbstractEjbDeploymentDescriptorSubTask
Version: $Revision: 1.3 $
UNKNOWN: October 01, 2002 display-name = "SunONE" name = "sunone" parent = "xdoclet.modules.ejb.EjbDocletTask" file = "ejb-env-entries-{0}.xml" relates-to = "ias-ejb-jar.xml" description = "Same as for * <deploymentdescriptor> subtask (only used for MDBs)." file = "mdb-ejbrefs-{0}.xml" relates-to = "ias-ejb-jar.xml" description = "Same as for * <deploymentdescriptor> subtask, except root element name is mdb-ejb-ref rather than ejb-ref (only used for * MDBs)." file = "mdb-resourcerefs-{0}.xml" relates-to = "ias-ejb-jar.xml" description = "Same as for * <deploymentdescriptor> subtask, except root element name is mdb-resource-ref rather than resource-ref * (only used for MDBs)." file = "ejb-resource-env-refs-{0}.xml" relates-to = "ias-ejb-jar.xml" description = "Same as for * <deploymentdescriptor> subtask (only used for MDBs)." file = "sunone-role-mappings.ent" relates-to = "ias-ejb-jar.xml, sun-ejb-jar.xml" description = "An * Unparsed XML Entity file that contains the <role-mapping> elements." file = "sunone-pm-descriptors.xml" relates-to = "sun-ejb-jar.xml" description = "An XML Document * containing the <pm-descriptors> element." file = "sunone-ior-security-config-{0}.xml" relates-to = "sun-ejb-jar.xml" description = "An XML * Document containing the <ior-security-config> element for a bean." allow for overriding the CMP templates etc. secondary-table element is not currently supported in the cmp mappings file
Nested Class Summary | |
---|---|
static class | SunONESubTask.SunONEVersionTypes |
Constructor Summary | |
---|---|
SunONESubTask() |
Method Summary | |
---|---|
void | execute() |
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.
|
Returns: the destination filename
Returns: The CMP Resource JNDI name
Returns: The CMP Resource Principal name
Returns: The CMP Resource Principal password
Returns: The schema filename
Returns: the custom template file
Returns: The transaction manager type
Returns: The iPlanet/SunONE version
Parameters: cmpDestinationFile the destination filename
UNKNOWN:
Parameters: cmpResourceJndiName String containing the JNDI name
UNKNOWN: "Only used for version = 7.0, and optional even then."
Parameters: cmpResourcePrincipalName String containing the name
UNKNOWN: Onlyusedif cmpResourceJndiNameparameteris specified,andoptional eventhen.
Parameters: cmpResourcePrincipalPassword String containing the password
UNKNOWN: Onlyusedif thecmpResourcePrincipalNameparameter isspecified.
Parameters: cmpSchema String containing the schema name
UNKNOWN: Onlyusedwith CMPentitybeans.
Parameters: cmpTemplateFile the name of the custom template file
UNKNOWN:
Parameters: transactionManagerType "local" or "global"
UNKNOWN: "Only used for version = 6.5, and optional even then."
Parameters: version The new Version value
UNKNOWN: "No, default is '7.0'."
Throws: XDocletException Description of Exception