|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_ejb.genic.GenIC
This class allows to generate:
Constructor Summary | |
GenIC(DeploymentDesc ejbJarDesc,
java.lang.String dirOutputName,
boolean isSecPropag,
boolean isVerbose,
boolean isDebug)
GenIC Constructor |
Method Summary | |
void |
addClassesInJar(java.lang.String jarFileName)
Add the generated classes in the given ejb-jar file. |
void |
clean()
Clean the intermediate generated files. |
void |
compilClasses(java.lang.String nameJavac,
java.util.Vector optionsJavaC,
java.util.Vector optionsRmiC,
java.lang.String classpath)
Compiles the java sources generated by the genSources() method. |
void |
genSources()
|
static void |
main(java.lang.String[] args)
GenIC allows to generate the container classes for JOnAS for the given Enterprise Java Beans. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GenIC(DeploymentDesc ejbJarDesc, java.lang.String dirOutputName, boolean isSecPropag, boolean isVerbose, boolean isDebug) throws GenICException
ejbJarDescr
- deployment descriptors of the beansdirOutputName
- path of the directory where to place the generated files
(empty string "" if the output directory is the current directory)isSecPropag
- generation with or without the security propagation
of the transactionnal contextisVerbose
- if true, some traces are printisDebug
- if true, many debug traces are printGenICException
- In error caseMethod Detail |
public static void main(java.lang.String[] args)
Usage: java org.objectweb.jonas_ejb.genic.GenIC -help
to print this help message
or java org.objectweb.jonas_ejb.genic.GenIC
Options include:
Input_File file name of the standard deployment descriptor (.xml ended),
or file name of the EJB-jar (.jar ended).
to generate the container classes for the given EJBs.
public void genSources() throws GenICException
public void compilClasses(java.lang.String nameJavac, java.util.Vector optionsJavaC, java.util.Vector optionsRmiC, java.lang.String classpath) throws GenICException
nameJavac
- name the javac tool to use (if null, take the standard tool)optionsJavaC
- options for the javac tooloptionsRmiC
- options for the rmic toolclasspath
- classpath valueGenICException
- In error casepublic void addClassesInJar(java.lang.String jarFileName) throws GenICException
public void clean()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |