com.ebmwebsourcing.addressing.addressing4agreement.monitoring.impl
Class WSAddressing4AgreementFactory

java.lang.Object
  extended by com.ebmwebsourcing.addressing.addressing4agreement.monitoring.impl.WSAddressing4AgreementFactory
Direct Known Subclasses:
WSAddressing4AgreementFactoryImpl

public abstract class WSAddressing4AgreementFactory
extends java.lang.Object

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
WSAddressing4AgreementFactory()
           
 
Method Summary
abstract  EndpointReferenceType addMonitoringElmt2Description(com.ebmwebsourcing.wsstar.addressing.definition.api.absitf.AbsItfEndpointReferenceType desc)
          Create a new instance of a Definition.
abstract  EndpointReferenceType newEndpointReferenceType()
           
static WSAddressing4AgreementFactory newInstance()
          Get a new instance of a WSDLFactory.
abstract  WSAddressing4AgreementReader newWSAddressing4AgreementReader()
          Create a new instance of a WSDLReaderImpl.
abstract  WSAddressing4AgreementReader newWSAddressing4AgreementReader(java.util.Map<com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants,java.lang.Object> features)
          Create a new instance of a WSDLReaderImpl.
abstract  WSAddressing4AgreementWriter newWSAddressing4AgreementWriter()
          Create a new instance of a WSDLWriterImpl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSAddressing4AgreementFactory

public WSAddressing4AgreementFactory()
Method Detail

newInstance

public static WSAddressing4AgreementFactory newInstance()
                                                 throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
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:
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

addMonitoringElmt2Description

public abstract EndpointReferenceType addMonitoringElmt2Description(com.ebmwebsourcing.wsstar.addressing.definition.api.absitf.AbsItfEndpointReferenceType desc)
                                                             throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Create a new instance of a Definition.

Throws:
SAWSDLException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

newEndpointReferenceType

public abstract EndpointReferenceType newEndpointReferenceType()
                                                        throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Throws:
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

newWSAddressing4AgreementReader

public abstract WSAddressing4AgreementReader newWSAddressing4AgreementReader()
                                                                      throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Create a new instance of a WSDLReaderImpl.

Throws:
SAWSDLException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

newWSAddressing4AgreementReader

public abstract WSAddressing4AgreementReader newWSAddressing4AgreementReader(java.util.Map<com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants,java.lang.Object> features)
                                                                      throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Create a new instance of a WSDLReaderImpl.

Throws:
SAWSDLException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

newWSAddressing4AgreementWriter

public abstract WSAddressing4AgreementWriter newWSAddressing4AgreementWriter()
                                                                      throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Create a new instance of a WSDLWriterImpl.

Throws:
SAWSDLException
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.