org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.emitter
Class FullEmitter

java.lang.Object
  extended by org.apache.axis.wsdl.gen.Parser
      extended by org.apache.axis.wsdl.toJava.Emitter
          extended by org.apache.ws.ews.mapper.J2eeEmitter
              extended by org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.emitter.FullEmitter
All Implemented Interfaces:
JOnASWSEmitter

public class FullEmitter
extends org.apache.ws.ews.mapper.J2eeEmitter
implements JOnASWSEmitter

Allows to define more options like classloader.

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.ws.ews.mapper.J2eeEmitter
wscontext
 
Fields inherited from class org.apache.axis.wsdl.toJava.Emitter
baseTypeMapping, DEFAULT_NSTOPKG_FILE, namespaceMap, namespaces, nsExcludes, nsIncludes, NStoPkgFilename, properties, typeMappingVersion
 
Fields inherited from class org.apache.axis.wsdl.gen.Parser
debug, imports, nowrap, password, quiet, username, verbose, wrapArrays
 
Constructor Summary
FullEmitter()
           
 
Method Summary
 java.lang.ClassLoader getClassLoader()
           
 JOnASJ2EEWebServicesContext getJOnASWsContext()
           
 boolean hasBindingGeneration()
           
 boolean hasDeployGeneration()
           
 boolean hasServiceGeneration()
           
 void setBindingGeneration(boolean bg)
           
 void setClassLoader(java.lang.ClassLoader classLoader)
          Set the classloader to use
 void setDeployGeneration(boolean dg)
           
 void setJOnASWsContext(JOnASJ2EEWebServicesContext context)
           
 void setServiceGeneration(boolean sg)
           
 
Methods inherited from class org.apache.ws.ews.mapper.J2eeEmitter
getJavaName, getJaxRpcMapper, getServiceQName, getSymbolTable, getWscontext, isGeneratingInterface, isGeneratingTypes, run, runServerSide, runTemp, sanityCheck, setJaxRpcMapper, setMappingFileInputStream, setMappingFilePath, setWscontext
 
Methods inherited from class org.apache.axis.wsdl.toJava.Emitter
debug, deploySkeleton, doesExist, emit, emit, generateAll, generateImports, generateServerSide, generateTestCase, getDebug, getDefaultTypeMapping, getDeploySkeleton, getGeneratedClassNames, getGeneratedFileInfo, getGeneratedFileNames, getGenerateServerSide, getHelperGeneration, getImplementationClassName, getJavaNameHook, getJavaVariableName, getJavaVariableNameHook, getNamespaceExcludes, getNamespaceIncludes, getNamespaceMap, getNamespaces, getOutputDir, getPackage, getPackage, getPackageName, getProperties, getQName2ClassMap, getScope, getServiceDesc, getTypeMappingVersion, getVerbose, getWriterFactory, isAllowInvalidURL, isAllWanted, isBuildFileWanted, isDeploy, isHelperWanted, isServerSide, isSkeletonWanted, isTestCaseWanted, isTypeCollisionProtection, run, setAllowInvalidURL, setAllWanted, setBuildFileWanted, setDefaultTypeMapping, setDeploy, setFactory, setHelperGeneration, setHelperWanted, setImplementationClassName, setNamespaceExcludes, setNamespaceIncludes, setNamespaceMap, setNStoPkg, setOutputDir, setPackageName, setProperties, setQName2ClassMap, setScope, setServerSide, setServiceDesc, setSkeletonWanted, setTestCaseWanted, setTypeCollisionProtection, setTypeMappingVersion, setWrapArrays, verbose
 
Methods inherited from class org.apache.axis.wsdl.gen.Parser
getCurrentDefinition, getFactory, getPassword, getTimeout, getUsername, getWSDLURI, isDebug, isImports, isNowrap, isQuiet, isVerbose, setDebug, setFactory, setImports, setNowrap, setPassword, setQuiet, setTimeout, setUsername, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullEmitter

public FullEmitter()
Method Detail

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface JOnASWSEmitter
Returns:
the classLoader.

setClassLoader

public void setClassLoader(java.lang.ClassLoader classLoader)
Set the classloader to use

Specified by:
setClassLoader in interface JOnASWSEmitter
Parameters:
classLoader - The classLoader to set.

getJOnASWsContext

public JOnASJ2EEWebServicesContext getJOnASWsContext()
Specified by:
getJOnASWsContext in interface JOnASWSEmitter
Returns:
Returns the Ws Context
See Also:
JOnASWSEmitter.getJOnASWsContext()

setJOnASWsContext

public void setJOnASWsContext(JOnASJ2EEWebServicesContext context)
Specified by:
setJOnASWsContext in interface JOnASWSEmitter
Parameters:
context - set the WS Context
See Also:
JOnASWSEmitter.setJOnASWsContext(org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.JOnASJ2EEWebServicesContext)

hasBindingGeneration

public boolean hasBindingGeneration()
Specified by:
hasBindingGeneration in interface JOnASWSEmitter
Returns:
true if needs to generate bindings
See Also:
JOnASWSEmitter.hasBindingGeneration()

hasServiceGeneration

public boolean hasServiceGeneration()
Specified by:
hasServiceGeneration in interface JOnASWSEmitter
Returns:
true if needs to generate services
See Also:
JOnASWSEmitter.hasServiceGeneration()

hasDeployGeneration

public boolean hasDeployGeneration()
Specified by:
hasDeployGeneration in interface JOnASWSEmitter
Returns:
true if needs to generate deploy files
See Also:
JOnASWSEmitter.hasDeployGeneration()

setBindingGeneration

public void setBindingGeneration(boolean bg)
Parameters:
bg - generate bindings on/off

setServiceGeneration

public void setServiceGeneration(boolean sg)
Parameters:
sg - generate services on/off

setDeployGeneration

public void setDeployGeneration(boolean dg)
Parameters:
dg - generate deploy files on/off