Top Description Methods
org.apache.tools.ant.taskdefs.optional.ejb

public Interface EJBDeploymentTool

Known Direct Implementers
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
Imports
javax.xml.parsers.SAXParser, org.apache.tools.ant.BuildException, .Task

The interface to implement for deployment tools.

Method Summary

Modifier and TypeMethod and Description
public void
configure(EjbJar.Config
contains configuration state.
config
)

Configure this tool for use in the ejbjar task.

public void
processDescriptor(String
the name of the deployment descriptor
descriptorFilename
,
SAXParser
a SAX parser which can be used to parse the deployment descriptor.
saxParser
)

Process a deployment descriptor, generating the necessary vendor specific deployment files.

public void
setTask(Task
the task.
task
)

Set the task which owns this tool

public void
validateConfigured()

Called to validate that the tool parameters have been configured.

Method Detail

configureback to summary
public void configure(EjbJar.Config config)

Configure this tool for use in the ejbjar task.

Parameters
config:EjbJar.Config

contains configuration state.

processDescriptorback to summary
public void processDescriptor(String descriptorFilename, SAXParser saxParser) throws BuildException

Process a deployment descriptor, generating the necessary vendor specific deployment files.

Parameters
descriptorFilename:String

the name of the deployment descriptor

saxParser:SAXParser

a SAX parser which can be used to parse the deployment descriptor.

Exceptions
BuildException:
if there is an error.
setTaskback to summary
public void setTask(Task task)

Set the task which owns this tool

Parameters
task:Task

the task.

validateConfiguredback to summary
public void validateConfigured() throws BuildException

Called to validate that the tool parameters have been configured.

Exceptions
BuildException:
if there is an error.