JmsSessionFactory.java |
/*************************************** * * * JBoss: The OpenSource J2EE WebOS * * * * Distributable under LGPL license. * * See terms of license at gnu.org. * * * ***************************************/ package org.jboss.resource.adapter.jms; import javax.jms.Connection; import javax.jms.JMSException; import javax.jms.QueueConnection; import javax.jms.TemporaryQueue; import javax.jms.TemporaryTopic; import javax.jms.TopicConnection; /** * A marker interface to join topics and queues into one factory. * * <p>Created: Thu Mar 29 15:37:21 2001 * * @author <a href="mailto:peter.antman@tim.se">Peter Antman</a>. * @version <pre>$Revision: 1.5.6.1 $</pre> */ public interface JmsSessionFactory extends Connection, TopicConnection, QueueConnection { /** Error message for strict behaviour */ String ISE = "This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6"; /** * Add a temporary queue * * @param temp the temporary queue */ void addTemporaryQueue(TemporaryQueue temp); /** * Add a temporary topic * * @param temp the temporary topic */ void addTemporaryTopic(TemporaryTopic temp); /** * Notification that a session is closed * * @throws JMSException for any error */ void closeSession(JmsSession session) throws JMSException; }
JmsSessionFactory.java |