|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.generators.genic.GenIC
public class GenIC
This class allows to generate:
Field Summary | |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger
Logger. |
Constructor Summary | |
---|---|
GenIC(DeploymentDesc ejbJarDesc,
GenICParameters gp)
GenIC Constructor: generates the container classes sources of each beans. |
Method Summary | |
---|---|
void |
addClassesInJar()
Add the generated classes in the given ejb-jar file. |
void |
clean()
Clean the intermediate generated files. |
void |
compilClasses(String classpath,
ClassLoader loader)
Compiles the java sources generated by the constructor I.e. |
protected String |
convertName(String name)
Convert a name from any format in Jar filename format. |
static void |
main(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 |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
---|
public GenIC(DeploymentDesc ejbJarDesc, GenICParameters gp) throws GenICException
ejbJarDesc
- deployment descriptors of the beansgp
- GenIC parameters
GenICException
- In error caseMethod Detail |
---|
public static void main(String[] args)
Usage: java org.ow2.jonas.generators.genic.GenIC -help
to print this help message
or java org.ow2.jonas.generators.genic.GenIC <Options><Input_File>
to generate the container classes for the given EJBs.
Options include:
Input_File file name of the standard deployment descriptor (.xml ended), or file name of the EJB-jar (.jar ended).
args
- arguments for GenICpublic void compilClasses(String classpath, ClassLoader loader) throws GenICException
classpath
- classpath valueloader
- ClassLoader used for compilation of interposition classes
GenICException
- In error casepublic void addClassesInJar() throws GenICException
GenICException
- if the classes cannot be added in the jar fileprotected String convertName(String name)
name
- filename to be converted
public void clean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |