org.ow2.easywsdl.extensions.wsdl4bpel
Class WSDL4BPELFactory

java.lang.Object
  extended by org.ow2.easywsdl.wsdl.ExtensionFactory
      extended by org.ow2.easywsdl.extensions.wsdl4bpel.WSDL4BPELFactory
Direct Known Subclasses:
WSDL4BPELFactoryImpl

public abstract class WSDL4BPELFactory
extends org.ow2.easywsdl.wsdl.ExtensionFactory

This abstract class defines a factory API that enables applications to obtain a WSDLFactory capable of producing new Definitions, new WSDLReaders, and new WSDLWriters. Some ideas used here have been shamelessly copied from the wonderful JAXP and Xerces work.

Author:
Nicolas Salatge - eBM WebSourcing

Constructor Summary
WSDL4BPELFactory()
           
 
Method Summary
abstract  Description addBPELElmt2Description(org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription desc)
          Create a new instance of a Definition.
abstract  Description addExtElmt2Description(org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription desc)
          Generic method for extensions
static WSDL4BPELFactory newInstance()
          Get a new instance of a WSDLFactory.
abstract  WSDL4BPELReader newWSDLReader()
          Create a new instance of a WSDLReaderImpl.
abstract  WSDL4BPELReader newWSDLReader(java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants,java.lang.Object> features)
          Create a new instance of a WSDLReaderImpl.
abstract  WSDL4BPELWriter newWSDLWriter()
          Create a new instance of a WSDLWriterImpl.
 
Methods inherited from class org.ow2.easywsdl.wsdl.ExtensionFactory
getDescriptionType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDL4BPELFactory

public WSDL4BPELFactory()
Method Detail

newInstance

public static WSDL4BPELFactory newInstance()
                                    throws WSDL4BPELException
Get a new instance of a WSDLFactory. This method follows (almost) the same basic sequence of steps that JAXP follows to determine the fully-qualified class name of the class which implements WSDLFactory.

The steps in order are:

  1. Check the property file META-INF/services/javax.wsdl.factory.WSDLFactory.
  2. Check the javax.wsdl.factory.WSDLFactory system property.
  3. Check the lib/wsdl.properties file in the JRE directory. The key will have the same name as the above system property.
  4. Use the default class name provided by the implementation.

Once an instance of a WSDLFactory is obtained, invoke newDefinition(), newWSDLReader(), or newWSDLWriter(), to create the desired instances.

Throws:
WSDL4BPELException

addBPELElmt2Description

public abstract Description addBPELElmt2Description(org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription desc)
                                             throws WSDL4BPELException
Create a new instance of a Definition.

Throws:
WSDL4BPELException

addExtElmt2Description

public abstract Description addExtElmt2Description(org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription desc)
                                            throws WSDL4BPELException
Generic method for extensions

Specified by:
addExtElmt2Description in class org.ow2.easywsdl.wsdl.ExtensionFactory
Throws:
WSDL4BPELException

newWSDLReader

public abstract WSDL4BPELReader newWSDLReader()
                                       throws WSDL4BPELException
Create a new instance of a WSDLReaderImpl.

Throws:
WSDL4BPELException

newWSDLReader

public abstract WSDL4BPELReader newWSDLReader(java.util.Map<org.ow2.easywsdl.wsdl.api.WSDLReader.FeatureConstants,java.lang.Object> features)
                                       throws WSDL4BPELException
Create a new instance of a WSDLReaderImpl.

Throws:
WSDL4BPELException

newWSDLWriter

public abstract WSDL4BPELWriter newWSDLWriter()
                                       throws WSDL4BPELException
Create a new instance of a WSDLWriterImpl.

Throws:
WSDL4BPELException


Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.