xdoclet.modules.objectweb.jonas.ejb

Class JonasSubTask


public class JonasSubTask
extends AbstractEjbDeploymentDescriptorSubTask

Generates the deployment descriptor for JOnAS.
Version:
$Revision$
Authors:
Richard Chuo (forthy@mac.com)
Mathieu Peltier (mathieu.peltier@inrialpes.fr)
Philippe Charaux (philippe.charaux@bull.net)
Jerome Camilleri (jerome.camilleri@bull.net)
ant.element
display-name = "JOnAS" name = "jonas" parent = "xdoclet.modules.ejb.EjbDocletTask"
created
11 juillet 2002

Nested Class Summary

static class
JonasSubTask.JonasVersionTypes
JonasVersionTypes class.

Constructor Summary

JonasSubTask()
Constructor.

Method Summary

void
execute()
String
getDefaultEntityJndiName()
Gets the defaultjndiname attribute of the JOnASSubTask object
String
getVersion()
Gets the version attribute.
void
setDefaultEntityJndiName(String defaultEntityJndiName)
Sets the defaultjndiname attribute of the JOnASSubTask object
void
setVersion(JonasSubTask.JonasVersionTypes version)
Sets the version of JOnAS.

Constructor Details

JonasSubTask

public JonasSubTask()
Constructor.

Method Details

execute

public void execute()
            throws xdoclet.XDocletException

getDefaultEntityJndiName

public String getDefaultEntityJndiName()
Gets the defaultjndiname attribute of the JOnASSubTask object
Returns:
The Defaultjndiname value

getVersion

public String getVersion()
Gets the version attribute.
Returns:
The version value.

setDefaultEntityJndiName

public void setDefaultEntityJndiName(String defaultEntityJndiName)
Sets the defaultjndiname attribute of the JOnASSubTask object
Parameters:
defaultEntityJndiName -

setVersion

public void setVersion(JonasSubTask.JonasVersionTypes version)
Sets the version of JOnAS. Supported versions are: 2.3, 2.4, 2.5, 2.6, 3.0, 3.2, 3.3.2, 4.0, 4.2, 4.6
Parameters:
version - The new version value. Supported versions are: 2.3, 2.4, 2.5, 2.6, 3.0, 3.2, 3.3.2, 4.0, 4.2, 4.6
ant.not-required
"No, default is '2.6'."