test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/JmsPoolJMSContextTest.java
test_class.identifier: JmsPoolJMSContextTest
test_class.superclass: extends JmsPoolTestSupport
test_case.body: @Test(timeout = 30000)
      public void testCreateTextMessage() {
          JMSContext context = cf.createContext();
          assertNotNull(context.createTextMessage());
  
          context.close();
          try {
              context.createTextMessage();
              fail("Should not be able to create resource when context is closed");
          } catch (IllegalStateRuntimeException isre) {}
      }
test_case.class_method_signature: JmsPoolJMSContextTest.testCreateTextMessage()
test_case.full_signature: @Test(timeout = 30000) public void testCreateTextMessage()
test_case.identifier: testCreateTextMessage
test_case.invocations: createContext assertNotNull createTextMessage close createTextMessage fail
test_case.modifiers: @Test(timeout = 30000) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateTextMessage()
focal_class.declarator: connection
focal_class.modifier: protected final
focal_class.original_string: protected final JmsPoolConnection connection;
focal_class.type: JmsPoolConnection
focal_class.var_name: connection
focal_class.declarator: connectionRefCount
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong connectionRefCount;
focal_class.type: AtomicLong
focal_class.var_name: connectionRefCount
focal_class.declarator: sessionMode
focal_class.modifier: private final
focal_class.original_string: private final int sessionMode;
focal_class.type: int
focal_class.var_name: sessionMode
focal_class.declarator: session
focal_class.modifier: private
focal_class.original_string: private JmsPoolSession session;
focal_class.type: JmsPoolSession
focal_class.var_name: session
focal_class.declarator: sharedProducer
focal_class.modifier: private
focal_class.original_string: private JmsPoolMessageProducer sharedProducer;
focal_class.type: JmsPoolMessageProducer
focal_class.var_name: sharedProducer
focal_class.declarator: autoStart = true
focal_class.modifier: private
focal_class.original_string: private boolean autoStart = true;
focal_class.type: boolean
focal_class.var_name: autoStart
focal_class.file: pooled-jms/src/main/java/org/messaginghub/pooled/jms/JmsPoolJMSContext.java
focal_class.identifier: JmsPoolJMSContext
focal_class.interfaces: implements JMSContext, AutoCloseable
focal_class.class_method_signature: JmsPoolJMSContext.JmsPoolJMSContext(JmsPoolConnection connection, int sessionMode)
focal_class.full_signature: public  JmsPoolJMSContext(JmsPoolConnection connection, int sessionMode)
focal_class.identifier: JmsPoolJMSContext
focal_class.modifiers: public
focal_class.parameters: (JmsPoolConnection connection, int sessionMode)
focal_class.signature:  JmsPoolJMSContext(JmsPoolConnection connection, int sessionMode)
focal_class.class_method_signature: JmsPoolJMSContext.JmsPoolJMSContext(JmsPoolConnection connection, int sessionMode, AtomicLong connectionRefCount)
focal_class.full_signature: private  JmsPoolJMSContext(JmsPoolConnection connection, int sessionMode, AtomicLong connectionRefCount)
focal_class.identifier: JmsPoolJMSContext
focal_class.modifiers: private
focal_class.parameters: (JmsPoolConnection connection, int sessionMode, AtomicLong connectionRefCount)
focal_class.signature:  JmsPoolJMSContext(JmsPoolConnection connection, int sessionMode, AtomicLong connectionRefCount)
focal_class.class_method_signature: JmsPoolJMSContext.start()
focal_class.full_signature: @Override public void start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void start()
focal_class.class_method_signature: JmsPoolJMSContext.stop()
focal_class.full_signature: @Override public void stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stop()
focal_class.class_method_signature: JmsPoolJMSContext.close()
focal_class.full_signature: @Override public synchronized void close()
focal_class.identifier: close
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: JmsPoolJMSContext.acknowledge()
focal_class.full_signature: @Override public void acknowledge()
focal_class.identifier: acknowledge
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void acknowledge()
focal_class.class_method_signature: JmsPoolJMSContext.commit()
focal_class.full_signature: @Override public void commit()
focal_class.identifier: commit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void commit()
focal_class.class_method_signature: JmsPoolJMSContext.rollback()
focal_class.full_signature: @Override public void rollback()
focal_class.identifier: rollback
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rollback()
focal_class.class_method_signature: JmsPoolJMSContext.recover()
focal_class.full_signature: @Override public void recover()
focal_class.identifier: recover
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void recover()
focal_class.class_method_signature: JmsPoolJMSContext.unsubscribe(String name)
focal_class.full_signature: @Override public void unsubscribe(String name)
focal_class.identifier: unsubscribe
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void unsubscribe(String name)
focal_class.class_method_signature: JmsPoolJMSContext.createBytesMessage()
focal_class.full_signature: @Override public BytesMessage createBytesMessage()
focal_class.identifier: createBytesMessage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BytesMessage
focal_class.signature: BytesMessage createBytesMessage()
focal_class.class_method_signature: JmsPoolJMSContext.createMapMessage()
focal_class.full_signature: @Override public MapMessage createMapMessage()
focal_class.identifier: createMapMessage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MapMessage
focal_class.signature: MapMessage createMapMessage()
focal_class.class_method_signature: JmsPoolJMSContext.createMessage()
focal_class.full_signature: @Override public Message createMessage()
focal_class.identifier: createMessage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Message
focal_class.signature: Message createMessage()
focal_class.class_method_signature: JmsPoolJMSContext.createObjectMessage()
focal_class.full_signature: @Override public ObjectMessage createObjectMessage()
focal_class.identifier: createObjectMessage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ObjectMessage
focal_class.signature: ObjectMessage createObjectMessage()
focal_class.class_method_signature: JmsPoolJMSContext.createObjectMessage(Serializable object)
focal_class.full_signature: @Override public ObjectMessage createObjectMessage(Serializable object)
focal_class.identifier: createObjectMessage
focal_class.modifiers: @Override public
focal_class.parameters: (Serializable object)
focal_class.return: ObjectMessage
focal_class.signature: ObjectMessage createObjectMessage(Serializable object)
focal_class.class_method_signature: JmsPoolJMSContext.createStreamMessage()
focal_class.full_signature: @Override public StreamMessage createStreamMessage()
focal_class.identifier: createStreamMessage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: StreamMessage
focal_class.signature: StreamMessage createStreamMessage()
focal_class.class_method_signature: JmsPoolJMSContext.createTextMessage()
focal_class.full_signature: @Override public TextMessage createTextMessage()
focal_class.identifier: createTextMessage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TextMessage
focal_class.signature: TextMessage createTextMessage()
focal_class.class_method_signature: JmsPoolJMSContext.createTextMessage(String text)
focal_class.full_signature: @Override public TextMessage createTextMessage(String text)
focal_class.identifier: createTextMessage
focal_class.modifiers: @Override public
focal_class.parameters: (String text)
focal_class.return: TextMessage
focal_class.signature: TextMessage createTextMessage(String text)
focal_class.class_method_signature: JmsPoolJMSContext.createQueue(String queueName)
focal_class.full_signature: @Override public Queue createQueue(String queueName)
focal_class.identifier: createQueue
focal_class.modifiers: @Override public
focal_class.parameters: (String queueName)
focal_class.return: Queue
focal_class.signature: Queue createQueue(String queueName)
focal_class.class_method_signature: JmsPoolJMSContext.createTopic(String topicName)
focal_class.full_signature: @Override public Topic createTopic(String topicName)
focal_class.identifier: createTopic
focal_class.modifiers: @Override public
focal_class.parameters: (String topicName)
focal_class.return: Topic
focal_class.signature: Topic createTopic(String topicName)
focal_class.class_method_signature: JmsPoolJMSContext.createTemporaryQueue()
focal_class.full_signature: @Override public TemporaryQueue createTemporaryQueue()
focal_class.identifier: createTemporaryQueue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TemporaryQueue
focal_class.signature: TemporaryQueue createTemporaryQueue()
focal_class.class_method_signature: JmsPoolJMSContext.createTemporaryTopic()
focal_class.full_signature: @Override public TemporaryTopic createTemporaryTopic()
focal_class.identifier: createTemporaryTopic
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TemporaryTopic
focal_class.signature: TemporaryTopic createTemporaryTopic()
focal_class.class_method_signature: JmsPoolJMSContext.createContext(int sessionMode)
focal_class.full_signature: @Override public synchronized JMSContext createContext(int sessionMode)
focal_class.identifier: createContext
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (int sessionMode)
focal_class.return: JMSContext
focal_class.signature: JMSContext createContext(int sessionMode)
focal_class.class_method_signature: JmsPoolJMSContext.createProducer()
focal_class.full_signature: @Override public JMSProducer createProducer()
focal_class.identifier: createProducer
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JMSProducer
focal_class.signature: JMSProducer createProducer()
focal_class.class_method_signature: JmsPoolJMSContext.createConsumer(Destination destination)
focal_class.full_signature: @Override public JMSConsumer createConsumer(Destination destination)
focal_class.identifier: createConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createConsumer(Destination destination)
focal_class.class_method_signature: JmsPoolJMSContext.createConsumer(Destination destination, String selector)
focal_class.full_signature: @Override public JMSConsumer createConsumer(Destination destination, String selector)
focal_class.identifier: createConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination, String selector)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createConsumer(Destination destination, String selector)
focal_class.class_method_signature: JmsPoolJMSContext.createConsumer(Destination destination, String selector, boolean noLocal)
focal_class.full_signature: @Override public JMSConsumer createConsumer(Destination destination, String selector, boolean noLocal)
focal_class.identifier: createConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Destination destination, String selector, boolean noLocal)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createConsumer(Destination destination, String selector, boolean noLocal)
focal_class.class_method_signature: JmsPoolJMSContext.createDurableConsumer(Topic topic, String name)
focal_class.full_signature: @Override public JMSConsumer createDurableConsumer(Topic topic, String name)
focal_class.identifier: createDurableConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Topic topic, String name)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createDurableConsumer(Topic topic, String name)
focal_class.class_method_signature: JmsPoolJMSContext.createDurableConsumer(Topic topic, String name, String selector, boolean noLocal)
focal_class.full_signature: @Override public JMSConsumer createDurableConsumer(Topic topic, String name, String selector, boolean noLocal)
focal_class.identifier: createDurableConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Topic topic, String name, String selector, boolean noLocal)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createDurableConsumer(Topic topic, String name, String selector, boolean noLocal)
focal_class.class_method_signature: JmsPoolJMSContext.createSharedConsumer(Topic topic, String name)
focal_class.full_signature: @Override public JMSConsumer createSharedConsumer(Topic topic, String name)
focal_class.identifier: createSharedConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Topic topic, String name)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createSharedConsumer(Topic topic, String name)
focal_class.class_method_signature: JmsPoolJMSContext.createSharedConsumer(Topic topic, String name, String selector)
focal_class.full_signature: @Override public JMSConsumer createSharedConsumer(Topic topic, String name, String selector)
focal_class.identifier: createSharedConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Topic topic, String name, String selector)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createSharedConsumer(Topic topic, String name, String selector)
focal_class.class_method_signature: JmsPoolJMSContext.createSharedDurableConsumer(Topic topic, String name)
focal_class.full_signature: @Override public JMSConsumer createSharedDurableConsumer(Topic topic, String name)
focal_class.identifier: createSharedDurableConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Topic topic, String name)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createSharedDurableConsumer(Topic topic, String name)
focal_class.class_method_signature: JmsPoolJMSContext.createSharedDurableConsumer(Topic topic, String name, String selector)
focal_class.full_signature: @Override public JMSConsumer createSharedDurableConsumer(Topic topic, String name, String selector)
focal_class.identifier: createSharedDurableConsumer
focal_class.modifiers: @Override public
focal_class.parameters: (Topic topic, String name, String selector)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer createSharedDurableConsumer(Topic topic, String name, String selector)
focal_class.class_method_signature: JmsPoolJMSContext.createBrowser(Queue queue)
focal_class.full_signature: @Override public QueueBrowser createBrowser(Queue queue)
focal_class.identifier: createBrowser
focal_class.modifiers: @Override public
focal_class.parameters: (Queue queue)
focal_class.return: QueueBrowser
focal_class.signature: QueueBrowser createBrowser(Queue queue)
focal_class.class_method_signature: JmsPoolJMSContext.createBrowser(Queue queue, String selector)
focal_class.full_signature: @Override public QueueBrowser createBrowser(Queue queue, String selector)
focal_class.identifier: createBrowser
focal_class.modifiers: @Override public
focal_class.parameters: (Queue queue, String selector)
focal_class.return: QueueBrowser
focal_class.signature: QueueBrowser createBrowser(Queue queue, String selector)
focal_class.class_method_signature: JmsPoolJMSContext.getAutoStart()
focal_class.full_signature: @Override public boolean getAutoStart()
focal_class.identifier: getAutoStart
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getAutoStart()
focal_class.class_method_signature: JmsPoolJMSContext.setAutoStart(boolean autoStart)
focal_class.full_signature: @Override public void setAutoStart(boolean autoStart)
focal_class.identifier: setAutoStart
focal_class.modifiers: @Override public
focal_class.parameters: (boolean autoStart)
focal_class.return: void
focal_class.signature: void setAutoStart(boolean autoStart)
focal_class.class_method_signature: JmsPoolJMSContext.getClientID()
focal_class.full_signature: @Override public String getClientID()
focal_class.identifier: getClientID
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getClientID()
focal_class.class_method_signature: JmsPoolJMSContext.setClientID(String clientID)
focal_class.full_signature: @Override public void setClientID(String clientID)
focal_class.identifier: setClientID
focal_class.modifiers: @Override public
focal_class.parameters: (String clientID)
focal_class.return: void
focal_class.signature: void setClientID(String clientID)
focal_class.class_method_signature: JmsPoolJMSContext.getExceptionListener()
focal_class.full_signature: @Override public ExceptionListener getExceptionListener()
focal_class.identifier: getExceptionListener
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ExceptionListener
focal_class.signature: ExceptionListener getExceptionListener()
focal_class.class_method_signature: JmsPoolJMSContext.setExceptionListener(ExceptionListener listener)
focal_class.full_signature: @Override public void setExceptionListener(ExceptionListener listener)
focal_class.identifier: setExceptionListener
focal_class.modifiers: @Override public
focal_class.parameters: (ExceptionListener listener)
focal_class.return: void
focal_class.signature: void setExceptionListener(ExceptionListener listener)
focal_class.class_method_signature: JmsPoolJMSContext.getMetaData()
focal_class.full_signature: @Override public ConnectionMetaData getMetaData()
focal_class.identifier: getMetaData
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ConnectionMetaData
focal_class.signature: ConnectionMetaData getMetaData()
focal_class.class_method_signature: JmsPoolJMSContext.getSessionMode()
focal_class.full_signature: @Override public int getSessionMode()
focal_class.identifier: getSessionMode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSessionMode()
focal_class.class_method_signature: JmsPoolJMSContext.getTransacted()
focal_class.full_signature: @Override public boolean getTransacted()
focal_class.identifier: getTransacted
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getTransacted()
focal_class.class_method_signature: JmsPoolJMSContext.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: JmsPoolJMSContext.getConnection()
focal_class.full_signature: public Connection getConnection()
focal_class.identifier: getConnection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Connection
focal_class.signature: Connection getConnection()
focal_class.class_method_signature: JmsPoolJMSContext.getSession()
focal_class.full_signature: protected JmsPoolSession getSession()
focal_class.identifier: getSession
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: JmsPoolSession
focal_class.signature: JmsPoolSession getSession()
focal_class.class_method_signature: JmsPoolJMSContext.startIfNeeded(QueueBrowser browser)
focal_class.full_signature: private QueueBrowser startIfNeeded(QueueBrowser browser)
focal_class.identifier: startIfNeeded
focal_class.modifiers: private
focal_class.parameters: (QueueBrowser browser)
focal_class.return: QueueBrowser
focal_class.signature: QueueBrowser startIfNeeded(QueueBrowser browser)
focal_class.class_method_signature: JmsPoolJMSContext.startIfNeeded(JMSConsumer consumer)
focal_class.full_signature: private JMSConsumer startIfNeeded(JMSConsumer consumer)
focal_class.identifier: startIfNeeded
focal_class.modifiers: private
focal_class.parameters: (JMSConsumer consumer)
focal_class.return: JMSConsumer
focal_class.signature: JMSConsumer startIfNeeded(JMSConsumer consumer)
focal_class.class_method_signature: JmsPoolJMSContext.validateSessionMode(int mode)
focal_class.full_signature: private void validateSessionMode(int mode)
focal_class.identifier: validateSessionMode
focal_class.modifiers: private
focal_class.parameters: (int mode)
focal_class.return: void
focal_class.signature: void validateSessionMode(int mode)
focal_method.body: @Override
      public TextMessage createTextMessage() {
          try {
              return getSession().createTextMessage();
          } catch (JMSException jmse) {
              throw JMSExceptionSupport.createRuntimeException(jmse);
          }
      }
focal_method.class_method_signature: JmsPoolJMSContext.createTextMessage()
focal_method.full_signature: @Override public TextMessage createTextMessage()
focal_method.identifier: createTextMessage
focal_method.invocations: createTextMessage getSession createRuntimeException
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: TextMessage
focal_method.signature: TextMessage createTextMessage()