JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.jms

Interface ConnectionConsumer

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void close ()
      Closes the connection consumer.
      ServerSessionPool getServerSessionPool ()
      Gets the server session pool associated with this connection consumer.
    • Method Detail

      • getServerSessionPool

        ServerSessionPool getServerSessionPool()
         throws JMSException 
        Gets the server session pool associated with this connection consumer.
        Returns:
        the server session pool used by this connection consumer
        Throws:
        JMSException - if the JMS provider fails to get the server session pool associated with this consumer due to some internal error.
      • close

        void close()
         throws JMSException 
        Closes the connection consumer.

        Since a provider may allocate some resources on behalf of a connection consumer outside the Java virtual machine, clients should close these resources when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.

        Throws:
        JMSException - if the JMS provider fails to release resources on behalf of the connection consumer or fails to close the connection consumer.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /