Interface EJBDeploymentTool
- 
- All Known Implementing Classes:
- BorlandDeploymentTool,- GenericDeploymentTool,- IPlanetDeploymentTool,- JbossDeploymentTool,- JonasDeploymentTool,- OrionDeploymentTool,- WeblogicDeploymentTool,- WeblogicTOPLinkDeploymentTool,- WebsphereDeploymentTool
 
 public interface EJBDeploymentToolThe interface to implement for deployment tools.
- 
- 
Method SummaryModifier and Type Method Description voidconfigure(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.Config config)Configure this tool for use in the ejbjar task.voidprocessDescriptor(java.lang.String descriptorFilename, javax.xml.parsers.SAXParser saxParser)Process a deployment descriptor, generating the necessary vendor specific deployment files.voidsetTask(Task task)Set the task which owns this toolvoidvalidateConfigured()Called to validate that the tool parameters have been configured.
 
- 
- 
- 
Method Detail- 
processDescriptorvoid processDescriptor(java.lang.String descriptorFilename, javax.xml.parsers.SAXParser saxParser) throws BuildExceptionProcess 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.
- Throws:
- BuildException- if there is an error.
 
 - 
validateConfiguredvoid validateConfigured() throws BuildExceptionCalled to validate that the tool parameters have been configured.- Throws:
- BuildException- if there is an error.
 
 - 
setTaskvoid setTask(Task task) Set the task which owns this tool- Parameters:
- task- the task.
 
 - 
configurevoid configure(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.Config config) Configure this tool for use in the ejbjar task.- Parameters:
- config- contains configuration state.
 
 
- 
 
-