|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_ws.wsgen.generator.GeneratorFactory
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.
| Field Summary | |
static java.lang.String |
GENERATOR_FACTORY
Generator Factory property name in jonas.properties |
static java.lang.String |
GENERATOR_FACTORY_DEFAULT
Default GeneratorFactory impl to use |
| Constructor Summary | |
GeneratorFactory()
|
|
| Method Summary | |
Config |
getConfiguration()
Get the Configuration to use with newly created Generator. |
static GeneratorFactory |
getInstance()
Returns the unique GeneratorFactory instance. |
abstract WsEndpointGenerator |
newGenerator(ServiceDesc serviceDesc,
WsEndpointDDModifier ddm,
WebServicesDDModifier wsddm,
Archive arch)
Return a new WsEndpointGenerator for the specific generation mecanism. |
abstract WsClientGenerator |
newGenerator(ServiceRefDesc serviceRef,
WsClientDDModifier ddm,
Archive archive)
Return a new WsClientGenerator for the specific generation mecanism. |
void |
setConfiguration(Config config)
Set the Configuration to use with newly created Generator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String GENERATOR_FACTORY
public static final java.lang.String GENERATOR_FACTORY_DEFAULT
| Constructor Detail |
public GeneratorFactory()
| Method Detail |
public static GeneratorFactory getInstance()
throws WsGenException
WsGenException - When instanciation fails
public abstract WsClientGenerator newGenerator(ServiceRefDesc serviceRef,
WsClientDDModifier ddm,
Archive archive)
throws GenBaseException
serviceRef - the service-ref containing information for client side
generation process.ddm - the XML modifier.archive - the Archive to be modified
GenBaseException - When Factory cannot instanciate WsClientGenerator
public abstract WsEndpointGenerator newGenerator(ServiceDesc serviceDesc,
WsEndpointDDModifier ddm,
WebServicesDDModifier wsddm,
Archive arch)
throws GenBaseException
serviceDesc - the webservice-description containing information for
server side generation process.ddm - the XML modifier.wsddm - the Webservices.xml DD modifierarch - The archive to modify
GenBaseException - When Factory cannot instanciate WsEndpointGeneratorpublic void setConfiguration(Config config)
setConfiguration in interface GeneratorFactoryconfig - the Configuration to use with newly created Generator.public Config getConfiguration()
getConfiguration in interface GeneratorFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||