Package org.codehaus.activemq

Examples of org.codehaus.activemq.Closeable


     * @throws JMSException
     */
    public void cleanup() {
      // Close all the closeables..
      for (Iterator iter = closeables.iterator(); iter.hasNext();) {
      Closeable c = (Closeable) iter.next();
      try {
        c.close();
      } catch (JMSException e) {
        log.debug("Error in occured closing a JMS object: "+e,e);
      }
    }
      closed=true;
View Full Code Here

TOP

Related Classes of org.codehaus.activemq.Closeable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.