org.jboss.resource.adapter.jms
Interface JmsSessionFactory

All Superinterfaces:
javax.jms.Connection, javax.jms.QueueConnection, javax.jms.TopicConnection
All Known Implementing Classes:
JmsSessionFactoryImpl

public interface JmsSessionFactory
extends javax.jms.Connection, javax.jms.TopicConnection, javax.jms.QueueConnection

A marker interface to join topics and queues into one factory.

Version:
$Revision: 1.5.6.3 $
Author:
Peter Antman., Adrian Brock

Field Summary
static String ISE
          Error message for strict behaviour
 
Method Summary
 void addTemporaryQueue(javax.jms.TemporaryQueue temp)
          Add a temporary queue
 void addTemporaryTopic(javax.jms.TemporaryTopic temp)
          Add a temporary topic
 void closeSession(JmsSession session)
          Notification that a session is closed
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer, createQueueSession
 
Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 

Field Detail

ISE

static final String ISE
Error message for strict behaviour

See Also:
Constant Field Values
Method Detail

addTemporaryQueue

void addTemporaryQueue(javax.jms.TemporaryQueue temp)
Add a temporary queue

Parameters:
temp - the temporary queue

addTemporaryTopic

void addTemporaryTopic(javax.jms.TemporaryTopic temp)
Add a temporary topic

Parameters:
temp - the temporary topic

closeSession

void closeSession(JmsSession session)
                  throws javax.jms.JMSException
Notification that a session is closed

Throws:
javax.jms.JMSException - for any error


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.