org.apache.tuscany.sca.binding.ws.axis2
Class Axis2ServiceProvider

java.lang.Object
  extended by org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider
Direct Known Subclasses:
Axis2SCAServiceProvider

public class Axis2ServiceProvider
extends java.lang.Object


Field Summary
static java.lang.String ELEM_SCHEMA
           
static java.lang.String IMPORT_TAG
           
static java.lang.String INCLUDE_TAG
           
static java.lang.String NS_URI_XSD_1999
           
static java.lang.String NS_URI_XSD_2000
           
static java.lang.String NS_URI_XSD_2001
           
static javax.xml.namespace.QName Q_ELEM_XSD_1999
           
static javax.xml.namespace.QName Q_ELEM_XSD_2000
           
static javax.xml.namespace.QName Q_ELEM_XSD_2001
           
static javax.xml.namespace.QName QNAME_WSA_ADDRESS
           
static javax.xml.namespace.QName QNAME_WSA_FROM
           
static javax.xml.namespace.QName QNAME_WSA_REFERENCE_PARAMETERS
           
static java.util.List<javax.xml.namespace.QName> XSD_QNAME_LIST
           
 
Constructor Summary
Axis2ServiceProvider(RuntimeComponent component, AbstractContract contract, WebServiceBinding wsBinding, ServletHost servletHost, MessageFactory messageFactory, java.util.List<PolicyHandlerTuple> policyHandlerClassnames)
           
 
Method Summary
protected  AxisService createJavaAxisService(java.lang.String endpointURL)
          Create an AxisService from the interface class from the SCA service interface
protected  AxisService createWSDLAxisService(java.lang.String endpointURL, Port port)
          Create an AxisService from the WSDL doc used by ws binding
protected  Binding getBinding()
          Return the binding for this provider as a primitive binding type For use when looking up wires registered against the binding.
protected  Operation getOperation(AxisOperation axisOp)
           
protected  void initAxisOperations(AxisService axisService)
           
 java.lang.Object invokeTarget(Operation op, java.lang.Object[] args, MessageContext inMC)
           
 boolean isConversational()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMPORT_TAG

public static final java.lang.String IMPORT_TAG
See Also:
Constant Field Values

INCLUDE_TAG

public static final java.lang.String INCLUDE_TAG
See Also:
Constant Field Values

QNAME_WSA_ADDRESS

public static final javax.xml.namespace.QName QNAME_WSA_ADDRESS

QNAME_WSA_FROM

public static final javax.xml.namespace.QName QNAME_WSA_FROM

QNAME_WSA_REFERENCE_PARAMETERS

public static final javax.xml.namespace.QName QNAME_WSA_REFERENCE_PARAMETERS

ELEM_SCHEMA

public static final java.lang.String ELEM_SCHEMA
See Also:
Constant Field Values

NS_URI_XSD_1999

public static final java.lang.String NS_URI_XSD_1999
See Also:
Constant Field Values

NS_URI_XSD_2000

public static final java.lang.String NS_URI_XSD_2000
See Also:
Constant Field Values

NS_URI_XSD_2001

public static final java.lang.String NS_URI_XSD_2001
See Also:
Constant Field Values

Q_ELEM_XSD_1999

public static final javax.xml.namespace.QName Q_ELEM_XSD_1999

Q_ELEM_XSD_2000

public static final javax.xml.namespace.QName Q_ELEM_XSD_2000

Q_ELEM_XSD_2001

public static final javax.xml.namespace.QName Q_ELEM_XSD_2001

XSD_QNAME_LIST

public static final java.util.List<javax.xml.namespace.QName> XSD_QNAME_LIST
Constructor Detail

Axis2ServiceProvider

public Axis2ServiceProvider(RuntimeComponent component,
                            AbstractContract contract,
                            WebServiceBinding wsBinding,
                            ServletHost servletHost,
                            MessageFactory messageFactory,
                            java.util.List<PolicyHandlerTuple> policyHandlerClassnames)
Method Detail

start

public void start()

stop

public void stop()

createJavaAxisService

protected AxisService createJavaAxisService(java.lang.String endpointURL)
                                     throws AxisFault
Create an AxisService from the interface class from the SCA service interface

Throws:
AxisFault

createWSDLAxisService

protected AxisService createWSDLAxisService(java.lang.String endpointURL,
                                            Port port)
                                     throws AxisFault
Create an AxisService from the WSDL doc used by ws binding

Throws:
AxisFault

initAxisOperations

protected void initAxisOperations(AxisService axisService)

getOperation

protected Operation getOperation(AxisOperation axisOp)

invokeTarget

public java.lang.Object invokeTarget(Operation op,
                                     java.lang.Object[] args,
                                     MessageContext inMC)
                              throws java.lang.reflect.InvocationTargetException
Throws:
java.lang.reflect.InvocationTargetException

isConversational

public boolean isConversational()

getBinding

protected Binding getBinding()
Return the binding for this provider as a primitive binding type For use when looking up wires registered against the binding.

Returns:
the binding