org.apache.axis2.jaxws
Class BindingProvider

java.lang.Object
  extended by org.apache.axis2.jaxws.BindingProvider
All Implemented Interfaces:
BindingProvider
Direct Known Subclasses:
BaseDispatch, JAXWSProxyHandler

public class BindingProvider
extends java.lang.Object
implements BindingProvider


Field Summary
protected  EndpointDescription endpointDesc
           
protected  java.util.Map<java.lang.String,java.lang.Object> requestContext
           
protected  java.util.Map<java.lang.String,java.lang.Object> responseContext
           
protected  ServiceDelegate serviceDelegate
           
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
BindingProvider(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, java.lang.String addressingNamespace, WebServiceFeature... features)
           
 
Method Summary
protected  void checkMaintainSessionState(MessageContext mc, InvocationContext ic)
          Check for maintain session state enablement either in the MessageContext.isMaintainSession() or in the ServiceContext properties.
 Binding getBinding()
           
 EndpointDescription getEndpointDescription()
           
 EndpointReference getEndpointReference()
           
<T extends EndpointReference>
T
getEndpointReference(java.lang.Class<T> clazz)
           
 java.util.Map<java.lang.String,java.lang.Object> getRequestContext()
           
 java.util.Map<java.lang.String,java.lang.Object> getResponseContext()
           
 ServiceDelegate getServiceDelegate()
           
protected  void setupSessionContext(java.util.Map<java.lang.String,java.lang.Object> properties)
           
protected  boolean useSoapAction()
          Returns a boolean value representing whether or not a SOAPAction header should be sent with the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestContext

protected java.util.Map<java.lang.String,java.lang.Object> requestContext

responseContext

protected java.util.Map<java.lang.String,java.lang.Object> responseContext

endpointDesc

protected EndpointDescription endpointDesc

serviceDelegate

protected ServiceDelegate serviceDelegate
Constructor Detail

BindingProvider

public BindingProvider(ServiceDelegate svcDelegate,
                       EndpointDescription epDesc,
                       EndpointReference epr,
                       java.lang.String addressingNamespace,
                       WebServiceFeature... features)
Method Detail

getServiceDelegate

public ServiceDelegate getServiceDelegate()

getEndpointDescription

public EndpointDescription getEndpointDescription()

getBinding

public Binding getBinding()
Specified by:
getBinding in interface BindingProvider

getRequestContext

public java.util.Map<java.lang.String,java.lang.Object> getRequestContext()
Specified by:
getRequestContext in interface BindingProvider

getResponseContext

public java.util.Map<java.lang.String,java.lang.Object> getResponseContext()
Specified by:
getResponseContext in interface BindingProvider

checkMaintainSessionState

protected void checkMaintainSessionState(MessageContext mc,
                                         InvocationContext ic)
Check for maintain session state enablement either in the MessageContext.isMaintainSession() or in the ServiceContext properties.

Parameters:
mc -
ic -

setupSessionContext

protected void setupSessionContext(java.util.Map<java.lang.String,java.lang.Object> properties)

useSoapAction

protected boolean useSoapAction()
Returns a boolean value representing whether or not a SOAPAction header should be sent with the request.


getEndpointReference

public EndpointReference getEndpointReference()
Specified by:
getEndpointReference in interface BindingProvider

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(java.lang.Class<T> clazz)
Specified by:
getEndpointReference in interface BindingProvider


Copyright © 2007 Apache Web Services Project. All Rights Reserved.