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

java.lang.Object
  extended byorg.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
      extended byorg.apache.tools.ant.taskdefs.optional.ejb.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
Author:
Paul Austin
See Also:
EjbJar.createJboss()

Field Summary
protected static java.lang.String JBOSS_CMPD
           
protected static java.lang.String JBOSS_DD
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
ANALYZER_CLASS_FULL, ANALYZER_CLASS_SUPER, ANALYZER_FULL, ANALYZER_NONE, ANALYZER_SUPER, DEFAULT_ANALYZER, EJB_DD, MANIFEST, META_DIR
 
Constructor Summary
JbossDeploymentTool()
           
 
Method Summary
protected  void addVendorFiles(java.util.Hashtable ejbFiles, java.lang.String ddPrefix)
          Add any vendor specific files which should be included in the EJB Jar.
 void setSuffix(java.lang.String inString)
          Setter used to store the suffix for the generated JBoss jar file.
 
Methods inherited from class org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool
addFileToJar, addSupportClasses, checkAndAddDependants, checkConfiguration, configure, createClasspath, getClassLoaderForBuild, getCombinedClasspath, getConfig, getDescriptorHandler, getDestDir, getJarBaseName, getLocation, getManifestFile, getPublicId, getTask, getVendorDDPrefix, log, needToRebuild, parseEjbFiles, processDescriptor, registerKnownDTDs, setClasspath, setDestdir, setGenericJarSuffix, setTask, usingBaseJarName, validateConfigured, writeJar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JBOSS_DD

protected static final java.lang.String JBOSS_DD
See Also:
Constant Field Values

JBOSS_CMPD

protected static final java.lang.String JBOSS_CMPD
See Also:
Constant Field Values
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


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