org.objectweb.jonas_ejb.genidl
Class GenIDL

java.lang.Object
  extended by org.objectweb.jonas_ejb.genidl.GenIDL

public class GenIDL
extends java.lang.Object

This class allows to generate:

of all the Enterprise Java Beans defined in the given Deployment Descriptor.


Constructor Summary
GenIDL(DeploymentDesc ejbJarDesc, java.lang.String dirOutputName, boolean isVerbose)
          GenIDL Constructor
 
Method Summary
 void generate(java.util.Vector optionsRmiC)
          Generate the IDLs for all Beans.
static void main(java.lang.String[] args)
          GenIDL allows to generate the IDLs of the Home and Remote interfaces of the beans described in the given EJB deployment descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenIDL

public GenIDL(DeploymentDesc ejbJarDesc,
              java.lang.String dirOutputName,
              boolean isVerbose)
       throws GenIDLException
GenIDL Constructor

Parameters:
ejbJarDescr - deployment descriptors of the beans
dirOutputName - path of the directory where to place the generated files (empty string "" if the output directory is the current directory)
isVerbose - if true, some traces are print
Throws:
GenIDLException - In error case
Method Detail

main

public static void main(java.lang.String[] args)
GenIDL allows to generate the IDLs of the Home and Remote interfaces of the beans described in the given EJB deployment descriptor.

Usage: java org.objectweb.jonas_ejb.genidl.GenIDL -help
to print this help message

or java org.objectweb.jonas_ejb.genidl.GenIDL
to generate the IDLs of the Home and Remote interfaces of the beans described in the given EJB deployment descriptor.

Options include:

Input_File file name of the standard deployment descriptor (.xml ended), or file name of the EJB-jar (.jar ended).


generate

public void generate(java.util.Vector optionsRmiC)
              throws GenIDLException
Generate the IDLs for all Beans.

Parameters:
optionsRmiC - options for the rmic tool
Throws:
GenIDLException - In error case