org.apache.tools.ant.taskdefs.optional.ejb
public class JonasDeploymentTool extends GenericDeploymentTool
Version: 1.0
See Also: EjbJar
| Field Summary | |
|---|---|
| protected static String | DAVID_ORB DAVID ORB. |
| protected static String | EJB_JAR_1_1_DTD
Name of the standard deployment descriptor DTD (these files are stored in
the ${JONAS_ROOT}/xml directory). |
| protected static String | EJB_JAR_1_1_PUBLIC_ID Public Id of the standard deployment descriptor DTD. |
| protected static String | EJB_JAR_2_0_DTD |
| protected static String | EJB_JAR_2_0_PUBLIC_ID |
| protected static String | GENIC_CLASS GenIC class name (JOnAS 2.5) |
| protected static String | JEREMIE_ORB JEREMIE ORB. |
| protected static String | JONAS_DD Default JOnAS deployment descriptor name. |
| protected static String | JONAS_EJB_JAR_2_4_DTD
Name of the JOnAS-specific deployment descriptor DTD (these files are
stored in the ${JONAS_ROOT}/xml directory). |
| protected static String | JONAS_EJB_JAR_2_4_PUBLIC_ID Public Id of the JOnAS-specific deployment descriptor DTD. |
| protected static String | JONAS_EJB_JAR_2_5_DTD |
| protected static String | JONAS_EJB_JAR_2_5_PUBLIC_ID |
| protected static String | OLD_GENIC_CLASS_1 Old GenIC class name (JOnAS 2.4.x). |
| protected static String | OLD_GENIC_CLASS_2 Old GenIC class name. |
| protected static String | RMI_ORB RMI ORB. |
| Method Summary | |
|---|---|
| protected void | addVendorFiles(Hashtable ejbFiles, String ddPrefix) {@inheritDoc }. |
| protected void | checkConfiguration(String descriptorFileName, SAXParser saxParser)
Verify the configuration. |
| protected String | getJarBaseName(String descriptorFileName) {@inheritDoc }. |
| protected File | getVendorOutputJarFile(String baseName) {@inheritDoc }. |
| void | processDescriptor(String aDescriptorName, SAXParser saxParser) {@inheritDoc }. |
| protected void | registerKnownDTDs(DescriptorHandler handler) {@inheritDoc }. |
| void | setAdditionalargs(String aString)
Sets the additional arguments.
|
| void | setJarsuffix(String aString)
Sets the jar suffix.
|
| void | setJavac(String aString)
Sets the java compiler to use.
|
| void | setJavacopts(String aString)
Set the options to pass to the java compiler.
|
| void | setJonasroot(File aFile)
Set the JOnAS root directory.
|
| void | setKeepgenerated(boolean aBoolean)
Sets the keepgenerated flag.
|
| void | setKeepgeneric(boolean aBoolean)
Sets the keepgeneric flag.
|
| void | setNocompil(boolean aBoolean)
Sets the nocompil flag.
|
| void | setNogenic(boolean aBoolean)
Sets the nogenic flag.
|
| void | setNovalidation(boolean aBoolean)
Sets the novalidation flag.
|
| void | setOrb(String aString)
Sets the orb to construct classpath.
|
| void | setRmicopts(String aString)
Set the options to pass to the rmi compiler.
|
| void | setSecpropag(boolean aBoolean)
Sets the secpropag flag.
|
| void | setVerbose(boolean aBoolean)
Sets the verbose flag.
|
| protected void | writeJar(String baseName, File jarfile, Hashtable ejbFiles, String publicId) {@inheritDoc }. |
Parameters: descriptorFileName the name of the descriptor file. saxParser not used.
Throws: BuildException if there is an error.
Parameters: aString additional args.
Parameters: aString the string to use as the suffix.
Parameters: aString the java compiler.
Parameters: aString the options.
Parameters: aFile the JOnAS root directory.
keepgenerated flag.
Parameters: aBoolean true if the flag must be set.
keepgeneric flag.
Parameters: aBoolean true if the flag must be set.
nocompil flag.
Parameters: aBoolean true if the flag must be set.
nogenic flag.
Parameters: aBoolean true if the flag must be set.
novalidation flag.
Parameters: aBoolean true if the flag must be set.
orb to construct classpath.
Parameters: aString 'RMI', 'JEREMIE', or 'DAVID'.
Parameters: aString the options.
secpropag flag.
Parameters: aBoolean true if the flag must be set.
verbose flag.
Parameters: aBoolean true if the flag must be set.