站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 connector API Documentation 英文版文档

JmsSessionFactory (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档


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.

Created: Thu Mar 29 15:37:21 2001

Version:
$Revision: 1.5 $
Author:
Peter Antman.

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, createDurableConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
 
Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer, createTopicSession
 
Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer, createQueueSession
 

Method Detail

addTemporaryQueue

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

Parameters:
temp - the temporary queue

addTemporaryTopic

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

Parameters:
temp - the temporary topic

closeSession

public 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.