org.objectweb.jonas_ws.wsgen.generator.axis.wsdl2java
Class JOnASGeneratorFactory

java.lang.Object
  extended by org.apache.axis.wsdl.toJava.JavaGeneratorFactory
      extended by org.objectweb.jonas_ws.wsgen.generator.axis.wsdl2java.JOnASGeneratorFactory
All Implemented Interfaces:
org.apache.axis.wsdl.gen.GeneratorFactory

public class JOnASGeneratorFactory
extends org.apache.axis.wsdl.toJava.JavaGeneratorFactory

JOnASGeneratorFactory returns our own JOnASServiceWriter in WSDL2Java process.

Author:
Guillaume Sauthier

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.axis.wsdl.toJava.JavaGeneratorFactory
org.apache.axis.wsdl.toJava.JavaGeneratorFactory.Writers
 
Field Summary
 
Fields inherited from class org.apache.axis.wsdl.toJava.JavaGeneratorFactory
bindingWriters, COMPLEX_TYPE_FAULT, emitter, EXCEPTION_CLASS_NAME, EXCEPTION_DATA_TYPE, serviceWriters, symbolTable
 
Constructor Summary
JOnASGeneratorFactory(org.apache.axis.wsdl.toJava.Emitter emitter)
          Constructs a new JOnASGeneratorFactory associated with a given JOnASEmitter
 
Method Summary
protected  void addDefinitionGenerators()
          Method addDefinitionGenerators
 org.apache.axis.wsdl.gen.Generator getGenerator(javax.wsdl.Service service, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
           
 
Methods inherited from class org.apache.axis.wsdl.toJava.JavaGeneratorFactory
addBindingGenerators, addGenerator, addMessageGenerators, addPortTypeGenerators, addServiceGenerators, addTypeGenerators, constructSignatures, determineIfHoldersNeeded, determineInterfaceNames, generatorPass, getBaseTypeMapping, getExceptionJavaNameHook, getGenerator, getGenerator, getGenerator, getGenerator, getGenerator, getOperationJavaNameHook, getParameterTypeJavaNameHook, getPortJavaNameHook, getReturnTypeJavaNameHook, getServiceEndpointInterfaceJavaNameHook, getServiceInterfaceJavaNameHook, ignoreNonSOAPBindings, include, javifyNames, javifyTypeEntryName, resolveNameClashes, setAllReferencesToTrue, setBaseTypeMapping, setEmitter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnASGeneratorFactory

public JOnASGeneratorFactory(org.apache.axis.wsdl.toJava.Emitter emitter)
Constructs a new JOnASGeneratorFactory associated with a given JOnASEmitter

Parameters:
emitter - the JOnASEmitter
Method Detail

addDefinitionGenerators

protected void addDefinitionGenerators()
Method addDefinitionGenerators

Overrides:
addDefinitionGenerators in class org.apache.axis.wsdl.toJava.JavaGeneratorFactory

getGenerator

public org.apache.axis.wsdl.gen.Generator getGenerator(javax.wsdl.Service service,
                                                       org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Specified by:
getGenerator in interface org.apache.axis.wsdl.gen.GeneratorFactory
Overrides:
getGenerator in class org.apache.axis.wsdl.toJava.JavaGeneratorFactory
Parameters:
service - wsdl:service instance
symbolTable - SymbolTable
Returns:
Returns the JOnASServiceWriter when encoutering Service in SymbolTable