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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.ibm.as400.access.AS400
    getConnection(String systemName, String userID, int service)
    Deprecated.
    com.ibm.as400.access.AS400
    getConnection(String systemName, String userID, String password)
     
    com.ibm.as400.access.AS400
    getConnection(String systemName, String userID, String password, int service)
     
    com.ibm.as400.access.AS400
    getConnection(String systemName, String userID, String password, int service, Locale locale)
     
    com.ibm.as400.access.AS400
    getConnection(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, setSocketProperties

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MockAS400ConnectionPool

      public MockAS400ConnectionPool(MockAS400 mockAS400)
  • Method Details

    • getConnection

      @Deprecated public com.ibm.as400.access.AS400 getConnection(String systemName, String userID, int service)
      Deprecated.
      Overrides:
      getConnection in class com.ibm.as400.access.AS400ConnectionPool
    • getConnection

      public com.ibm.as400.access.AS400 getConnection(String systemName, String userID, String password)
      Overrides:
      getConnection in class com.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:
      getConnection in class com.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:
      getConnection in class com.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:
      getConnection in class com.ibm.as400.access.AS400ConnectionPool
      Throws:
      com.ibm.as400.access.ConnectionPoolException