org.apache.ode.axis2
Class BindingContextImpl

java.lang.Object
  extended by org.apache.ode.axis2.BindingContextImpl
All Implemented Interfaces:
BindingContext

public class BindingContextImpl
extends java.lang.Object
implements BindingContext

AXIS2 implementation of the BindingContext interface. Deals with the activation of endpoints.

Author:
Maciej Szefler - m s z e f l e r @ g m a i l . c o m

Field Summary
protected  org.apache.commons.logging.Log __log
           
 
Constructor Summary
BindingContextImpl(ODEServer server)
           
 
Method Summary
 EndpointReference activateMyRoleEndpoint(javax.xml.namespace.QName processId, Endpoint myRoleEndpoint)
           
 long calculateSizeofService(EndpointReference epr)
           
protected  ExternalService createExternalService(ProcessConf pconf, javax.xml.namespace.QName serviceName, java.lang.String portName)
           
 PartnerRoleChannel createPartnerRoleChannel(javax.xml.namespace.QName processId, javax.wsdl.PortType portType, Endpoint initialPartnerEndpoint)
           
protected  ODEService createService(ProcessConf pconf, javax.xml.namespace.QName serviceName, java.lang.String portName)
           
 void deactivateMyRoleEndpoint(javax.xml.namespace.QName processId, Endpoint myRoleEndpoint)
           
protected  ODEService destroyService(javax.xml.namespace.QName serviceName, java.lang.String portName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__log

protected final org.apache.commons.logging.Log __log
Constructor Detail

BindingContextImpl

public BindingContextImpl(ODEServer server)
Method Detail

activateMyRoleEndpoint

public EndpointReference activateMyRoleEndpoint(javax.xml.namespace.QName processId,
                                                Endpoint myRoleEndpoint)
Specified by:
activateMyRoleEndpoint in interface BindingContext

deactivateMyRoleEndpoint

public void deactivateMyRoleEndpoint(javax.xml.namespace.QName processId,
                                     Endpoint myRoleEndpoint)
Specified by:
deactivateMyRoleEndpoint in interface BindingContext

createPartnerRoleChannel

public PartnerRoleChannel createPartnerRoleChannel(javax.xml.namespace.QName processId,
                                                   javax.wsdl.PortType portType,
                                                   Endpoint initialPartnerEndpoint)
Specified by:
createPartnerRoleChannel in interface BindingContext

calculateSizeofService

public long calculateSizeofService(EndpointReference epr)
Specified by:
calculateSizeofService in interface BindingContext

createService

protected ODEService createService(ProcessConf pconf,
                                   javax.xml.namespace.QName serviceName,
                                   java.lang.String portName)
                            throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

destroyService

protected ODEService destroyService(javax.xml.namespace.QName serviceName,
                                    java.lang.String portName)

createExternalService

protected ExternalService createExternalService(ProcessConf pconf,
                                                javax.xml.namespace.QName serviceName,
                                                java.lang.String portName)
                                         throws ContextException
Throws:
ContextException


Copyright © 2015 WSO2. All Rights Reserved.