org.objectweb.jonas_ejb.genidl.GenIDL Class Reference

List of all members.

Public Member Functions

 GenIDL (DeploymentDesc ejbJarDesc, String dirOutputName, boolean isVerbose) throws GenIDLException
void generate (Vector optionsRmiC) throws GenIDLException

Static Public Member Functions

void main (String args[])

Package Functions

void trace (String msg)

Static Package Functions

void info (String msg)
void error (String errMsg)
void fatalError (String errMsg)

Detailed Description

This class allows to generate: of all the Enterprise Java Beans defined in the given Deployment Descriptor.

Definition at line 61 of file GenIDL.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.genidl.GenIDL.GenIDL DeploymentDesc  ejbJarDesc,
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
Exceptions:
GenIDLException In error case

Definition at line 240 of file GenIDL.java.

References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getHomeClass(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getRemoteClass(), and org.objectweb.jonas_ejb.genidl.GenIDL.info().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas_ejb.genidl.GenIDL.error String  errMsg  )  [static, package]
 

Display the specified error message.

Parameters:
errMsg the error message to display

Definition at line 367 of file GenIDL.java.

void org.objectweb.jonas_ejb.genidl.GenIDL.fatalError String  errMsg  )  [static, package]
 

Display the specified error message and exits with an EXIT_FAILURE status.

Parameters:
errMsg the error message to display

Definition at line 377 of file GenIDL.java.

Referenced by org.objectweb.jonas_ejb.genidl.GenIDL.main().

void org.objectweb.jonas_ejb.genidl.GenIDL.generate Vector  optionsRmiC  )  throws GenIDLException
 

Generate the IDLs for all Beans.

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

Definition at line 289 of file GenIDL.java.

References org.objectweb.common.Cmd.addArgument(), org.objectweb.common.Cmd.addArguments(), org.objectweb.common.Cmd.run(), and org.objectweb.common.Cmd.toString().

Referenced by org.objectweb.jonas_ejb.genidl.GenIDL.main().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.genidl.GenIDL.info String  msg  )  [static, package]
 

Display the specified message.

Parameters:
msg the message to display

Definition at line 359 of file GenIDL.java.

Referenced by org.objectweb.jonas_ejb.genidl.GenIDL.GenIDL().

void org.objectweb.jonas_ejb.genidl.GenIDL.main String  args[]  )  [static]
 

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 <options> <input_file>
to generate the IDLs of the Home and Remote interfaces of the beans described in the given EJB deployment descriptor.

Options include:

  • -d <output_dir> specify where to place the generated files
  • -novalidation parse the XML deployment descriptors without validation
  • -rmicopts <opt> specify the options to pass to the rmic compiler
  • -verbose

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

Definition at line 112 of file GenIDL.java.

References org.objectweb.jonas_ejb.genidl.GenIDL.fatalError(), and org.objectweb.jonas_ejb.genidl.GenIDL.generate().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.genidl.GenIDL.trace String  msg  )  [package]
 

Display the specified message only if verbose.

Parameters:
msg the message to display

Definition at line 349 of file GenIDL.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:51 2005 for JOnAS by  doxygen 1.3.9.1