public abstract class SAPEndpoint
extends org.apache.axis2.transport.base.ProtocolEndpoint
SAPEndpoint
describes a SAP addresible endpoint, the properties decscribe by the
endpoint are SAP server specifi. The full list of properties can be found at
http://help.sap.com/saphelp_xmii115/helpdata/en/System_Management/iDoc_Configuration_Editor.htmModifier and Type | Field and Description |
---|---|
protected int |
connections
The no.
|
protected String |
customErrorListener
Custom error handler
|
protected String |
customExceptionListener
Custom exception handler
|
protected String |
customTIDHandler
Custom tx handler
|
protected boolean |
errorListenerEnabled
Is the error handler for this endpoint is enabled ?
|
protected static org.apache.commons.logging.Log |
log |
protected String |
serverName
The sap server name that the endpoint will be connecting to
|
protected static int |
serverStopTimeout
Max timeout to allow server to stop
|
protected boolean |
tidHandlerEnabled
Is this a tx session ?
|
Constructor and Description |
---|
SAPEndpoint() |
Modifier and Type | Method and Description |
---|---|
org.apache.axis2.addressing.EndpointReference[] |
getEndpointReferences(org.apache.axis2.description.AxisService service,
String ip) |
protected void |
handleException(String msg,
Exception e) |
boolean |
loadConfiguration(org.apache.axis2.description.ParameterInclude params)
Load the SAP configuration
|
protected void |
setupOptionalFeatures(JCoServer server)
Set up option feature
|
abstract void |
startEndpoint(org.apache.axis2.transport.base.threads.WorkerPool workerPool) |
abstract void |
stopEndpoint() |
protected boolean |
waitForServerStop(JCoServer server)
Block until server state is stopped or maximum timeout reached.
|
protected static org.apache.commons.logging.Log log
protected String serverName
protected boolean errorListenerEnabled
protected boolean tidHandlerEnabled
protected int connections
protected String customErrorListener
protected String customExceptionListener
protected String customTIDHandler
protected static int serverStopTimeout
public org.apache.axis2.addressing.EndpointReference[] getEndpointReferences(org.apache.axis2.description.AxisService service, String ip) throws org.apache.axis2.AxisFault
getEndpointReferences
in class org.apache.axis2.transport.base.ProtocolEndpoint
org.apache.axis2.AxisFault
public boolean loadConfiguration(org.apache.axis2.description.ParameterInclude params) throws org.apache.axis2.AxisFault
loadConfiguration
in class org.apache.axis2.transport.base.ProtocolEndpoint
params
- the transport level paramsorg.apache.axis2.AxisFault
- throws in case of an errorprotected void handleException(String msg, Exception e) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
protected void setupOptionalFeatures(JCoServer server) throws Exception
server
- the jco serverException
- throws in case of an errorprotected boolean waitForServerStop(JCoServer server)
server
- jco server for which we wait to be stopped.public abstract void startEndpoint(org.apache.axis2.transport.base.threads.WorkerPool workerPool) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public abstract void stopEndpoint()
Copyright © 2019 WSO2. All rights reserved.