org.objectweb.jonas_ws.wsgen.axis
Class AxisConfigGenerator

java.lang.Object
  extended byorg.objectweb.jonas_ws.wsgen.AbsConfigGenerator
      extended byorg.objectweb.jonas_ws.wsgen.axis.AxisConfigGenerator
All Implemented Interfaces:
ConfigGenerator

public class AxisConfigGenerator
extends AbsConfigGenerator

Implement methods generating AXIS specific configuration files and classes. A class is created for each WS Engine for example, a new class called GlueConfigGenerator for Glue integration

Author:
Guillaume Sauthier & Xavier Delplanque

Nested Class Summary
 
Nested classes inherited from class org.objectweb.jonas_ws.wsgen.AbsConfigGenerator
AbsConfigGenerator.DirFileFilter, AbsConfigGenerator.JavaFileFilter
 
Field Summary
 
Fields inherited from class org.objectweb.jonas_ws.wsgen.AbsConfigGenerator
cp, filename, genDir, javaHomeBin, logger
 
Fields inherited from interface org.objectweb.jonas_ws.wsgen.ConfigGenerator
DEBUG, DEBUG_DEFAULT, KEEP_GEN, NO_CONFIG, NO_CONFIG_DEFAULT, VERBOSE, VERBOSE_DEFAULT
 
Constructor Summary
AxisConfigGenerator()
           
 
Method Summary
protected  void configureClient(ServiceRef servRef)
          ConfigureClient has to be implemented in subClass.
 void configureEndpoint(WSDeploymentDesc dd)
          Configure Endpoint has to be implemented in subClass.
 java.lang.String getEngineWebApp()
          return the webservices engine class name.
 
Methods inherited from class org.objectweb.jonas_ws.wsgen.AbsConfigGenerator
addSrcs, compileGenDir, destroyFile, destroyTempDir, genClientConfig, genClientConfig, genClientFiles, genEndpointConfig, getDefaultMapping, getOption, getOption, isDebug, isNoConfig, isVerbose, setOption, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisConfigGenerator

public AxisConfigGenerator()
                    throws WsGenException
Method Detail

configureEndpoint

public void configureEndpoint(WSDeploymentDesc dd)
                       throws WsGenException
Description copied from class: AbsConfigGenerator
Configure Endpoint has to be implemented in subClass. hold specific process for endpoint with specific WebService engine. Generate files in the temporary directory genDir. Needs to be overridden in sub classes.

Overrides:
configureEndpoint in class AbsConfigGenerator
Parameters:
dd - the webservices deployment descriptor
Throws:
WsGenException - if generation fails if the method isn't implemented

configureClient

protected void configureClient(ServiceRef servRef)
                        throws WsGenException
Description copied from class: AbsConfigGenerator
ConfigureClient has to be implemented in subClass. hold specific process for client with specific WebService engine. Generate files in the temporary directory genDir. Needs to be overridden in sub classes.

Overrides:
configureClient in class AbsConfigGenerator
Parameters:
servRef - The ServiceRef representing the client dependency.
Throws:
WsGenException - if generation fails if the method isn't implemented

getEngineWebApp

public java.lang.String getEngineWebApp()
return the webservices engine class name.

Specified by:
getEngineWebApp in interface ConfigGenerator
Overrides:
getEngineWebApp in class AbsConfigGenerator
Returns:
the webservices engine class name.