Public Member Functions | |
GenIC (DeploymentDesc ejbJarDesc, String dirOutputName, boolean isVerbose) throws GenICException | |
void | compilClasses (String nameJavac, List optionsJavaC, List optionsRmiC, String classpath, ProtocolNames protocols, boolean keepGenerated, boolean invkCmd) throws GenICException |
void | genClusterFiles (String classpath, boolean isKeepGenerated, boolean isInvokeCmd) throws GenICException |
void | addClassesInJar (String jarFileName, boolean keepGenerated) throws GenICException |
void | clean () |
Static Public Member Functions | |
void | main (String[] args) |
void | callClusterCompiler (String[] args) throws ClassNotFoundException, InstantiationException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException |
Static Public Attributes | |
final String | RMI_JRMP = "jrmp" |
final String | RMI_IIOP = "iiop" |
final String | JEREMIE = "jeremie" |
final String | CMI_RMI = "cmi" |
Protected Member Functions | |
String | convertName (String name) |
Package Functions | |
void | trace (String msg) |
Static Package Functions | |
void | usage () |
void | info (String msg) |
void | warning (String msg) |
void | error (String msg) |
void | fatalError (String msg, Exception e) |
void | fatalError (Exception e) |
void | printException (Exception e, PrintStream out) |
String | createTempDir () throws IOException |
void | getFilesList (String dir, ArrayList list, boolean onlyClass) |
Christophe Ney (Lutris Technologies) : Fix to handle arguments containing white spaces.
Guillaume Riviere : Fix the addClassesInJar() method (on David, the Stub/Skel classes names are different).
Dean Jennings : Remove System Exit (called now from server)
Sami Lehtinen : use of java.util.jar api instead of jar command
Definition at line 97 of file GenIC.java.
|
Here is the call graph for this function:
|
Add the generated classes in the given ejb-jar file.
Definition at line 892 of file GenIC.java. Referenced by org.objectweb.jonas_ejb.genic.GenIC.main(). |
|
Call the compiler for Cluster stubs
Definition at line 832 of file GenIC.java. |
|
Clean the intermediate generated files. Definition at line 1013 of file GenIC.java. Referenced by org.objectweb.jonas_ejb.genic.GenIC.main(). |
|
Compiles the java sources generated by the constructor I.e. :
Definition at line 659 of file GenIC.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.genic.GenIC.main(). |
Here is the call graph for this function:
|
Convert a name from any format in Jar filename format
Definition at line 912 of file GenIC.java. |
|
Create a cleaned temporary directory.
Definition at line 1142 of file GenIC.java. |
|
Display the specified error message.
Definition at line 1089 of file GenIC.java. |
|
Display the specified error message and exits with an EXIT_FAILURE status.
Definition at line 1109 of file GenIC.java. |
|
Display the specified error message and exits with an EXIT_FAILURE status.
Definition at line 1099 of file GenIC.java. Referenced by org.objectweb.jonas_ejb.genic.GenIC.main(). |
|
Generate the cluster stub files from the cluster config files.
Definition at line 850 of file GenIC.java. Referenced by org.objectweb.jonas_ejb.genic.GenIC.main(). |
|
Get the list file names recursively of the given directory
Definition at line 1157 of file GenIC.java. |
|
Display the specified message.
Definition at line 1073 of file GenIC.java. |
|
GenIC allows to generate the container classes for JOnAS for the given Enterprise Java Beans.
Usage: java org.objectweb.jonas_ejb.genic.GenIC -help
or java org.objectweb.jonas_ejb.genic.GenIC <options><input_file> Options include:
Input_File file name of the standard deployment descriptor (.xml ended), or file name of the EJB-jar (.jar ended).
Definition at line 220 of file GenIC.java. References org.objectweb.jonas_ejb.genic.GenIC.addClassesInJar(), org.objectweb.jonas_ejb.genic.GenIC.clean(), org.objectweb.jonas_ejb.genic.GenIC.compilClasses(), org.objectweb.jonas_ejb.genic.GenIC.fatalError(), org.objectweb.jonas_ejb.genic.GenIC.genClusterFiles(), org.objectweb.jonas.server.JClassLoader.getClassPath(), and org.objectweb.jonas_ejb.genic.ProtocolNames.isSupported(). |
Here is the call graph for this function:
|
Display the exception and its nested exception if exists, on the given printstream.
Definition at line 1121 of file GenIC.java. |
|
Display the specified message only if verbose.
Definition at line 1061 of file GenIC.java. |
|
Display the usage Definition at line 1025 of file GenIC.java. |
|
Display the specified warning message.
Definition at line 1081 of file GenIC.java. |
|
CMI protocol Definition at line 117 of file GenIC.java. |
|
JEREMIE protocol Definition at line 112 of file GenIC.java. |
|
IIOP protocol Definition at line 107 of file GenIC.java. |
|
JRMP protocol Definition at line 102 of file GenIC.java. |