Class JCoRecManagedConnectionFactoryTest.JCoManagedConnectionFactoryMock
java.lang.Object
de.hybris.platform.sap.core.jco.rec.impl.JCoRecManagedConnectionFactoryTest.JCoManagedConnectionFactoryMock
- All Implemented Interfaces:
JCoManagedConnectionFactory
- Enclosing class:
- JCoRecManagedConnectionFactoryTest
public class JCoRecManagedConnectionFactoryTest.JCoManagedConnectionFactoryMock
extends Object
implements JCoManagedConnectionFactory
Mock class for JCoManagedConnectionFactory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetManagedConnection(String connectionName, String callerId) Returns a managed connection by a given connection name.getManagedConnection(String connectionName, String callerId, String destinationName) Returns a managed connection by a given connection name.
-
Constructor Details
-
JCoManagedConnectionFactoryMock
public JCoManagedConnectionFactoryMock()
-
-
Method Details
-
getManagedConnection
Description copied from interface:JCoManagedConnectionFactoryReturns a managed connection by a given connection name.- Specified by:
getManagedConnectionin interfaceJCoManagedConnectionFactory- Parameters:
connectionName- name of the connectioncallerId- id for identifying the caller used for debugging- Returns:
- managed connection instance
-
getManagedConnection
public JCoConnection getManagedConnection(String connectionName, String callerId, String destinationName) Description copied from interface:JCoManagedConnectionFactoryReturns a managed connection by a given connection name.- Specified by:
getManagedConnectionin interfaceJCoManagedConnectionFactory- Parameters:
connectionName- name of the connectioncallerId- id for identifying the caller used for debuggingdestinationName- name of the destination to be used- Returns:
- managed connection instance
-