当前页面:
在线文档首页 >
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
org.jboss.resource.adapter.jms.JmsMessageConsumer
org.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
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 |
JmsTopicSubscriber
public JmsTopicSubscriber(javax.jms.TopicSubscriber consumer,
JmsSession session)
- Create a new wrapper
- Parameters:
consumer
- the topic subscribersession
- the session
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.