|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ws.wsgen.generator.Generator
Generators provide a structure to be extended for specific generation mecanisms. Axis will provide an AxisWsClientGenerator that will be in charge of client side generation (WSDL2Java tool) and an AxisWsEndpointGenerator that will bother with server side artifact generation.
Nested Class Summary | |
static class |
Generator.Config
Configuration object storing generation params. |
Field Summary | |
protected java.io.File |
classes
compiled classes directory |
protected Generator.Config |
config
Configuration to be used |
protected static I18n |
i18n
i18n |
protected static org.objectweb.util.monolog.api.Logger |
logger
logger |
protected java.io.File |
sources
generated files directory |
Constructor Summary | |
Generator(Generator.Config config)
Creates a new Generator with the given Config. |
Method Summary | |
abstract void |
addFiles(Archive archive)
Add generated files into an Archive |
void |
compile()
Compile generated java files into classes directory. |
abstract void |
generate()
Generate files |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static I18n i18n
protected static final org.objectweb.util.monolog.api.Logger logger
protected Generator.Config config
protected java.io.File classes
protected java.io.File sources
Constructor Detail |
public Generator(Generator.Config config) throws WsGenException
config
- internal configuration object.
WsGenException
- When sources and target temporary directory cannot be createdMethod Detail |
public abstract void generate() throws WsGenException
WsGenException
public void compile() throws WsGenException
WsGenException
- When compilation failspublic abstract void addFiles(Archive archive) throws WsGenException
archive
- the archive destination of generated files.
WsGenException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |