public class BindingContextImpl extends java.lang.Object implements BindingContext
BindingContext
interface. Deals with the activation of endpoints.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
__log |
| Constructor and Description |
|---|
BindingContextImpl(ODEServer server) |
| Modifier and Type | Method and Description |
|---|---|
EndpointReference |
activateMyRoleEndpoint(javax.xml.namespace.QName processId,
Endpoint myRoleEndpoint)
Activate a "myRole" endpoint.
|
long |
calculateSizeofService(EndpointReference epr)
Calculate the size of the service that this endpoint references.
|
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)
Create a communication channel for communicating with a partner.
|
protected ODEService |
createService(ProcessConf pconf,
javax.xml.namespace.QName serviceName,
java.lang.String portName) |
void |
deactivateMyRoleEndpoint(Endpoint myRoleEndpoint)
Deactivate a "myRole" endpoint.
|
protected ODEService |
destroyService(javax.xml.namespace.QName serviceName,
java.lang.String portName) |
public BindingContextImpl(ODEServer server)
public EndpointReference activateMyRoleEndpoint(javax.xml.namespace.QName processId, Endpoint myRoleEndpoint)
BindingContextactivateMyRoleEndpoint in interface BindingContextmyRoleEndpoint - endpoint identifer (service qname + port)public void deactivateMyRoleEndpoint(Endpoint myRoleEndpoint)
BindingContextBindingContext.activateMyRoleEndpoint(QName, Endpoint).deactivateMyRoleEndpoint in interface BindingContextpublic PartnerRoleChannel createPartnerRoleChannel(javax.xml.namespace.QName processId, javax.wsdl.PortType portType, Endpoint initialPartnerEndpoint)
BindingContextcreatePartnerRoleChannel in interface BindingContextprocessId - process identifier of the process requesting this channelportType - type of the portinitialPartnerEndpoint - endpoint identifer (service qname + port) of the partner
that we will communicate with on the link by default (i.e.
if the partner link is not assigned to)public long calculateSizeofService(EndpointReference epr)
BindingContextcalculateSizeofService in interface BindingContextepr - the endpoint reference for the serviceprotected ODEService createService(ProcessConf pconf, javax.xml.namespace.QName serviceName, java.lang.String portName) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultprotected ODEService destroyService(javax.xml.namespace.QName serviceName, java.lang.String portName)
protected ExternalService createExternalService(ProcessConf pconf, javax.xml.namespace.QName serviceName, java.lang.String portName) throws ContextException
ContextException