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

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


org.jboss.resource.adapter.jms
Class JmsTopicSubscriber

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsMessageConsumer
      extended byorg.jboss.resource.adapter.jms.JmsTopicSubscriber
All Implemented Interfaces:
javax.jms.MessageConsumer, javax.jms.TopicSubscriber

public class JmsTopicSubscriber
extends JmsMessageConsumer
implements javax.jms.TopicSubscriber

A wrapper for a topic subscriber

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
JmsTopicSubscriber(javax.jms.TopicSubscriber consumer, JmsSession session)
          Create a new wrapper
 
Method Summary
 boolean getNoLocal()
           
 javax.jms.Topic getTopic()
           
 
Methods inherited from class org.jboss.resource.adapter.jms.JmsMessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 

Constructor Detail

JmsTopicSubscriber

public JmsTopicSubscriber(javax.jms.TopicSubscriber consumer,
                          JmsSession session)
Create a new wrapper

Parameters:
consumer - the topic subscriber
session - the session
Method Detail

getNoLocal

public boolean getNoLocal()
                   throws javax.jms.JMSException
Specified by:
getNoLocal in interface javax.jms.TopicSubscriber
Throws:
javax.jms.JMSException

getTopic

public javax.jms.Topic getTopic()
                         throws javax.jms.JMSException
Specified by:
getTopic in interface javax.jms.TopicSubscriber
Throws:
javax.jms.JMSException


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