java.lang .Object org.apache.tools.ant.taskdefs.optional.ejb .GenericDeploymentTool org.apache.tools.ant.taskdefs.optional.ejb .JonasDeploymentTool JonasDeploymentTool public class JonasDeploymentTool extends GenericDeploymentTool (Code) The deployment tool to add the jonas specific deployment descriptors to the
ejb JAR file. JONAS only requires one additional file jonas-ejb-jar.xml.
version: 1.0See Also: EjbJar.createJonas
DAVID_ORB final protected static String DAVID_ORB (Code) DAVID ORB.
EJB_JAR_1_1_DTD final protected static String EJB_JAR_1_1_DTD (Code) Name of the standard deployment descriptor DTD (these files are stored in
the ${JONAS_ROOT}/xml directory).
EJB_JAR_1_1_PUBLIC_ID final protected static String EJB_JAR_1_1_PUBLIC_ID (Code) Public Id of the standard deployment descriptor DTD.
EJB_JAR_2_0_DTD final protected static String EJB_JAR_2_0_DTD (Code)
EJB_JAR_2_0_PUBLIC_ID final protected static String EJB_JAR_2_0_PUBLIC_ID (Code)
GENIC_CLASS final protected static String GENIC_CLASS (Code) GenIC class name (JOnAS 2.5)
JEREMIE_ORB final protected static String JEREMIE_ORB (Code) JEREMIE ORB.
JONAS_DD final protected static String JONAS_DD (Code) Default JOnAS deployment descriptor name.
JONAS_EJB_JAR_2_4_DTD final protected static String JONAS_EJB_JAR_2_4_DTD (Code) Name of the JOnAS-specific deployment descriptor DTD (these files are
stored in the ${JONAS_ROOT}/xml directory).
JONAS_EJB_JAR_2_4_PUBLIC_ID final protected static String JONAS_EJB_JAR_2_4_PUBLIC_ID (Code) Public Id of the JOnAS-specific deployment descriptor DTD.
JONAS_EJB_JAR_2_5_DTD final protected static String JONAS_EJB_JAR_2_5_DTD (Code)
JONAS_EJB_JAR_2_5_PUBLIC_ID final protected static String JONAS_EJB_JAR_2_5_PUBLIC_ID (Code)
OLD_GENIC_CLASS_1 final protected static String OLD_GENIC_CLASS_1 (Code) Old GenIC class name (JOnAS 2.4.x).
OLD_GENIC_CLASS_2 final protected static String OLD_GENIC_CLASS_2 (Code) Old GenIC class name.
checkConfiguration protected void checkConfiguration(String descriptorFileName, SAXParser saxParser) throws BuildException (Code) Verify the configuration.
Parameters: descriptorFileName - the name of the descriptor file.Parameters: saxParser - not used.throws: BuildException - if there is an error.
getGenicClassName String getGenicClassName(Path classpath) (Code) Get the GenIC class name to use in the given classpath.
Parameters: classpath - classpath where the GenIC class must be searched. the GenIC class name. Return null
if the class namecannot be found.
getVendorOutputJarFile protected File getVendorOutputJarFile(String baseName)(Code) .
setAdditionalargs public void setAdditionalargs(String aString)(Code) Sets the additional arguments.
Parameters: aString - additional args.
setJarsuffix public void setJarsuffix(String aString)(Code) Sets the jar suffix.
Parameters: aString - the string to use as the suffix.
setJavac public void setJavac(String aString)(Code) Sets the java compiler to use.
Parameters: aString - the java compiler.
setJavacopts public void setJavacopts(String aString)(Code) Set the options to pass to the java compiler.
Parameters: aString - the options.
setJonasroot public void setJonasroot(File aFile)(Code) Set the JOnAS root directory.
Parameters: aFile - the JOnAS root directory.
setKeepgenerated public void setKeepgenerated(boolean aBoolean)(Code) Sets the keepgenerated
flag.
Parameters: aBoolean - true
if the flag must be set.
setKeepgeneric public void setKeepgeneric(boolean aBoolean)(Code) Sets the keepgeneric
flag.
Parameters: aBoolean - true
if the flag must be set.
setNocompil public void setNocompil(boolean aBoolean)(Code) Sets the nocompil
flag.
Parameters: aBoolean - true
if the flag must be set.
setNogenic public void setNogenic(boolean aBoolean)(Code) Sets the nogenic
flag.
Parameters: aBoolean - true
if the flag must be set.
setNovalidation public void setNovalidation(boolean aBoolean)(Code) Sets the novalidation
flag.
Parameters: aBoolean - true
if the flag must be set.
setOrb public void setOrb(String aString)(Code) Sets the orb
to construct classpath.
Parameters: aString - 'RMI', 'JEREMIE', or 'DAVID'.
setRmicopts public void setRmicopts(String aString)(Code) Set the options to pass to the rmi compiler.
Parameters: aString - the options.
setSecpropag public void setSecpropag(boolean aBoolean)(Code) Sets the secpropag
flag.
Parameters: aBoolean - true
if the flag must be set.
setVerbose public void setVerbose(boolean aBoolean)(Code) Sets the verbose
flag.
Parameters: aBoolean - true
if the flag must be set.
Methods inherited from org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool protected void addFileToJar(JarOutputStream jStream, File inputFile, String logicalFilename) throws BuildException (Code) (Java Doc) protected void addSupportClasses(Hashtable ejbFiles)(Code) (Java Doc) protected void addVendorFiles(Hashtable ejbFiles, String ddPrefix)(Code) (Java Doc) protected void checkAndAddDependants(Hashtable checkEntries) throws BuildException (Code) (Java Doc) protected void checkConfiguration(String descriptorFileName, SAXParser saxParser) throws BuildException (Code) (Java Doc) public void configure(EjbJar.Config config)(Code) (Java Doc) public Path createClasspath()(Code) (Java Doc) protected ClassLoader getClassLoaderForBuild()(Code) (Java Doc) protected Path getCombinedClasspath()(Code) (Java Doc) protected EjbJar.Config getConfig()(Code) (Java Doc) protected DescriptorHandler getDescriptorHandler(File srcDir)(Code) (Java Doc) protected File getDestDir()(Code) (Java Doc) protected String getJarBaseName(String descriptorFileName)(Code) (Java Doc) protected Location getLocation()(Code) (Java Doc) protected File getManifestFile(String prefix)(Code) (Java Doc) protected String getPublicId()(Code) (Java Doc) protected Task getTask()(Code) (Java Doc) public String getVendorDDPrefix(String baseName, String descriptorFileName)(Code) (Java Doc) File getVendorOutputJarFile(String baseName)(Code) (Java Doc) protected void log(String message, int level)(Code) (Java Doc) protected boolean needToRebuild(Hashtable ejbFiles, File jarFile)(Code) (Java Doc) protected Hashtable parseEjbFiles(String descriptorFileName, SAXParser saxParser) throws IOException , SAXException (Code) (Java Doc) public void processDescriptor(String descriptorFileName, SAXParser saxParser)(Code) (Java Doc) protected void registerKnownDTDs(DescriptorHandler handler)(Code) (Java Doc) public void setClasspath(Path classpath)(Code) (Java Doc) public void setDestdir(File inDir)(Code) (Java Doc) public void setGenericJarSuffix(String inString)(Code) (Java Doc) public void setTask(Task task)(Code) (Java Doc) protected boolean usingBaseJarName()(Code) (Java Doc) public void validateConfigured() throws BuildException (Code) (Java Doc) protected void writeJar(String baseName, File jarfile, Hashtable files, String publicId) throws BuildException (Code) (Java Doc)