| 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 $ |
Method Summary | |
public void | acknowledge(ConnectionToken dc, AcknowledgementRequest item) | public void | acknowledge(ConnectionToken dc, AcknowledgementRequest item, Tx txId) | public void | addDestination(JMSDestination destination) | public void | addMessage(ConnectionToken dc, SpyMessage val) | public void | addMessage(ConnectionToken dc, SpyMessage val, Tx txId) | public String | authenticate(String id, String password) | public SpyMessage[] | browse(ConnectionToken dc, Destination dest, String selector) | public void | checkID(String ID) | protected void | checkStopped() | public String | checkUser(String userName, String password) | public void | closeDestination(SpyDestination dest) | public void | connectionClosing(ConnectionToken dc) | public void | connectionFailure(ConnectionToken dc) | public Queue | createQueue(ConnectionToken dc, String name) | public Queue | createQueue(String queueName) | public Topic | createTopic(ConnectionToken dc, String name) | public Topic | createTopic(String topicName) | public void | deleteTemporaryDestination(ConnectionToken dc, SpyDestination dest) | protected void | deleteTemporaryDestination(ConnectionToken dc, JMSDestination destination) | public void | destroySubscription(ConnectionToken dc, DurableSubscriptionID id) | public ClientConsumer | getClientConsumer(ConnectionToken dc) | public int | getClientCount() | public HashMap | getClients() | public SpyTopic | getDurableTopic(DurableSubscriptionID sub) | public String | getID() | public JMSDestination | getJMSDestination(SpyDestination dest) | public MessageCache | getMessageCache() | public MessageCounter[] | getMessageCounter() | public BasicQueueParameters | getParameters() | public PersistenceManager | getPersistenceManager() | protected JMSDestination | getPossiblyClosingJMSDestination(SpyDestination dest) | public StateManager | getStateManager() | public Subscription | getSubscription(ConnectionToken dc, int subscriberId) | public TemporaryQueue | getTemporaryQueue(ConnectionToken dc) | public TemporaryTopic | getTemporaryTopic(ConnectionToken dc) | public ThreadGroup | getThreadGroup() | public ThreadPool | getThreadPool() | public TimeoutFactory | getTimeoutFactory() | public boolean | isStopped() Returns false if the JMS server is currently running and
handling requests, true otherwise. | public void | ping(ConnectionToken dc, long clientTime) | public SpyMessage | receive(ConnectionToken dc, int subscriberId, long wait) | public Xid[] | recover(ConnectionToken dc, int flags) | public void | resetMessageCounter() | public void | setEnabled(ConnectionToken dc, boolean enabled) | public void | setMessageCache(MessageCache messageCache) | public void | setPersistenceManager(org.jboss.mq.pm.PersistenceManager newPersistenceManager) | public void | setStateManager(StateManager newStateManager) | public void | setThreadGroup(ThreadGroup threadGroup) | public void | setThreadPool(ThreadPool threadPool) | public void | startServer() | public void | stopServer() | public void | subscribe(ConnectionToken dc, Subscription sub) | public String | toString() | public void | transact(ConnectionToken dc, TransactionRequest t) | public void | unsubscribe(ConnectionToken dc, int subscriptionId) |
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
|
threadPool | public ThreadPool threadPool(Code) | | Thread pool
|
timeoutFactory | public TimeoutFactory timeoutFactory(Code) | | Timeout factory
|
checkID | public void checkID(String ID) 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 |
createQueue | public Queue createQueue(String queueName) throws JMSException(Code) | | |
createTopic | public Topic createTopic(String topicName) 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 |
getID | public String getID()(Code) | | Gets the ID attribute of the JMSServer object
The ID value |
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 |
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 |
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. |
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 |
setThreadPool | public void setThreadPool(ThreadPool threadPool)(Code) | | |
startServer | public void startServer()(Code) | | Start the server
|
stopServer | public void stopServer()(Code) | | Stop the server
|
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)
|
|
|