Class JCoConnectionMonitorTestContext

java.lang.Object
de.hybris.platform.sap.core.jco.monitor.provider.JCoConnectionMonitorTestContext
All Implemented Interfaces:
JCoConnectionMonitorContext

public class JCoConnectionMonitorTestContext extends Object implements JCoConnectionMonitorContext
Provides the local JCo connection monitor context.
  • Constructor Details

    • JCoConnectionMonitorTestContext

      public JCoConnectionMonitorTestContext()
  • Method Details

    • setJaxbHandler

      public void setJaxbHandler(JCoMonitorJAXBHandler jaxbHandler)
      Injection setter for JAXB handler.
      Parameters:
      jaxbHandler - the jaxbHandler to set
    • setSnapshotTimestamp

      public void setSnapshotTimestamp(long snapshotTimestamp)
      Parameters:
      snapshotTimestamp - the snapshotTimestamp to set
    • setFilename

      public void setFilename(String filename)
      Injection setter for filename.
      Parameters:
      filename - the filename to set
    • init

      public void init()
    • getJCoConnectionData

      public List<? extends com.sap.conn.jco.monitor.JCoConnectionData> getJCoConnectionData()
      Description copied from interface: JCoConnectionMonitorContext
      Returns current JCo connection data.
      Specified by:
      getJCoConnectionData in interface JCoConnectionMonitorContext
      Returns:
      JCo connection data list
    • getSnapshotTimestamp

      public long getSnapshotTimestamp()
      Description copied from interface: JCoConnectionMonitorContext
      Returns the time stamp of the snapshot.
      Specified by:
      getSnapshotTimestamp in interface JCoConnectionMonitorContext
      Returns:
      snapshot time stamp