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

Class JbossDeploymentTool

  • All Implemented Interfaces:
    EJBDeploymentTool


    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.createJboss()
    • Constructor Detail

      • JbossDeploymentTool

        public JbossDeploymentTool()
    • Method Detail

      • setSuffix

        public void setSuffix(java.lang.String inString)
        Setter used to store the suffix for the generated JBoss jar file.
        Parameters:
        inString - the string to use as the suffix.
      • addVendorFiles

        protected void addVendorFiles(java.util.Hashtable ejbFiles,
                                      java.lang.String ddPrefix)
        Add any vendor specific files which should be included in the EJB Jar.
        Overrides:
        addVendorFiles in class GenericDeploymentTool
        Parameters:
        ejbFiles - the hashtable of files to populate.
        ddPrefix - the prefix to use.