Because this class (and it's assorted inner classes) may be bundled into the iPlanet Application Server distribution at some point (and removed from the Ant distribution), the class has been written to be independent of all Ant-specific classes. It is also for this reason (and to avoid cluttering the Apache Ant source files) that this utility has been packaged into a single source file.
For more information on Ant Tasks for iPlanet Application Server, see the
IPlanetDeploymentTool
and IPlanetEjbcTask
classes.
IPlanetDeploymentTool
, IPlanetEjbcTask
Modifier and Type | Class and Description |
---|---|
private static class | IPlanetEjbc.Classname
Convenience class used to represent the fully qualified name of a Java class. |
public class | IPlanetEjbc.EjbcException
This inner class is used to signal any problems during the execution of the ejbc compiler. |
private class | IPlanetEjbc.EjbcHandler
Deprecated
as a consequence of This inner class is an XML document handler that can be used to parse EJB
descriptors (both the standard EJB descriptor as well as the iAS-specific
descriptor that stores additional values for iAS).
HandlerBase being deprecated.
|
private class | IPlanetEjbc.EjbInfo
This inner class represents an EJB that will be compiled using ejbc. |
private static class | IPlanetEjbc.RedirectOutput
Thread class used to redirect output from an |
Modifier and Type | Field and Description |
---|---|
private String | |
private String[] | |
private boolean | |
private File | |
private String | |
private Hashtable | |
private static final String | |
private IPlanetEjbc. | handler
Deprecated
as a consequence of
IPlanetEjbc.EjbcHandler being deprecated.
|
private File | |
private File | |
private static final int | |
private static final int | |
private static final int | |
private static final int | |
private SAXParser | |
private boolean | |
private static final String | |
private static final String | |
private File |
Access | Constructor and Description |
---|---|
public | IPlanetEjbc(File
File referencing a standard EJB descriptor. stdDescriptor, File File referencing an iAS-specific EJB descriptor. iasDescriptor, File File referencing the base directory where both
EJB "source" files are found and where stubs and
skeletons will be written. destDirectory, String String representation of the classpath to be used
by the iAS ejbc utility. classpath, SAXParser SAXParser to be used to process both of the EJB
descriptors. parser)Constructs an instance which may be used to process EJB descriptors and generate EJB stubs and skeletons, if needed. |
Modifier and Type | Method and Description |
---|---|
private String[] | Returns: An array of Strings which are the command-line parameters for for the ejbc utility.The EJB for which stubs and skeletons will be compiled. ejbBased on this object's instance variables as well as the EJB to be processed, the correct flags and parameters are set for the ejbc command-line utility. |
private void | |
protected void | |
public void | |
public String[] | Returns: An array of CMP descriptors.Returns the list of CMP descriptors referenced in the EJB descriptors. |
public String | Returns: The EJB-JAR display name.Returns the display-name element read from the standard EJB descriptor. |
public Hashtable | Returns: The list of EJB files processed by the ejbc utility.Returns a Hashtable which contains a list of EJB class files processed by the ejbc utility (both "source" class files as well as stubs and skeletons). |
private IPlanetEjbc. | Returns: An array of objects which describe the EJBs to be processed.Parses the EJB descriptors and returns a list of EJBs which may need to be compiled. |
private void | |
public static void | |
public void | registerDTD(String
The public DTD identifier found in an XML document. publicID, String The file or resource name for the appropriate DTD stored
on the local machine. location)Registers the location of a local DTD file or resource. |
public void | setDebugOutput(boolean
A boolean indicating if debugging output should be
generated debugOutput)If true, enables debugging output when ejbc is executed. |
public void | setIasHomeDir(File
The home directory for the user's iAS installation. iasHomeDir)May be used to specify the "home" directory for this iAS installation. |
public void | setRetainSource(boolean
A boolean indicating if the Java source files for
the stubs and skeletons should be retained. retainSource)If true, the Java source files which are generated by the ejbc process are retained. |
private static void |