Class MockAS400ConnectionPool
java.lang.Object
com.ibm.as400.access.ConnectionPool
com.ibm.as400.access.AS400ConnectionPool
org.apache.camel.quarkus.component.jt400.mocked.it.MockAS400ConnectionPool
- All Implemented Interfaces:
Serializable
public class MockAS400ConnectionPool
extends com.ibm.as400.access.AS400ConnectionPool
Mock
AS400ConnectionPool implementation, useful in unit testing JT400 endpoints.- See Also:
-
Field Summary
Fields inherited from class com.ibm.as400.access.AS400ConnectionPool
CCSID_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.ibm.as400.access.AS400getConnection(String systemName, String userID, int service) Deprecated.com.ibm.as400.access.AS400getConnection(String systemName, String userID, String password) com.ibm.as400.access.AS400getConnection(String systemName, String userID, String password, int service) com.ibm.as400.access.AS400getConnection(String systemName, String userID, String password, int service, Locale locale) com.ibm.as400.access.AS400getConnection(String systemName, String userID, String password, Locale locale) Methods inherited from class com.ibm.as400.access.AS400ConnectionPool
close, fill, fill, fill, fill, fill, fill, finalize, getActiveConnectionCount, getAvailableConnectionCount, getCCSID, getConnectedUsers, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getConnection, getSecureConnection, getSecureConnection, getSecureConnection, getSecureConnection, getSecureConnection, getSecureConnection, getSecureConnection, getSecureConnection, getSocketProperties, getSystemNames, getUsers, getUsers, removeFromPool, removeFromPool, returnConnectionToPool, setCCSID, setLog, setSocketPropertiesMethods inherited from class com.ibm.as400.access.ConnectionPool
addConnectionPoolListener, addPropertyChangeListener, getCleanupInterval, getMaxConnections, getMaxInactivity, getMaxLifetime, getMaxUseCount, getMaxUseTime, isPretestConnections, isRunMaintenance, isThreadUsed, removeConnectionPoolListener, removePropertyChangeListener, setCleanupInterval, setMaxConnections, setMaxInactivity, setMaxLifetime, setMaxUseCount, setMaxUseTime, setPretestConnections, setRunMaintenance, setThreadUsed
-
Constructor Details
-
MockAS400ConnectionPool
-
-
Method Details
-
getConnection
@Deprecated public com.ibm.as400.access.AS400 getConnection(String systemName, String userID, int service) Deprecated.- Overrides:
getConnectionin classcom.ibm.as400.access.AS400ConnectionPool
-
getConnection
- Overrides:
getConnectionin classcom.ibm.as400.access.AS400ConnectionPool
-
getConnection
public com.ibm.as400.access.AS400 getConnection(String systemName, String userID, String password, int service) throws com.ibm.as400.access.ConnectionPoolException - Overrides:
getConnectionin classcom.ibm.as400.access.AS400ConnectionPool- Throws:
com.ibm.as400.access.ConnectionPoolException
-
getConnection
public com.ibm.as400.access.AS400 getConnection(String systemName, String userID, String password, int service, Locale locale) throws com.ibm.as400.access.ConnectionPoolException - Overrides:
getConnectionin classcom.ibm.as400.access.AS400ConnectionPool- Throws:
com.ibm.as400.access.ConnectionPoolException
-
getConnection
public com.ibm.as400.access.AS400 getConnection(String systemName, String userID, String password, Locale locale) throws com.ibm.as400.access.ConnectionPoolException - Overrides:
getConnectionin classcom.ibm.as400.access.AS400ConnectionPool- Throws:
com.ibm.as400.access.ConnectionPoolException
-