Class JCoConnectionMonitorTestContext
java.lang.Object
de.hybris.platform.sap.core.jco.monitor.provider.JCoConnectionMonitorTestContext
- All Implemented Interfaces:
JCoConnectionMonitorContext
Provides the local JCo connection monitor context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends com.sap.conn.jco.monitor.JCoConnectionData>Returns current JCo connection data.longReturns the time stamp of the snapshot.voidinit()voidsetFilename(String filename) Injection setter for filename.voidsetJaxbHandler(JCoMonitorJAXBHandler jaxbHandler) Injection setter for JAXB handler.voidsetSnapshotTimestamp(long snapshotTimestamp)
-
Constructor Details
-
JCoConnectionMonitorTestContext
public JCoConnectionMonitorTestContext()
-
-
Method Details
-
setJaxbHandler
Injection setter for JAXB handler.- Parameters:
jaxbHandler- the jaxbHandler to set
-
setSnapshotTimestamp
public void setSnapshotTimestamp(long snapshotTimestamp) - Parameters:
snapshotTimestamp- the snapshotTimestamp to set
-
setFilename
Injection setter for filename.- Parameters:
filename- the filename to set
-
init
public void init() -
getJCoConnectionData
Description copied from interface:JCoConnectionMonitorContextReturns current JCo connection data.- Specified by:
getJCoConnectionDatain interfaceJCoConnectionMonitorContext- Returns:
- JCo connection data list
-
getSnapshotTimestamp
public long getSnapshotTimestamp()Description copied from interface:JCoConnectionMonitorContextReturns the time stamp of the snapshot.- Specified by:
getSnapshotTimestampin interfaceJCoConnectionMonitorContext- Returns:
- snapshot time stamp
-