public abstract class JcoConnectionErrorHandler
extends com.adaptris.core.ConnectionErrorHandlerImp
implements com.sap.conn.jco.server.JCoServerErrorListener, com.sap.conn.jco.server.JCoServerExceptionListener
ConnectionErrorHandler
which is a JCO JCoServerErrorListener
and
JCoServerExceptionListener
.
It is only meaningful to configure concrete subclasses of this ConnectionErrorHandler
against a
ConsumeConnection
.
Constructor and Description |
---|
JcoConnectionErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(java.lang.Object obj) |
protected abstract void |
handleException(com.sap.conn.jco.server.JCoServer server,
java.lang.String connectionId,
com.sap.conn.jco.server.JCoServerContextInfo ctx,
java.lang.Throwable e) |
int |
hashCode() |
void |
init() |
void |
serverErrorOccurred(com.sap.conn.jco.server.JCoServer server,
java.lang.String connectionId,
com.sap.conn.jco.server.JCoServerContextInfo ctx,
java.lang.Error error) |
void |
serverExceptionOccurred(com.sap.conn.jco.server.JCoServer server,
java.lang.String connectionId,
com.sap.conn.jco.server.JCoServerContextInfo ctx,
java.lang.Exception error) |
void |
start() |
void |
stop() |
allowedInConjunctionWith, getRegisteredChannels, registerConnection, restartAffectedComponents, retrieveConnection, retryWaitTimeMs
public void serverErrorOccurred(com.sap.conn.jco.server.JCoServer server, java.lang.String connectionId, com.sap.conn.jco.server.JCoServerContextInfo ctx, java.lang.Error error)
serverErrorOccurred
in interface com.sap.conn.jco.server.JCoServerErrorListener
public void serverExceptionOccurred(com.sap.conn.jco.server.JCoServer server, java.lang.String connectionId, com.sap.conn.jco.server.JCoServerContextInfo ctx, java.lang.Exception error)
serverExceptionOccurred
in interface com.sap.conn.jco.server.JCoServerExceptionListener
protected abstract void handleException(com.sap.conn.jco.server.JCoServer server, java.lang.String connectionId, com.sap.conn.jco.server.JCoServerContextInfo ctx, java.lang.Throwable e)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void close()
close
in interface com.adaptris.core.ComponentLifecycle
public void init() throws com.adaptris.core.CoreException
init
in interface com.adaptris.core.ComponentLifecycle
com.adaptris.core.CoreException
public void start() throws com.adaptris.core.CoreException
start
in interface com.adaptris.core.ComponentLifecycle
com.adaptris.core.CoreException
public void stop()
stop
in interface com.adaptris.core.ComponentLifecycle
Copyright Adaptris