org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory Class Reference

Inherits org.objectweb.jonas_lib.genbase.generator.GeneratorFactory.

Inherited by org.objectweb.jonas_ws.wsgen.generator.axis.AxisGeneratorFactory, and org.objectweb.jonas_ws.wsgen.generator.ews.EWSGeneratorFactory.

Inheritance diagram for org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

abstract WsClientGenerator newGenerator (ServiceRefDesc serviceRef, WsClientDDModifier ddm, Archive archive) throws GenBaseException
abstract WsEndpointGenerator newGenerator (ServiceDesc serviceDesc, WsEndpointDDModifier ddm, WebServicesDDModifier wsddm, Archive arch) throws GenBaseException
void setConfiguration (Config config)
Config getConfiguration ()

Static Public Member Functions

GeneratorFactory getInstance () throws WsGenException

Static Public Attributes

final String GENERATOR_FACTORY = "jonas.service.ws.wsgen.generator.factory"
final String GENERATOR_FACTORY_DEFAULT = "org.objectweb.jonas_ws.wsgen.generator.axis.AxisGeneratorFactory"

Detailed Description

a GeneratorFactory has to be extended by specific generation mecanism. It will look in jonas.properties file for a property named :jonas.service.ws.wsgen.generator.factory that is a classname extending GeneratorFactory. By default Axis GeneratorFactory is used.

Author:
Guillaume Sauthier

Definition at line 55 of file GeneratorFactory.java.


Member Function Documentation

Config org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.getConfiguration  ) 
 

Get the Configuration to use with newly created Generator.

Returns:
the Configuration to use with newly created Generator

Implements org.objectweb.jonas_lib.genbase.generator.GeneratorFactory.

Definition at line 180 of file GeneratorFactory.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.WebAppModifier.modify(), org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify(), org.objectweb.jonas_ws.wsgen.modifier.ClientModifier.modify(), org.objectweb.jonas_ws.wsgen.generator.ews.EWSGeneratorFactory.newGenerator(), and org.objectweb.jonas_ws.wsgen.generator.axis.AxisGeneratorFactory.newGenerator().

GeneratorFactory org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.getInstance  )  throws WsGenException [static]
 

Returns the unique GeneratorFactory instance.

Returns:
the unique GeneratorFactory instance.
Exceptions:
WsGenException When instanciation fails

Definition at line 86 of file GeneratorFactory.java.

abstract WsEndpointGenerator org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.newGenerator ServiceDesc  serviceDesc,
WsEndpointDDModifier  ddm,
WebServicesDDModifier  wsddm,
Archive  arch
throws GenBaseException [pure virtual]
 

Return a new WsEndpointGenerator for the specific generation mecanism.

Parameters:
serviceDesc the webservice-description containing information for server side generation process.
ddm the XML modifier.
wsddm the Webservices.xml DD modifier
Returns:
a new WsEndpointGenerator.
Exceptions:
GenBaseException When Factory cannot instanciate WsEndpointGenerator

Implemented in org.objectweb.jonas_ws.wsgen.generator.axis.AxisGeneratorFactory, and org.objectweb.jonas_ws.wsgen.generator.ews.EWSGeneratorFactory.

abstract WsClientGenerator org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.newGenerator ServiceRefDesc  serviceRef,
WsClientDDModifier  ddm,
Archive  archive
throws GenBaseException [pure virtual]
 

Return a new WsClientGenerator for the specific generation mecanism.

Parameters:
serviceRef the service-ref containing information for client side generation process.
ddm the XML modifier.
archive the Archive to be modified
Returns:
a new WsClientGenerator.
Exceptions:
GenBaseException When Factory cannot instanciate WsClientGenerator

Implemented in org.objectweb.jonas_ws.wsgen.generator.axis.AxisGeneratorFactory, and org.objectweb.jonas_ws.wsgen.generator.ews.EWSGeneratorFactory.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.WebAppModifier.modify(), org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify(), and org.objectweb.jonas_ws.wsgen.modifier.ClientModifier.modify().

void org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.setConfiguration Config  config  ) 
 

Set the Configuration to use with newly created Generator.

Parameters:
config the Configuration to use with newly created Generator.

Implements org.objectweb.jonas_lib.genbase.generator.GeneratorFactory.

Definition at line 171 of file GeneratorFactory.java.

Referenced by org.objectweb.jonas_ws.wsgen.WsGen.execute().


Member Data Documentation

final String org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.GENERATOR_FACTORY = "jonas.service.ws.wsgen.generator.factory" [static]
 

Generator Factory property name in jonas.properties

Definition at line 60 of file GeneratorFactory.java.

final String org.objectweb.jonas_ws.wsgen.generator.GeneratorFactory.GENERATOR_FACTORY_DEFAULT = "org.objectweb.jonas_ws.wsgen.generator.axis.AxisGeneratorFactory" [static]
 

Default GeneratorFactory impl to use

Definition at line 65 of file GeneratorFactory.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:46 2005 for JOnAS by  doxygen 1.3.9.1