org.apache.tuscany.sca.binding.sca.axis2.impl
Class Axis2SCAServiceProvider

java.lang.Object
  extended by org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider
      extended by org.apache.tuscany.sca.binding.sca.axis2.impl.Axis2SCAServiceProvider

public class Axis2SCAServiceProvider
extends Axis2ServiceProvider

A specialization of the Axis2BindingProvider that just switches in the SCABinding model element when it is required. The SCABinding is required as the service binding provider finds the service wire based in the binding


Field Summary
 
Fields inherited from class org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider
ELEM_SCHEMA, IMPORT_TAG, INCLUDE_TAG, NS_URI_XSD_1999, NS_URI_XSD_2000, NS_URI_XSD_2001, Q_ELEM_XSD_1999, Q_ELEM_XSD_2000, Q_ELEM_XSD_2001, QNAME_WSA_ADDRESS, QNAME_WSA_FROM, QNAME_WSA_REFERENCE_PARAMETERS, XSD_QNAME_LIST
 
Constructor Summary
Axis2SCAServiceProvider(RuntimeComponent component, RuntimeComponentService service, SCABinding binding, WebServiceBinding wsBinding, ServletHost servletHost, MessageFactory messageFactory, java.util.List<PolicyHandlerTuple> policyHandlerClassnames)
          Switch in the fake ws binding
 
Method Summary
protected  Binding getBinding()
          Return the sca binding as wires will be registered against this rather than against the wsBinding that the Axis2SCAServiceProvider is expecting
 
Methods inherited from class org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider
createJavaAxisService, createWSDLAxisService, getOperation, initAxisOperations, invokeTarget, isConversational, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis2SCAServiceProvider

public Axis2SCAServiceProvider(RuntimeComponent component,
                               RuntimeComponentService service,
                               SCABinding binding,
                               WebServiceBinding wsBinding,
                               ServletHost servletHost,
                               MessageFactory messageFactory,
                               java.util.List<PolicyHandlerTuple> policyHandlerClassnames)
Switch in the fake ws binding

Parameters:
component -
service -
binding -
wsBinding -
servletHost -
messageFactory -
Method Detail

getBinding

protected Binding getBinding()
Return the sca binding as wires will be registered against this rather than against the wsBinding that the Axis2SCAServiceProvider is expecting

Overrides:
getBinding in class Axis2ServiceProvider
Returns:
the binding