pt.jcodeutil.core.ejb
Class JMSUtils

java.lang.Object
  |
  +--pt.jcodeutil.core.ejb.JMSUtils

public abstract class JMSUtils
extends java.lang.Object


Constructor Summary
JMSUtils()
           
 
Method Summary
static void close(javax.jms.QueueConnection queueConn)
          Close a QueueConnection ignoring the exception.
static void close(javax.jms.QueueSender queueSender)
          Close a QueueSender ignoring the exception.
static void close(javax.jms.QueueSession queueSession)
          Close a QueueSession ignoring the exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSUtils

public JMSUtils()
Method Detail

close

public static void close(javax.jms.QueueSession queueSession)
Close a QueueSession ignoring the exception.
Parameters:
queueSession - the QueueSession to be closed.

close

public static void close(javax.jms.QueueConnection queueConn)
Close a QueueConnection ignoring the exception.
Parameters:
queueConn - the QueueConnection to be closed.

close

public static void close(javax.jms.QueueSender queueSender)
Close a QueueSender ignoring the exception.
Parameters:
queueSender - the QueueSender to be closed.