org.idoox.wasp.tools.java2wsdl
Class Java2WSDLFactory

java.lang.Object
  extended byorg.idoox.wasp.tools.java2wsdl.Java2WSDLFactory

public abstract class Java2WSDLFactory
extends java.lang.Object

A factory which creates an implementation of Java2WSDL interface.

The Java2WSDL allows you to generate WSDL definitions for given class(es). Example usage:

      // get an instance of Java2WSDL
      Java2WSDL java2WSDL = Java2WSDLFactory.newJava2WSDL();

      //generate a javax.wsdl.Definition instance for MyService class
      Definition definition = java2WSDL.process(MyService.class);

 

Since:
4.0
See Also:
Java2WSDL generator
Component:
Core

Field Summary
static java.lang.String CONTEXT_JAVA2WSDL_FACTORY
          This key represents instance of Java2WSDLFactory in the org.idoox.wasp.Context.
 
Constructor Summary
Java2WSDLFactory()
           
 
Method Summary
protected abstract  Java2WSDL getJava2WSDLInstance()
          Returns an implementation of Java2WSDL interface.
static Java2WSDL newJava2WSDL()
          Returns an implementation of Java2WSDL interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_JAVA2WSDL_FACTORY

public static final java.lang.String CONTEXT_JAVA2WSDL_FACTORY
This key represents instance of Java2WSDLFactory in the org.idoox.wasp.Context.

See Also:
Constant Field Values
Constructor Detail

Java2WSDLFactory

public Java2WSDLFactory()
Method Detail

newJava2WSDL

public static final Java2WSDL newJava2WSDL()
Returns an implementation of Java2WSDL interface.

Returns:
the Java2WSDL implementation

getJava2WSDLInstance

protected abstract Java2WSDL getJava2WSDLInstance()
Returns an implementation of Java2WSDL interface. Each factory implementation has to implement this method.

Returns:
the Java2WSDL implementation
Since:
4.5