test_class.declarator: LOG = Logger.getLogger(JmsPoolConnectionFactoryTest.class)
test_class.modifier: public final static
test_class.original_string: public final static Logger LOG = Logger.getLogger(JmsPoolConnectionFactoryTest.class);
test_class.type: Logger
test_class.var_name: LOG
test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/JmsPoolConnectionFactoryTest.java
test_class.identifier: JmsPoolConnectionFactoryTest
test_class.superclass: extends JmsPoolTestSupport
test_case.body: @Test(expected = IllegalStateException.class)
      public void testCreateConnectionWithNoFactorySet() throws  Exception {
          cf = new JmsPoolConnectionFactory();
          cf.createConnection();
      }
test_case.class_method_signature: JmsPoolConnectionFactoryTest.testCreateConnectionWithNoFactorySet()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void testCreateConnectionWithNoFactorySet()
test_case.identifier: testCreateConnectionWithNoFactorySet
test_case.invocations: createConnection
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateConnectionWithNoFactorySet()
focal_class.declarator: LOG = LoggerFactory.getLogger(JmsPoolConnectionFactory.class)
focal_class.modifier: private static final transient
focal_class.original_string: private static final transient Logger LOG = LoggerFactory.getLogger(JmsPoolConnectionFactory.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: DEFAULT_MAX_CONNECTIONS = 1
focal_class.modifier: public static final
focal_class.original_string: public static final int DEFAULT_MAX_CONNECTIONS = 1;
focal_class.type: int
focal_class.var_name: DEFAULT_MAX_CONNECTIONS
focal_class.declarator: stopped = new AtomicBoolean(false)
focal_class.modifier: protected final
focal_class.original_string: protected final AtomicBoolean stopped = new AtomicBoolean(false);
focal_class.type: AtomicBoolean
focal_class.var_name: stopped
focal_class.declarator: connectionsPool
focal_class.modifier: private
focal_class.original_string: private GenericKeyedObjectPool<PooledConnectionKey, PooledConnection> connectionsPool;
focal_class.type: GenericKeyedObjectPool<PooledConnectionKey, PooledConnection>
focal_class.var_name: connectionsPool
focal_class.declarator: connectionFactory
focal_class.modifier: protected
focal_class.original_string: protected Object connectionFactory;
focal_class.type: Object
focal_class.var_name: connectionFactory
focal_class.declarator: jmsContextSupported
focal_class.modifier: protected
focal_class.original_string: protected boolean jmsContextSupported;
focal_class.type: boolean
focal_class.var_name: jmsContextSupported
focal_class.declarator: maxSessionsPerConnection = 500
focal_class.modifier: private
focal_class.original_string: private int maxSessionsPerConnection = 500;
focal_class.type: int
focal_class.var_name: maxSessionsPerConnection
focal_class.declarator: connectionIdleTimeout = 30 * 1000
focal_class.modifier: private
focal_class.original_string: private int connectionIdleTimeout = 30 * 1000;
focal_class.type: int
focal_class.var_name: connectionIdleTimeout
focal_class.declarator: blockIfSessionPoolIsFull = true
focal_class.modifier: private
focal_class.original_string: private boolean blockIfSessionPoolIsFull = true;
focal_class.type: boolean
focal_class.var_name: blockIfSessionPoolIsFull
focal_class.declarator: blockIfSessionPoolIsFullTimeout = -1L
focal_class.modifier: private
focal_class.original_string: private long blockIfSessionPoolIsFullTimeout = -1L;
focal_class.type: long
focal_class.var_name: blockIfSessionPoolIsFullTimeout
focal_class.declarator: useAnonymousProducers = true
focal_class.modifier: private
focal_class.original_string: private boolean useAnonymousProducers = true;
focal_class.type: boolean
focal_class.var_name: useAnonymousProducers
focal_class.declarator: explicitProducerCacheSize = 0
focal_class.modifier: private
focal_class.original_string: private int explicitProducerCacheSize = 0;
focal_class.type: int
focal_class.var_name: explicitProducerCacheSize
focal_class.declarator: useProviderJMSContext = false
focal_class.modifier: private
focal_class.original_string: private boolean useProviderJMSContext = false;
focal_class.type: boolean
focal_class.var_name: useProviderJMSContext
focal_class.declarator: mostRecentlyCreated = new AtomicReference<PooledConnection>(null)
focal_class.modifier: private final
focal_class.original_string: private final AtomicReference<PooledConnection> mostRecentlyCreated = new AtomicReference<PooledConnection>(null);
focal_class.type: AtomicReference<PooledConnection>
focal_class.var_name: mostRecentlyCreated
focal_class.file: pooled-jms/src/main/java/org/messaginghub/pooled/jms/JmsPoolConnectionFactory.java
focal_class.identifier: JmsPoolConnectionFactory
focal_class.interfaces: implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory
focal_class.class_method_signature: JmsPoolConnectionFactory.initConnectionsPool()
focal_class.full_signature: public void initConnectionsPool()
focal_class.identifier: initConnectionsPool
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initConnectionsPool()
focal_class.class_method_signature: JmsPoolConnectionFactory.getConnectionFactory()
focal_class.full_signature: public Object getConnectionFactory()
focal_class.identifier: getConnectionFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getConnectionFactory()
focal_class.class_method_signature: JmsPoolConnectionFactory.setConnectionFactory(final Object factory)
focal_class.full_signature: public void setConnectionFactory(final Object factory)
focal_class.identifier: setConnectionFactory
focal_class.modifiers: public
focal_class.parameters: (final Object factory)
focal_class.return: void
focal_class.signature: void setConnectionFactory(final Object factory)
focal_class.class_method_signature: JmsPoolConnectionFactory.createQueueConnection()
focal_class.full_signature: @Override public QueueConnection createQueueConnection()
focal_class.identifier: createQueueConnection
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: QueueConnection
focal_class.signature: QueueConnection createQueueConnection()
focal_class.class_method_signature: JmsPoolConnectionFactory.createQueueConnection(String userName, String password)
focal_class.full_signature: @Override public QueueConnection createQueueConnection(String userName, String password)
focal_class.identifier: createQueueConnection
focal_class.modifiers: @Override public
focal_class.parameters: (String userName, String password)
focal_class.return: QueueConnection
focal_class.signature: QueueConnection createQueueConnection(String userName, String password)
focal_class.class_method_signature: JmsPoolConnectionFactory.createTopicConnection()
focal_class.full_signature: @Override public TopicConnection createTopicConnection()
focal_class.identifier: createTopicConnection
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TopicConnection
focal_class.signature: TopicConnection createTopicConnection()
focal_class.class_method_signature: JmsPoolConnectionFactory.createTopicConnection(String userName, String password)
focal_class.full_signature: @Override public TopicConnection createTopicConnection(String userName, String password)
focal_class.identifier: createTopicConnection
focal_class.modifiers: @Override public
focal_class.parameters: (String userName, String password)
focal_class.return: TopicConnection
focal_class.signature: TopicConnection createTopicConnection(String userName, String password)
focal_class.class_method_signature: JmsPoolConnectionFactory.createConnection()
focal_class.full_signature: @Override public Connection createConnection()
focal_class.identifier: createConnection
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Connection
focal_class.signature: Connection createConnection()
focal_class.class_method_signature: JmsPoolConnectionFactory.createConnection(String userName, String password)
focal_class.full_signature: @Override public Connection createConnection(String userName, String password)
focal_class.identifier: createConnection
focal_class.modifiers: @Override public
focal_class.parameters: (String userName, String password)
focal_class.return: Connection
focal_class.signature: Connection createConnection(String userName, String password)
focal_class.class_method_signature: JmsPoolConnectionFactory.createContext()
focal_class.full_signature: @Override public JMSContext createContext()
focal_class.identifier: createContext
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JMSContext
focal_class.signature: JMSContext createContext()
focal_class.class_method_signature: JmsPoolConnectionFactory.createContext(int sessionMode)
focal_class.full_signature: @Override public JMSContext createContext(int sessionMode)
focal_class.identifier: createContext
focal_class.modifiers: @Override public
focal_class.parameters: (int sessionMode)
focal_class.return: JMSContext
focal_class.signature: JMSContext createContext(int sessionMode)
focal_class.class_method_signature: JmsPoolConnectionFactory.createContext(String username, String password)
focal_class.full_signature: @Override public JMSContext createContext(String username, String password)
focal_class.identifier: createContext
focal_class.modifiers: @Override public
focal_class.parameters: (String username, String password)
focal_class.return: JMSContext
focal_class.signature: JMSContext createContext(String username, String password)
focal_class.class_method_signature: JmsPoolConnectionFactory.createContext(String username, String password, int sessionMode)
focal_class.full_signature: @Override public JMSContext createContext(String username, String password, int sessionMode)
focal_class.identifier: createContext
focal_class.modifiers: @Override public
focal_class.parameters: (String username, String password, int sessionMode)
focal_class.return: JMSContext
focal_class.signature: JMSContext createContext(String username, String password, int sessionMode)
focal_class.class_method_signature: JmsPoolConnectionFactory.start()
focal_class.full_signature: public void start()
focal_class.identifier: start
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void start()
focal_class.class_method_signature: JmsPoolConnectionFactory.stop()
focal_class.full_signature: public void stop()
focal_class.identifier: stop
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stop()
focal_class.class_method_signature: JmsPoolConnectionFactory.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: JmsPoolConnectionFactory.getMaxSessionsPerConnection()
focal_class.full_signature: public int getMaxSessionsPerConnection()
focal_class.identifier: getMaxSessionsPerConnection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxSessionsPerConnection()
focal_class.class_method_signature: JmsPoolConnectionFactory.setMaxSessionsPerConnection(int maxSessionsPerConnection)
focal_class.full_signature: public void setMaxSessionsPerConnection(int maxSessionsPerConnection)
focal_class.identifier: setMaxSessionsPerConnection
focal_class.modifiers: public
focal_class.parameters: (int maxSessionsPerConnection)
focal_class.return: void
focal_class.signature: void setMaxSessionsPerConnection(int maxSessionsPerConnection)
focal_class.class_method_signature: JmsPoolConnectionFactory.setBlockIfSessionPoolIsFull(boolean block)
focal_class.full_signature: public void setBlockIfSessionPoolIsFull(boolean block)
focal_class.identifier: setBlockIfSessionPoolIsFull
focal_class.modifiers: public
focal_class.parameters: (boolean block)
focal_class.return: void
focal_class.signature: void setBlockIfSessionPoolIsFull(boolean block)
focal_class.class_method_signature: JmsPoolConnectionFactory.isBlockIfSessionPoolIsFull()
focal_class.full_signature: public boolean isBlockIfSessionPoolIsFull()
focal_class.identifier: isBlockIfSessionPoolIsFull
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isBlockIfSessionPoolIsFull()
focal_class.class_method_signature: JmsPoolConnectionFactory.getMaxConnections()
focal_class.full_signature: public int getMaxConnections()
focal_class.identifier: getMaxConnections
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxConnections()
focal_class.class_method_signature: JmsPoolConnectionFactory.setMaxConnections(int maxConnections)
focal_class.full_signature: public void setMaxConnections(int maxConnections)
focal_class.identifier: setMaxConnections
focal_class.modifiers: public
focal_class.parameters: (int maxConnections)
focal_class.return: void
focal_class.signature: void setMaxConnections(int maxConnections)
focal_class.class_method_signature: JmsPoolConnectionFactory.getConnectionIdleTimeout()
focal_class.full_signature: public int getConnectionIdleTimeout()
focal_class.identifier: getConnectionIdleTimeout
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getConnectionIdleTimeout()
focal_class.class_method_signature: JmsPoolConnectionFactory.setConnectionIdleTimeout(int connectionIdleTimeout)
focal_class.full_signature: public void setConnectionIdleTimeout(int connectionIdleTimeout)
focal_class.identifier: setConnectionIdleTimeout
focal_class.modifiers: public
focal_class.parameters: (int connectionIdleTimeout)
focal_class.return: void
focal_class.signature: void setConnectionIdleTimeout(int connectionIdleTimeout)
focal_class.class_method_signature: JmsPoolConnectionFactory.isUseAnonymousProducers()
focal_class.full_signature: public boolean isUseAnonymousProducers()
focal_class.identifier: isUseAnonymousProducers
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUseAnonymousProducers()
focal_class.class_method_signature: JmsPoolConnectionFactory.setUseAnonymousProducers(boolean value)
focal_class.full_signature: public void setUseAnonymousProducers(boolean value)
focal_class.identifier: setUseAnonymousProducers
focal_class.modifiers: public
focal_class.parameters: (boolean value)
focal_class.return: void
focal_class.signature: void setUseAnonymousProducers(boolean value)
focal_class.class_method_signature: JmsPoolConnectionFactory.getExplicitProducerCacheSize()
focal_class.full_signature: public int getExplicitProducerCacheSize()
focal_class.identifier: getExplicitProducerCacheSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getExplicitProducerCacheSize()
focal_class.class_method_signature: JmsPoolConnectionFactory.setExplicitProducerCacheSize(int cacheSize)
focal_class.full_signature: public void setExplicitProducerCacheSize(int cacheSize)
focal_class.identifier: setExplicitProducerCacheSize
focal_class.modifiers: public
focal_class.parameters: (int cacheSize)
focal_class.return: void
focal_class.signature: void setExplicitProducerCacheSize(int cacheSize)
focal_class.class_method_signature: JmsPoolConnectionFactory.setConnectionCheckInterval(long connectionCheckInterval)
focal_class.full_signature: public void setConnectionCheckInterval(long connectionCheckInterval)
focal_class.identifier: setConnectionCheckInterval
focal_class.modifiers: public
focal_class.parameters: (long connectionCheckInterval)
focal_class.return: void
focal_class.signature: void setConnectionCheckInterval(long connectionCheckInterval)
focal_class.class_method_signature: JmsPoolConnectionFactory.getConnectionCheckInterval()
focal_class.full_signature: public long getConnectionCheckInterval()
focal_class.identifier: getConnectionCheckInterval
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getConnectionCheckInterval()
focal_class.class_method_signature: JmsPoolConnectionFactory.getNumConnections()
focal_class.full_signature: public int getNumConnections()
focal_class.identifier: getNumConnections
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumConnections()
focal_class.class_method_signature: JmsPoolConnectionFactory.getBlockIfSessionPoolIsFullTimeout()
focal_class.full_signature: public long getBlockIfSessionPoolIsFullTimeout()
focal_class.identifier: getBlockIfSessionPoolIsFullTimeout
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getBlockIfSessionPoolIsFullTimeout()
focal_class.class_method_signature: JmsPoolConnectionFactory.setBlockIfSessionPoolIsFullTimeout(long blockIfSessionPoolIsFullTimeout)
focal_class.full_signature: public void setBlockIfSessionPoolIsFullTimeout(long blockIfSessionPoolIsFullTimeout)
focal_class.identifier: setBlockIfSessionPoolIsFullTimeout
focal_class.modifiers: public
focal_class.parameters: (long blockIfSessionPoolIsFullTimeout)
focal_class.return: void
focal_class.signature: void setBlockIfSessionPoolIsFullTimeout(long blockIfSessionPoolIsFullTimeout)
focal_class.class_method_signature: JmsPoolConnectionFactory.isUseProviderJMSContext()
focal_class.full_signature: public boolean isUseProviderJMSContext()
focal_class.identifier: isUseProviderJMSContext
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUseProviderJMSContext()
focal_class.class_method_signature: JmsPoolConnectionFactory.setUseProviderJMSContext(boolean useProviderJMSContext)
focal_class.full_signature: public void setUseProviderJMSContext(boolean useProviderJMSContext)
focal_class.identifier: setUseProviderJMSContext
focal_class.modifiers: public
focal_class.parameters: (boolean useProviderJMSContext)
focal_class.return: void
focal_class.signature: void setUseProviderJMSContext(boolean useProviderJMSContext)
focal_class.class_method_signature: JmsPoolConnectionFactory.getConnectionsPool()
focal_class.full_signature: protected GenericKeyedObjectPool<PooledConnectionKey, PooledConnection> getConnectionsPool()
focal_class.identifier: getConnectionsPool
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: GenericKeyedObjectPool<PooledConnectionKey, PooledConnection>
focal_class.signature: GenericKeyedObjectPool<PooledConnectionKey, PooledConnection> getConnectionsPool()
focal_class.class_method_signature: JmsPoolConnectionFactory.createPooledConnection(Connection connection)
focal_class.full_signature: protected PooledConnection createPooledConnection(Connection connection)
focal_class.identifier: createPooledConnection
focal_class.modifiers: protected
focal_class.parameters: (Connection connection)
focal_class.return: PooledConnection
focal_class.signature: PooledConnection createPooledConnection(Connection connection)
focal_class.class_method_signature: JmsPoolConnectionFactory.newPooledConnectionWrapper(PooledConnection connection)
focal_class.full_signature: protected JmsPoolConnection newPooledConnectionWrapper(PooledConnection connection)
focal_class.identifier: newPooledConnectionWrapper
focal_class.modifiers: protected
focal_class.parameters: (PooledConnection connection)
focal_class.return: JmsPoolConnection
focal_class.signature: JmsPoolConnection newPooledConnectionWrapper(PooledConnection connection)
focal_class.class_method_signature: JmsPoolConnectionFactory.newPooledConnectionContext(JmsPoolConnection connection, int sessionMode)
focal_class.full_signature: protected JmsPoolJMSContext newPooledConnectionContext(JmsPoolConnection connection, int sessionMode)
focal_class.identifier: newPooledConnectionContext
focal_class.modifiers: protected
focal_class.parameters: (JmsPoolConnection connection, int sessionMode)
focal_class.return: JmsPoolJMSContext
focal_class.signature: JmsPoolJMSContext newPooledConnectionContext(JmsPoolConnection connection, int sessionMode)
focal_class.class_method_signature: JmsPoolConnectionFactory.createProviderConnection(PooledConnectionKey key)
focal_class.full_signature: protected Connection createProviderConnection(PooledConnectionKey key)
focal_class.identifier: createProviderConnection
focal_class.modifiers: protected
focal_class.parameters: (PooledConnectionKey key)
focal_class.return: Connection
focal_class.signature: Connection createProviderConnection(PooledConnectionKey key)
focal_class.class_method_signature: JmsPoolConnectionFactory.createProviderContext(String username, String password, int sessionMode)
focal_class.full_signature: protected JMSContext createProviderContext(String username, String password, int sessionMode)
focal_class.identifier: createProviderContext
focal_class.modifiers: protected
focal_class.parameters: (String username, String password, int sessionMode)
focal_class.return: JMSContext
focal_class.signature: JMSContext createProviderContext(String username, String password, int sessionMode)
focal_class.class_method_signature: JmsPoolConnectionFactory.createJmsPoolConnection(String userName, String password)
focal_class.full_signature: private synchronized JmsPoolConnection createJmsPoolConnection(String userName, String password)
focal_class.identifier: createJmsPoolConnection
focal_class.modifiers: private synchronized
focal_class.parameters: (String userName, String password)
focal_class.return: JmsPoolConnection
focal_class.signature: JmsPoolConnection createJmsPoolConnection(String userName, String password)
focal_class.class_method_signature: JmsPoolConnectionFactory.populateProperties(Properties props)
focal_class.full_signature: protected void populateProperties(Properties props)
focal_class.identifier: populateProperties
focal_class.modifiers: protected
focal_class.parameters: (Properties props)
focal_class.return: void
focal_class.signature: void populateProperties(Properties props)
focal_method.body: @Override
      public Connection createConnection() throws JMSException {
          return createConnection(null, null);
      }
focal_method.class_method_signature: JmsPoolConnectionFactory.createConnection()
focal_method.full_signature: @Override public Connection createConnection()
focal_method.identifier: createConnection
focal_method.invocations: createConnection
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Connection
focal_method.signature: Connection createConnection()