Java Doc for JMSTopic.java in  » EJB-Server-JBoss-4.2.1 » messaging » org » jboss » mq » server » 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 JBoss 4.2.1 » messaging » org.jboss.mq.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.mq.server.JMSDestination
      org.jboss.mq.server.JMSTopic

JMSTopic
public class JMSTopic extends JMSDestination (Code)
This class is a message queue which is stored (hashed by Destination) on the JMS provider
author:
   Norbert Lataille (Norbert.Lataille@m4x.org)
author:
   Hiram Chirino (Cojonudo14@hotmail.com)
author:
   David Maplesden (David.Maplesden@orion.co.nz)
author:
   Adrian Brock (adrian@jboss.com)
version:
   $Revision: 61446 $


Field Summary
 ConcurrentReaderHashMapdurQueues
    
 ConcurrentReaderHashMaptempQueues
    

Constructor Summary
public  JMSTopic(SpyDestination dest, ClientConsumer temporary, JMSDestinationManager server, BasicQueueParameters parameters)
    

Method Summary
public  voidacknowledge(org.jboss.mq.AcknowledgementRequest req, Subscription sub, org.jboss.mq.pm.Tx txId)
    
public  voidaddMessage(SpyMessage message, org.jboss.mq.pm.Tx txId)
    
public  voidaddReceiver(Subscription sub)
    
public  voidaddSubscriber(Subscription sub)
    
 voidcleanupSubscription(Subscription sub)
    
public  voidclose()
    
public  voidcreateDurableSubscription(DurableSubscriptionID id)
    
public  voiddestroyDurableSubscription(DurableSubscriptionID id)
    
public  intgetAllMessageCount()
    
public  ArrayListgetAllQueues()
    
public  ArrayListgetAllSubscriptions()
    
public  intgetAllSubscriptionsCount()
    
public  intgetDurableMessageCount()
    
public  PersistentQueuegetDurableSubscription(DurableSubscriptionID id)
    
public  ArrayListgetDurableSubscriptions()
    
public  intgetDurableSubscriptionsCount()
    
public  MessageCounter[]getMessageCounter()
    
public  intgetNonDurableMessageCount()
    
public  ArrayListgetNonDurableSubscriptions()
    
public  intgetNonDurableSubscriptionsCount()
    
public  ArrayListgetPersistentQueues()
    
public  BasicQueuegetQueue(Subscription sub)
    
public  ArrayListgetTemporaryQueues()
    
public  booleanisInUse()
    
public  voidnackMessages(Subscription sub)
    
public  SpyMessagereceive(Subscription sub, boolean wait)
    
public  voidremoveAllMessages()
    
public  voidremoveReceiver(Subscription sub)
    
public  voidremoveSubscriber(Subscription sub)
    
public  voidrestoreMessage(MessageReference messageRef)
    
public  voidrestoreMessage(SpyMessage message, Tx txid, int type)
    
public  voidrestoreMessage(SpyMessage message, DurableSubscriptionID id)
    

Field Detail
durQueues
ConcurrentReaderHashMap durQueues(Code)



tempQueues
ConcurrentReaderHashMap tempQueues(Code)




Constructor Detail
JMSTopic
public JMSTopic(SpyDestination dest, ClientConsumer temporary, JMSDestinationManager server, BasicQueueParameters parameters) throws JMSException(Code)




Method Detail
acknowledge
public void acknowledge(org.jboss.mq.AcknowledgementRequest req, Subscription sub, org.jboss.mq.pm.Tx txId) throws JMSException(Code)



addMessage
public void addMessage(SpyMessage message, org.jboss.mq.pm.Tx txId) throws JMSException(Code)



addReceiver
public void addReceiver(Subscription sub) throws JMSException(Code)



addSubscriber
public void addSubscriber(Subscription sub) throws JMSException(Code)



cleanupSubscription
void cleanupSubscription(Subscription sub)(Code)



close
public void close() throws JMSException(Code)



createDurableSubscription
public void createDurableSubscription(DurableSubscriptionID id) throws JMSException(Code)



destroyDurableSubscription
public void destroyDurableSubscription(DurableSubscriptionID id) throws JMSException(Code)



getAllMessageCount
public int getAllMessageCount()(Code)



getAllQueues
public ArrayList getAllQueues()(Code)



getAllSubscriptions
public ArrayList getAllSubscriptions()(Code)



getAllSubscriptionsCount
public int getAllSubscriptionsCount()(Code)



getDurableMessageCount
public int getDurableMessageCount()(Code)



getDurableSubscription
public PersistentQueue getDurableSubscription(DurableSubscriptionID id)(Code)



getDurableSubscriptions
public ArrayList getDurableSubscriptions()(Code)



getDurableSubscriptionsCount
public int getDurableSubscriptionsCount()(Code)



getMessageCounter
public MessageCounter[] getMessageCounter()(Code)
Get message counter of all topic internal queues MessageCounter[] topic queue message counter array



getNonDurableMessageCount
public int getNonDurableMessageCount()(Code)



getNonDurableSubscriptions
public ArrayList getNonDurableSubscriptions()(Code)



getNonDurableSubscriptionsCount
public int getNonDurableSubscriptionsCount()(Code)



getPersistentQueues
public ArrayList getPersistentQueues()(Code)



getQueue
public BasicQueue getQueue(Subscription sub) throws JMSException(Code)



getTemporaryQueues
public ArrayList getTemporaryQueues()(Code)



isInUse
public boolean isInUse()(Code)



nackMessages
public void nackMessages(Subscription sub) throws JMSException(Code)



receive
public SpyMessage receive(Subscription sub, boolean wait) throws javax.jms.JMSException(Code)



removeAllMessages
public void removeAllMessages() throws JMSException(Code)

See Also:   JMSDestination.destroy



removeReceiver
public void removeReceiver(Subscription sub)(Code)



removeSubscriber
public void removeSubscriber(Subscription sub) throws JMSException(Code)



restoreMessage
public void restoreMessage(MessageReference messageRef)(Code)



restoreMessage
public void restoreMessage(SpyMessage message, Tx txid, int type)(Code)



restoreMessage
public void restoreMessage(SpyMessage message, DurableSubscriptionID id)(Code)



Fields inherited from org.jboss.mq.server.JMSDestination
static Logger cat(Code)(Java Doc)
SpyDestination destination(Code)(Java Doc)
long nextMessageIdCounter(Code)(Java Doc)
Object nextMessageIdLock(Code)(Java Doc)
static long nextSharedMessageIdCounter(Code)(Java Doc)
static Object nextSharedMessageIdLock(Code)(Java Doc)
public BasicQueueParameters parameters(Code)(Java Doc)
JMSDestinationManager server(Code)(Java Doc)
ClientConsumer temporaryDestination(Code)(Java Doc)

Methods inherited from org.jboss.mq.server.JMSDestination
abstract public void acknowledge(org.jboss.mq.AcknowledgementRequest req, org.jboss.mq.Subscription sub, org.jboss.mq.pm.Tx txId) throws javax.jms.JMSException(Code)(Java Doc)
abstract public void addMessage(org.jboss.mq.SpyMessage mes, org.jboss.mq.pm.Tx txId) throws javax.jms.JMSException(Code)(Java Doc)
abstract public void addReceiver(Subscription sub) throws JMSException(Code)(Java Doc)
abstract public void addSubscriber(Subscription sub) throws JMSException(Code)(Java Doc)
abstract public void close() throws JMSException(Code)(Java Doc)
abstract public MessageCounter[] getMessageCounter()(Code)(Java Doc)
public SpyDestination getSpyDestination()(Code)(Java Doc)
abstract public boolean isInUse()(Code)(Java Doc)
abstract public void nackMessages(Subscription sub) throws JMSException(Code)(Java Doc)
protected long nextMessageId()(Code)(Java Doc)
protected static long nextSharedMessageId()(Code)(Java Doc)
abstract public SpyMessage receive(Subscription sub, boolean wait) throws JMSException(Code)(Java Doc)
abstract public void removeAllMessages() throws JMSException(Code)(Java Doc)
abstract public void removeReceiver(Subscription sub)(Code)(Java Doc)
abstract public void removeSubscriber(Subscription sub) throws JMSException(Code)(Java Doc)
abstract public void restoreMessage(MessageReference message)(Code)(Java Doc)
public void restoreMessage(SpyMessage message)(Code)(Java Doc)
abstract public void restoreMessage(SpyMessage message, Tx tx, int type)(Code)(Java Doc)
protected void updateNextMessageId(SpyMessage message)(Code)(Java Doc)
protected static void updateSharedNextMessageId(SpyMessage message)(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.