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

Class JbossDeploymentTool

public class JbossDeploymentTool extends GenericDeploymentTool

The deployment tool to add the jboss specific deployment descriptor to the ejb jar file. Jboss only requires one additional file jboss.xml and does not require any additional compilation.

Version: 1.0

See Also: EjbJar

Field Summary
protected static StringJBOSS_CMP10D
protected static StringJBOSS_CMP20D
protected static StringJBOSS_DD
Method Summary
protected voidaddVendorFiles(Hashtable ejbFiles, String ddPrefix)
Add any vendor specific files which should be included in the EJB Jar.
voidsetSuffix(String inString)
Setter used to store the suffix for the generated JBoss jar file.
voidvalidateConfigured()
Called to validate that the tool parameters have been configured.

Field Detail

JBOSS_CMP10D

protected static final String JBOSS_CMP10D

JBOSS_CMP20D

protected static final String JBOSS_CMP20D

JBOSS_DD

protected static final String JBOSS_DD

Method Detail

addVendorFiles

protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)
Add any vendor specific files which should be included in the EJB Jar.

setSuffix

public void setSuffix(String inString)
Setter used to store the suffix for the generated JBoss jar file.

Parameters: inString the string to use as the suffix.

validateConfigured

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

Throws: BuildException If the Deployment Tool's configuration isn't valid

Since: ant 1.6

Copyright