|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_lib.genbase.generator.AbsGenerator
org.objectweb.jonas_lib.genclientstub.generator.Generator
Generator used to generate Stubs for clients
| Constructor Summary | |
Generator(Config config,
EjbRefDesc ejbRef,
java.lang.String intfStubClassName,
Archive archive)
Creates a new Generator with the given Config. |
|
| Method Summary | |
void |
addFiles(Archive archive)
Add generated files into an Archive |
void |
compile()
Compile generated java files into classes directory. |
void |
generate()
Generate stub files. |
| Methods inherited from class org.objectweb.jonas_lib.genbase.generator.AbsGenerator |
addJavaSources, getClasses, getConfig, getLogger, getSources |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Generator(Config config,
EjbRefDesc ejbRef,
java.lang.String intfStubClassName,
Archive archive)
throws GenBaseException
config - internal configuration object.ejbRef - reference to the ejb on which we want create the stubintfStubClassName - name of the interfacearchive - given ejbjar, webapp, ...
GenBaseException - When sources and target temporary directory
cannot be created| Method Detail |
public void generate()
throws ClientStubGenException
generate in class AbsGeneratorClientStubGenException - When generation fails.
public void compile()
throws ClientStubGenException
compile in class AbsGeneratorClientStubGenException - When compilation fails
public void addFiles(Archive archive)
throws ClientStubGenException
addFiles in class AbsGeneratorarchive - the archive destination of generated files.
ClientStubGenException - When files cannot be added in the given
Archive.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||