org.apache.wsif.providers
Class ModelWSIFProvider

java.lang.Object
  extended byorg.apache.wsif.providers.ModelWSIFProvider
All Implemented Interfaces:
WSIFProvider

public abstract class ModelWSIFProvider
extends java.lang.Object
implements WSIFProvider

Model super class for a WSIFProvider Models are provided for all the classes required to be implemented when writing a WSIF provider: WSIFProvider, WSIFPort, and WSIFOperation. The models are intended to simplify the work in the implementing subclasses, and insure that all providers work in standard way. Things like hunting around in the WSDL for ExtensabilityElements and verifying the types of request and response objects against the WSDL should be done in the model code. Subclasses should only need to provide code directly related to accessing the particular service type they implement.

Author:
Ant Elder

Method Summary
 WSIFPort createDynamicWSIFPort(javax.wsdl.Definition def, javax.wsdl.Service service, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap)
          For the given WSDL definition, service and port try to provide dynamic port, or return null if this provider can not do it.
 java.lang.String[] getAddressNamespaceURIs()
          Returns the WSDL namespace URIs of any port addresses this provider supports.
abstract  BindingGenerator[] getBindingGenerators()
          Returns a tooling BindingGenerator for the provider
 java.lang.String[] getBindingNamespaceURIs()
          Returns the WSDL namespace URIs of any bindings this provider supports.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBindingNamespaceURIs

public java.lang.String[] getBindingNamespaceURIs()
Returns the WSDL namespace URIs of any bindings this provider supports.

Specified by:
getBindingNamespaceURIs in interface WSIFProvider
Returns:
String[] of binding namespaces supported by this provider

getAddressNamespaceURIs

public java.lang.String[] getAddressNamespaceURIs()
Returns the WSDL namespace URIs of any port addresses this provider supports.

Specified by:
getAddressNamespaceURIs in interface WSIFProvider
Returns:
String[] of address namespaces supported by this provider

createDynamicWSIFPort

public WSIFPort createDynamicWSIFPort(javax.wsdl.Definition def,
                                      javax.wsdl.Service service,
                                      javax.wsdl.Port port,
                                      WSIFDynamicTypeMap typeMap)
                               throws WSIFException
Description copied from interface: WSIFProvider
For the given WSDL definition, service and port try to provide dynamic port, or return null if this provider can not do it. It is required to pass definition and service in addition to port as in current WSDL4J it is not posssible to retrieve service to which port belongs and definition in which it was defined.

Specified by:
createDynamicWSIFPort in interface WSIFProvider
Throws:
WSIFException
See Also:
WSIFProvider.createDynamicWSIFPort(Definition, Service, Port, WSIFDynamicTypeMap)

getBindingGenerators

public abstract BindingGenerator[] getBindingGenerators()
Returns a tooling BindingGenerator for the provider



Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.