Class JcoConnectionBase

java.lang.Object
com.adaptris.core.AdaptrisConnectionImp
com.adaptris.core.sap.jco3.JcoConnectionBase
All Implemented Interfaces:
AdaptrisComponent, AdaptrisConnection, ComponentLifecycle, ComponentLifecycleExtension, com.adaptris.core.licensing.LicensedComponent, StateManagedComponent
Direct Known Subclasses:
DynamicRfcConnection, JcoConnection

public abstract class JcoConnectionBase extends AdaptrisConnectionImp implements com.adaptris.core.licensing.LicensedComponent
Provides common behaviour for all JcoConnection implementations.
  • Field Details

    • guid

      protected static final transient IdGenerator guid
  • Constructor Details

    • JcoConnectionBase

      public JcoConnectionBase()
  • Method Details

    • isEnabled

      public boolean isEnabled(com.adaptris.core.licensing.License license)
      Specified by:
      isEnabled in interface com.adaptris.core.licensing.LicensedComponent
    • prepareConnection

      protected void prepareConnection() throws CoreException
      Specified by:
      prepareConnection in class AdaptrisConnectionImp
      Throws:
      CoreException
    • getTraceFileHandler

      public TraceFileHandler getTraceFileHandler()
    • setTraceFileHandler

      public void setTraceFileHandler(TraceFileHandler handler)
      Set the trace file handler implementation.

      If you are running JCO in trace mode; by setting "jco.client.trace" or "jco.server.trace" to 1; then this allows you to manage the trace files for housekeeping purposes.

      Parameters:
      handler - the handling; the default is NullTraceFileHandler
    • doHouseKeeping

      public abstract void doHouseKeeping()
      Do any trace file housekeeping.
    • safeName

      protected static final String safeName(String s)