org.apache.tools.ant.taskdefs.optional.ejb

Interface EJBDeploymentTool

Known Implementing Classes:
BorlandDeploymentTool, GenericDeploymentTool, IPlanetDeploymentTool, JbossDeploymentTool, JonasDeploymentTool, WeblogicDeploymentTool, WeblogicTOPLinkDeploymentTool, WebsphereDeploymentTool

public interface EJBDeploymentTool

Method Summary

void
configure(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.Config config)
Configure this tool for use in the ejbjar task.
void
processDescriptor(String descriptorFilename, SAXParser saxParser)
Process a deployment descriptor, generating the necessary vendor specific deployment files.
void
setTask(Task task)
Set the task which owns this tool
void
validateConfigured()
Called to validate that the tool parameters have been configured.

Method Details

configure

public void configure(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.Config config)
Configure this tool for use in the ejbjar task.

processDescriptor

public void processDescriptor(String descriptorFilename,
                              SAXParser saxParser)
            throws BuildException
Process a deployment descriptor, generating the necessary vendor specific deployment files.
Parameters:
descriptorFilename - the name of the deployment descriptor
saxParser - a SAX parser which can be used to parse the deployment descriptor.

setTask

public void setTask(Task task)
Set the task which owns this tool

validateConfigured

public void validateConfigured()
            throws BuildException
Called to validate that the tool parameters have been configured.

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.