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 Object
implements BindingProvider


Field Summary
static String BINDING_PROVIDER
           
protected  EndpointDescription endpointDesc
           
protected  Map<String,Object> requestContext
           
protected  Map<String,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, 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(Class<T> clazz)
           
 Map<String,Object> getRequestContext()
           
 Map<String,Object> getResponseContext()
           
 ServiceDelegate getServiceDelegate()
           
protected  void setupSessionContext(Map<String,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 Map<String,Object> requestContext

responseContext

protected Map<String,Object> responseContext

endpointDesc

protected EndpointDescription endpointDesc

serviceDelegate

protected ServiceDelegate serviceDelegate

BINDING_PROVIDER

public static final String BINDING_PROVIDER
See Also:
Constant Field Values
Constructor Detail

BindingProvider

public BindingProvider(ServiceDelegate svcDelegate,
                       EndpointDescription epDesc,
                       EndpointReference epr,
                       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 Map<String,Object> getRequestContext()
Specified by:
getRequestContext in interface BindingProvider

getResponseContext

public Map<String,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(Map<String,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(Class<T> clazz)
Specified by:
getEndpointReference in interface BindingProvider


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.