Java Doc for JMSDestinationManager.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.JMSServerInterceptorSupport
      org.jboss.mq.server.JMSDestinationManager

JMSDestinationManager
public class JMSDestinationManager extends JMSServerInterceptorSupport (Code)
This class implements 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:
   Peter Antman
version:
   $Revision: 57198 $


Field Summary
final public static  StringJBOSS_VERSION
    
 MapclientConsumers
    
public  MapclosingDestinations
    
public  Mapdestinations
    
 BasicQueueParametersparameters
    
public  ThreadGroupthreadGroup
    
public  ThreadPoolthreadPool
    
public  TimeoutFactorytimeoutFactory
    

Constructor Summary
public  JMSDestinationManager(BasicQueueParameters parameters)
    

Method Summary
public  voidacknowledge(ConnectionToken dc, AcknowledgementRequest item)
    
public  voidacknowledge(ConnectionToken dc, AcknowledgementRequest item, Tx txId)
    
public  voidaddDestination(JMSDestination destination)
    
public  voidaddMessage(ConnectionToken dc, SpyMessage val)
    
public  voidaddMessage(ConnectionToken dc, SpyMessage val, Tx txId)
    
public  Stringauthenticate(String id, String password)
    
public  SpyMessage[]browse(ConnectionToken dc, Destination dest, String selector)
    
public  voidcheckID(String ID)
    
protected  voidcheckStopped()
    
public  StringcheckUser(String userName, String password)
    
public  voidcloseDestination(SpyDestination dest)
    
public  voidconnectionClosing(ConnectionToken dc)
    
public  voidconnectionFailure(ConnectionToken dc)
    
public  QueuecreateQueue(ConnectionToken dc, String name)
    
public  QueuecreateQueue(String queueName)
    
public  TopiccreateTopic(ConnectionToken dc, String name)
    
public  TopiccreateTopic(String topicName)
    
public  voiddeleteTemporaryDestination(ConnectionToken dc, SpyDestination dest)
    
protected  voiddeleteTemporaryDestination(ConnectionToken dc, JMSDestination destination)
    
public  voiddestroySubscription(ConnectionToken dc, DurableSubscriptionID id)
    
public  ClientConsumergetClientConsumer(ConnectionToken dc)
    
public  intgetClientCount()
    
public  HashMapgetClients()
    
public  SpyTopicgetDurableTopic(DurableSubscriptionID sub)
    
public  StringgetID()
    
public  JMSDestinationgetJMSDestination(SpyDestination dest)
    
public  MessageCachegetMessageCache()
    
public  MessageCounter[]getMessageCounter()
    
public  BasicQueueParametersgetParameters()
    
public  PersistenceManagergetPersistenceManager()
    
protected  JMSDestinationgetPossiblyClosingJMSDestination(SpyDestination dest)
    
public  StateManagergetStateManager()
    
public  SubscriptiongetSubscription(ConnectionToken dc, int subscriberId)
    
public  TemporaryQueuegetTemporaryQueue(ConnectionToken dc)
    
public  TemporaryTopicgetTemporaryTopic(ConnectionToken dc)
    
public  ThreadGroupgetThreadGroup()
    
public  ThreadPoolgetThreadPool()
    
public  TimeoutFactorygetTimeoutFactory()
    
public  booleanisStopped()
     Returns false if the JMS server is currently running and handling requests, true otherwise.
public  voidping(ConnectionToken dc, long clientTime)
    
public  SpyMessagereceive(ConnectionToken dc, int subscriberId, long wait)
    
public  Xid[]recover(ConnectionToken dc, int flags)
    
public  voidresetMessageCounter()
    
public  voidsetEnabled(ConnectionToken dc, boolean enabled)
    
public  voidsetMessageCache(MessageCache messageCache)
    
public  voidsetPersistenceManager(org.jboss.mq.pm.PersistenceManager newPersistenceManager)
    
public  voidsetStateManager(StateManager newStateManager)
    
public  voidsetThreadGroup(ThreadGroup threadGroup)
    
public  voidsetThreadPool(ThreadPool threadPool)
    
public  voidstartServer()
    
public  voidstopServer()
    
public  voidsubscribe(ConnectionToken dc, Subscription sub)
    
public  StringtoString()
    
public  voidtransact(ConnectionToken dc, TransactionRequest t)
    
public  voidunsubscribe(ConnectionToken dc, int subscriptionId)
    

Field Detail
JBOSS_VERSION
final public static String JBOSS_VERSION(Code)
The version



clientConsumers
Map clientConsumers(Code)
The list of ClientConsumers hased by ConnectionTokens



closingDestinations
public Map closingDestinations(Code)
Destinations being closed SpyDestination -> JMSDestination



destinations
public Map destinations(Code)
Destinations SpyDestination -> JMSDestination



parameters
BasicQueueParameters parameters(Code)
Temporary queue/topic parameters



threadGroup
public ThreadGroup threadGroup(Code)
Thread group



threadPool
public ThreadPool threadPool(Code)
Thread pool



timeoutFactory
public TimeoutFactory timeoutFactory(Code)
Timeout factory




Constructor Detail
JMSDestinationManager
public JMSDestinationManager(BasicQueueParameters parameters)(Code)
Constructor for the JMSServer object




Method Detail
acknowledge
public void acknowledge(ConnectionToken dc, AcknowledgementRequest item) throws JMSException(Code)



acknowledge
public void acknowledge(ConnectionToken dc, AcknowledgementRequest item, Tx txId) throws JMSException(Code)



addDestination
public void addDestination(JMSDestination destination) throws JMSException(Code)



addMessage
public void addMessage(ConnectionToken dc, SpyMessage val) throws JMSException(Code)



addMessage
public void addMessage(ConnectionToken dc, SpyMessage val, Tx txId) throws JMSException(Code)



authenticate
public String authenticate(String id, String password) throws JMSException(Code)



browse
public SpyMessage[] browse(ConnectionToken dc, Destination dest, String selector) throws JMSException(Code)



checkID
public void checkID(String ID) throws JMSException(Code)



checkStopped
protected void checkStopped() throws IllegalStateException(Code)



checkUser
public String checkUser(String userName, String password) throws JMSException(Code)



closeDestination
public void closeDestination(SpyDestination dest) throws JMSException(Code)
Closed a destination that was opened previously
Parameters:
  dest - the destionation to close
exception:
  JMSException - Description of Exception



connectionClosing
public void connectionClosing(ConnectionToken dc) throws JMSException(Code)



connectionFailure
public void connectionFailure(ConnectionToken dc) throws JMSException(Code)



createQueue
public Queue createQueue(ConnectionToken dc, String name) throws JMSException(Code)



createQueue
public Queue createQueue(String queueName) throws JMSException(Code)



createTopic
public Topic createTopic(ConnectionToken dc, String name) throws JMSException(Code)



createTopic
public Topic createTopic(String topicName) throws JMSException(Code)



deleteTemporaryDestination
public void deleteTemporaryDestination(ConnectionToken dc, SpyDestination dest) throws JMSException(Code)



deleteTemporaryDestination
protected void deleteTemporaryDestination(ConnectionToken dc, JMSDestination destination) throws JMSException(Code)



destroySubscription
public void destroySubscription(ConnectionToken dc, DurableSubscriptionID id) throws JMSException(Code)



getClientConsumer
public ClientConsumer getClientConsumer(ConnectionToken dc) throws JMSException(Code)



getClientCount
public int getClientCount()(Code)
the current client count



getClients
public HashMap getClients()(Code)
Obtain a copy of the current clients a HashMap of current clients



getDurableTopic
public SpyTopic getDurableTopic(DurableSubscriptionID sub) throws JMSException(Code)



getID
public String getID()(Code)
Gets the ID attribute of the JMSServer object The ID value



getJMSDestination
public JMSDestination getJMSDestination(SpyDestination dest)(Code)



getMessageCache
public MessageCache getMessageCache()(Code)
Gets the messageCache Returns a MessageCache



getMessageCounter
public MessageCounter[] getMessageCounter()(Code)
Gets message counters of all configured destinations MessageCounter[] message counter array sorted by name



getParameters
public BasicQueueParameters getParameters()(Code)



getPersistenceManager
public PersistenceManager getPersistenceManager()(Code)
Gets the PersistenceManager attribute of the JMSServer object The PersistenceManager value



getPossiblyClosingJMSDestination
protected JMSDestination getPossiblyClosingJMSDestination(SpyDestination dest)(Code)
Gets the JMSDestination attribute of the JMSServer object which might be being closed
Parameters:
  dest - Description of Parameter The JMSDestination value



getStateManager
public StateManager getStateManager()(Code)
Gets the StateManager attribute of the JMSServer object The StateManager value



getSubscription
public Subscription getSubscription(ConnectionToken dc, int subscriberId) throws JMSException(Code)



getTemporaryQueue
public TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws JMSException(Code)



getTemporaryTopic
public TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws JMSException(Code)



getThreadGroup
public ThreadGroup getThreadGroup()(Code)



getThreadPool
public ThreadPool getThreadPool()(Code)



getTimeoutFactory
public TimeoutFactory getTimeoutFactory()(Code)



isStopped
public boolean isStopped()(Code)
Returns false if the JMS server is currently running and handling requests, true otherwise. false if the JMS server is currently running andhandling requests, true otherwise.



ping
public void ping(ConnectionToken dc, long clientTime) throws JMSException(Code)



receive
public SpyMessage receive(ConnectionToken dc, int subscriberId, long wait) throws JMSException(Code)



recover
public Xid[] recover(ConnectionToken dc, int flags) throws Exception(Code)



resetMessageCounter
public void resetMessageCounter()(Code)
Resets message counters of all configured destinations



setEnabled
public void setEnabled(ConnectionToken dc, boolean enabled) throws JMSException(Code)
Sets the Enabled attribute of the JMSServer object
Parameters:
  dc - The new Enabled value
Parameters:
  enabled - The new Enabled value
exception:
  JMSException - Description of Exception



setMessageCache
public void setMessageCache(MessageCache messageCache)(Code)
Sets the messageCache
Parameters:
  messageCache - The messageCache to set



setPersistenceManager
public void setPersistenceManager(org.jboss.mq.pm.PersistenceManager newPersistenceManager)(Code)
Sets the PersistenceManager attribute of the JMSServer object
Parameters:
  newPersistenceManager - The new PersistenceManager value



setStateManager
public void setStateManager(StateManager newStateManager)(Code)
Sets the StateManager attribute of the JMSServer object
Parameters:
  newStateManager - The new StateManager value



setThreadGroup
public void setThreadGroup(ThreadGroup threadGroup)(Code)



setThreadPool
public void setThreadPool(ThreadPool threadPool)(Code)



startServer
public void startServer()(Code)
Start the server



stopServer
public void stopServer()(Code)
Stop the server



subscribe
public void subscribe(ConnectionToken dc, Subscription sub) throws JMSException(Code)



toString
public String toString()(Code)



transact
public void transact(ConnectionToken dc, TransactionRequest t) throws JMSException(Code)



unsubscribe
public void unsubscribe(ConnectionToken dc, int subscriptionId) throws JMSException(Code)



Fields inherited from org.jboss.mq.server.JMSServerInterceptorSupport
protected Logger log(Code)(Java Doc)
protected JMSServerInterceptor nextInterceptor(Code)(Java Doc)

Methods inherited from org.jboss.mq.server.JMSServerInterceptorSupport
public void acknowledge(ConnectionToken dc, AcknowledgementRequest item) throws JMSException(Code)(Java Doc)
public void addMessage(ConnectionToken dc, SpyMessage message) throws JMSException(Code)(Java Doc)
public String authenticate(String userName, String password) throws JMSException(Code)(Java Doc)
public SpyMessage[] browse(ConnectionToken dc, Destination dest, String selector) throws JMSException(Code)(Java Doc)
public void checkID(String ID) throws JMSException(Code)(Java Doc)
public String checkUser(String userName, String password) throws JMSException(Code)(Java Doc)
public void connectionClosing(ConnectionToken dc) throws JMSException(Code)(Java Doc)
public Queue createQueue(ConnectionToken dc, String dest) throws JMSException(Code)(Java Doc)
public Topic createTopic(ConnectionToken dc, String dest) throws JMSException(Code)(Java Doc)
public void deleteTemporaryDestination(ConnectionToken dc, SpyDestination dest) throws JMSException(Code)(Java Doc)
public void destroySubscription(ConnectionToken dc, DurableSubscriptionID id) throws JMSException(Code)(Java Doc)
public SpyTopic getDurableTopic(DurableSubscriptionID sub) throws JMSException(Code)(Java Doc)
public String getID() throws JMSException(Code)(Java Doc)
public JMSServerInterceptor getNext()(Code)(Java Doc)
public Subscription getSubscription(ConnectionToken dc, int subscriberId) throws JMSException(Code)(Java Doc)
public TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws JMSException(Code)(Java Doc)
public TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws JMSException(Code)(Java Doc)
public ThreadGroup getThreadGroup()(Code)(Java Doc)
public void ping(ConnectionToken dc, long clientTime) throws JMSException(Code)(Java Doc)
public SpyMessage receive(ConnectionToken dc, int subscriberId, long wait) throws JMSException(Code)(Java Doc)
public Xid[] recover(ConnectionToken dc, int flags) throws Exception(Code)(Java Doc)
public void setEnabled(ConnectionToken dc, boolean enabled) throws JMSException(Code)(Java Doc)
public void setNext(JMSServerInterceptor server)(Code)(Java Doc)
public void subscribe(org.jboss.mq.ConnectionToken dc, org.jboss.mq.Subscription s) throws JMSException(Code)(Java Doc)
public void transact(ConnectionToken dc, TransactionRequest t) throws JMSException(Code)(Java Doc)
public void unsubscribe(ConnectionToken dc, int subscriptionId) 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.