Spring Web Services Framework

org.springframework.ws.wsdl.wsdl11.builder
Class AbstractWsdl4jDefinitionBuilder

java.lang.Object
  extended by org.springframework.ws.wsdl.wsdl11.builder.AbstractWsdl4jDefinitionBuilder
All Implemented Interfaces:
Wsdl11DefinitionBuilder
Direct Known Subclasses:
AbstractBindingWsdl4jDefinitionBuilder

Deprecated. as of Spring Web Services 1.5: superseded by DefaultWsdl11Definition and the org.springframework.ws.wsdl.wsdl11.provider package

public abstract class AbstractWsdl4jDefinitionBuilder
extends Object
implements Wsdl11DefinitionBuilder

Abstract base class for Wsdl11DefinitionBuilder implementations that use WSDL4J. Creates a base Definition, and passes that to subclass template methods.

Since:
1.0.0
Author:
Arjen Poutsma

Field Summary
protected  Log logger
          Deprecated. Logger available to subclasses.
 
Constructor Summary
AbstractWsdl4jDefinitionBuilder()
          Deprecated.  
 
Method Summary
 void buildBindings()
          Deprecated. Adds bindings to the definition.
protected abstract  void buildBindings(Definition definition)
          Deprecated. Adds bindings to the definition.
 void buildDefinition()
          Deprecated. Builds a new, empty definition.
 void buildImports()
          Deprecated. Adds imports to the definition.
protected abstract  void buildImports(Definition definition)
          Deprecated. Adds imports to the definition.
 void buildMessages()
          Deprecated. Adds messages to the definition.
protected abstract  void buildMessages(Definition definition)
          Deprecated. Adds messages to the definition.
 void buildPortTypes()
          Deprecated. Adds portTypes to the definition.
protected abstract  void buildPortTypes(Definition definition)
          Deprecated. Adds port types to the definition.
 void buildServices()
          Deprecated. Adds services to the definition.
protected abstract  void buildServices(Definition definition)
          Deprecated. Adds services to the definition.
 void buildTypes()
          Deprecated. Adds types to the definition.
protected abstract  void buildTypes(Definition definition)
          Deprecated. Adds types to the definition.
protected  ExtensibilityElement createExtension(Class parentType, QName elementType)
          Deprecated. Creates a WSDL4J extensibility element.
 Wsdl11Definition getDefinition()
          Deprecated. Returns the built Wsdl11Definition.
protected  void populateDefinition(Definition definition)
          Deprecated. Called after the Definition has been created, but before any sub-elements are added.
protected  void populateExtensionRegistry(ExtensionRegistry extensionRegistry)
          Deprecated. Allows customization of the given ExtensionRegistry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger
Deprecated. 
Logger available to subclasses.

Constructor Detail

AbstractWsdl4jDefinitionBuilder

public AbstractWsdl4jDefinitionBuilder()
Deprecated. 
Method Detail

buildDefinition

public final void buildDefinition()
                           throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Builds a new, empty definition. This method should be called before all others.

Specified by:
buildDefinition in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

populateDefinition

protected void populateDefinition(Definition definition)
                           throws WSDLException
Deprecated. 
Called after the Definition has been created, but before any sub-elements are added. Default implementation is empty.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors
See Also:
buildDefinition()

buildImports

public final void buildImports()
                        throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Adds imports to the definition.

Specified by:
buildImports in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

buildImports

protected abstract void buildImports(Definition definition)
                              throws WSDLException
Deprecated. 
Adds imports to the definition.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors

buildTypes

public final void buildTypes()
                      throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Adds types to the definition.

Specified by:
buildTypes in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

buildTypes

protected abstract void buildTypes(Definition definition)
                            throws WSDLException
Deprecated. 
Adds types to the definition.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors

buildMessages

public final void buildMessages()
                         throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Adds messages to the definition.

Specified by:
buildMessages in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

buildMessages

protected abstract void buildMessages(Definition definition)
                               throws WSDLException
Deprecated. 
Adds messages to the definition.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors

buildPortTypes

public final void buildPortTypes()
                          throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Adds portTypes to the definition.

Specified by:
buildPortTypes in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

buildPortTypes

protected abstract void buildPortTypes(Definition definition)
                                throws WSDLException
Deprecated. 
Adds port types to the definition.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors

buildBindings

public final void buildBindings()
                         throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Adds bindings to the definition.

Specified by:
buildBindings in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

buildBindings

protected abstract void buildBindings(Definition definition)
                               throws WSDLException
Deprecated. 
Adds bindings to the definition.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors

buildServices

public final void buildServices()
                         throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Adds services to the definition.

Specified by:
buildServices in interface Wsdl11DefinitionBuilder
Throws:
WsdlDefinitionException - in case of errors

buildServices

protected abstract void buildServices(Definition definition)
                               throws WSDLException
Deprecated. 
Adds services to the definition.

Parameters:
definition - the WSDL4J Definition
Throws:
WSDLException - in case of errors

getDefinition

public final Wsdl11Definition getDefinition()
                                     throws WsdlDefinitionException
Deprecated. 
Description copied from interface: Wsdl11DefinitionBuilder
Returns the built Wsdl11Definition.

Specified by:
getDefinition in interface Wsdl11DefinitionBuilder
Returns:
the WSDL definition, or null if Wsdl11DefinitionBuilder.buildDefinition() has not been called
Throws:
WsdlDefinitionException - in case of errors

createExtension

protected ExtensibilityElement createExtension(Class parentType,
                                               QName elementType)
                                        throws WSDLException
Deprecated. 
Creates a WSDL4J extensibility element.

Parameters:
parentType - a class object indicating where in the WSDL definition this extension will exist
elementType - the qname of the extensibility element
Returns:
the extensibility element
Throws:
WSDLException - in case of errors
See Also:
ExtensionRegistry.createExtension(Class,javax.xml.namespace.QName)

populateExtensionRegistry

protected void populateExtensionRegistry(ExtensionRegistry extensionRegistry)
Deprecated. 
Allows customization of the given ExtensionRegistry. Default implementation is empty.


Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.