Java Doc for TopicSessionImpl.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » jms » connection » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.jms.connection 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.jms.connection.JmsSession
      com.caucho.jms.connection.TopicSessionImpl

TopicSessionImpl
public class TopicSessionImpl extends JmsSession implements XATopicSession,TopicSession(Code)
A sample topic session. Lets the client create topics, browsers, etc.



Constructor Summary
public  TopicSessionImpl(ConnectionImpl conn, boolean isTransacted, int ackMode, boolean isXA)
    

Method Summary
public  QueueBrowsercreateBrowser(Queue queue)
     Creates a QueueBrowser to browse messages in the queue.
public  QueueBrowsercreateBrowser(Queue queue, String messageSelector)
     Creates a QueueBrowser to browse messages in the queue.
public  TopicPublishercreatePublisher(Topic topic)
     Creates a TopicSender to send messages to a topic.
public  QueuecreateQueue(String queueName)
     Creates a new queue.
public  TopicSubscribercreateSubscriber(Topic topic)
     Creates a subscriber to receive messages.
public  TopicSubscribercreateSubscriber(Topic topic, String messageSelector, boolean noLocal)
     Creates a subscriber to receive messages.
public  TemporaryQueuecreateTemporaryQueue()
     Creates a temporary queue.
public  TopicSessiongetTopicSession()
    


Constructor Detail
TopicSessionImpl
public TopicSessionImpl(ConnectionImpl conn, boolean isTransacted, int ackMode, boolean isXA) throws JMSException(Code)




Method Detail
createBrowser
public QueueBrowser createBrowser(Queue queue) throws JMSException(Code)
Creates a QueueBrowser to browse messages in the queue.
Parameters:
  queue - the queue to send messages to.



createBrowser
public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException(Code)
Creates a QueueBrowser to browse messages in the queue.
Parameters:
  queue - the queue to send messages to.



createPublisher
public TopicPublisher createPublisher(Topic topic) throws JMSException(Code)
Creates a TopicSender to send messages to a topic.
Parameters:
  topic - the topic to send messages to.



createQueue
public Queue createQueue(String queueName) throws JMSException(Code)
Creates a new queue.



createSubscriber
public TopicSubscriber createSubscriber(Topic topic) throws JMSException(Code)
Creates a subscriber to receive messages.
Parameters:
  topic - the topic to receive messages from.



createSubscriber
public TopicSubscriber createSubscriber(Topic topic, String messageSelector, boolean noLocal) throws JMSException(Code)
Creates a subscriber to receive messages.
Parameters:
  topic - the topic to receive messages from.
Parameters:
  messageSelector - topic to restrict the messages.
Parameters:
  noLocal - if true, don't receive messages we've sent



createTemporaryQueue
public TemporaryQueue createTemporaryQueue() throws JMSException(Code)
Creates a temporary queue.



getTopicSession
public TopicSession getTopicSession()(Code)



Fields inherited from com.caucho.jms.connection.JmsSession
final protected static L10N L(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from com.caucho.jms.connection.JmsSession
public void acknowledge() throws JMSException(Code)(Java Doc)
protected void addConsumer(MessageConsumerImpl consumer)(Code)(Java Doc)
void addTransactedReceive(AbstractDestination queue, MessageImpl message)(Code)(Java Doc)
public void checkOpen() throws javax.jms.IllegalStateException(Code)(Java Doc)
void checkThread() throws JMSException(Code)(Java Doc)
public void close() throws JMSException(Code)(Java Doc)
public void commit() throws JMSException(Code)(Java Doc)
public void commit(Xid xid, boolean onePhase) throws XAException(Code)(Java Doc)
public QueueBrowser createBrowser(Queue queue) throws JMSException(Code)(Java Doc)
public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException(Code)(Java Doc)
public BytesMessage createBytesMessage() throws JMSException(Code)(Java Doc)
public MessageConsumer createConsumer(Destination destination) throws JMSException(Code)(Java Doc)
public MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException(Code)(Java Doc)
public MessageConsumer createConsumer(Destination destination, String messageSelector, boolean noLocal) throws JMSException(Code)(Java Doc)
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException(Code)(Java Doc)
public TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException(Code)(Java Doc)
public MapMessage createMapMessage() throws JMSException(Code)(Java Doc)
public Message createMessage() throws JMSException(Code)(Java Doc)
public ObjectMessage createObjectMessage() throws JMSException(Code)(Java Doc)
public ObjectMessage createObjectMessage(Serializable obj) throws JMSException(Code)(Java Doc)
public MessageProducer createProducer(Destination destination) throws JMSException(Code)(Java Doc)
public Queue createQueue(String queueName) throws JMSException(Code)(Java Doc)
public StreamMessage createStreamMessage() throws JMSException(Code)(Java Doc)
public TemporaryQueue createTemporaryQueue() throws JMSException(Code)(Java Doc)
public TemporaryTopic createTemporaryTopic() throws JMSException(Code)(Java Doc)
public TextMessage createTextMessage() throws JMSException(Code)(Java Doc)
public TextMessage createTextMessage(String message) throws JMSException(Code)(Java Doc)
public Topic createTopic(String topicName) throws JMSException(Code)(Java Doc)
public void end(Xid xid, int flags) throws XAException(Code)(Java Doc)
public void forget(Xid xid) throws XAException(Code)(Java Doc)
public int getAcknowledgeMode() throws JMSException(Code)(Java Doc)
ClassLoader getClassLoader()(Code)(Java Doc)
public String getClientID() throws JMSException(Code)(Java Doc)
ConnectionImpl getConnection()(Code)(Java Doc)
public MessageListener getMessageListener() throws JMSException(Code)(Java Doc)
public Session getSession()(Code)(Java Doc)
public boolean getTransacted() throws JMSException(Code)(Java Doc)
public int getTransactionTimeout() throws XAException(Code)(Java Doc)
public XAResource getXAResource()(Code)(Java Doc)
public boolean isActive()(Code)(Java Doc)
boolean isAsynchronous()(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public boolean isSameRM(XAResource xa) throws XAException(Code)(Java Doc)
boolean isStopping()(Code)(Java Doc)
boolean notifyMessageAvailable()(Code)(Java Doc)
public int prepare(Xid xid) throws XAException(Code)(Java Doc)
protected Message receive(MessageConsumerImpl consumer, long timeout) throws JMSException(Code)(Java Doc)
public void recover() throws JMSException(Code)(Java Doc)
public Xid[] recover(int flag) throws XAException(Code)(Java Doc)
protected void removeConsumer(MessageConsumerImpl consumer)(Code)(Java Doc)
public void rollback() throws JMSException(Code)(Java Doc)
public void rollback(Xid xid) throws XAException(Code)(Java Doc)
public void rollbackImpl() throws JMSException(Code)(Java Doc)
public void run()(Code)(Java Doc)
public void send(AbstractDestination queue, Message appMessage, int deliveryMode, int priority, long timeout) throws JMSException(Code)(Java Doc)
void setAsynchronous()(Code)(Java Doc)
public void setMessageListener(MessageListener listener) throws JMSException(Code)(Java Doc)
public boolean setTransactionTimeout(int timeout) throws XAException(Code)(Java Doc)
void start()(Code)(Java Doc)
public void start(Xid xid, int flags) throws XAException(Code)(Java Doc)
void stop()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void unsubscribe(String name) throws JMSException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.