|
||||||||||
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.
Constructor Summary | |
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. |
java.io.File |
getClasses()
|
Config |
getConfig()
|
static I18n |
getI18n()
|
static org.objectweb.util.monolog.api.Logger |
getLogger()
|
java.io.File |
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) throws WsGenException
config
- internal configuration object.
WsGenException
- When sources and target temporary directory cannot
be createdMethod Detail |
public abstract void generate() throws WsGenException
WsGenException
- When generation fails.public void compile() throws WsGenException
WsGenException
- When compilation failspublic abstract void addFiles(Archive archive) throws WsGenException
archive
- the archive destination of generated files.
WsGenException
- When files cannot be added in the given Archive.public Config getConfig()
public static I18n getI18n()
public static org.objectweb.util.monolog.api.Logger getLogger()
public java.io.File getClasses()
public java.io.File getSources()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |