1 25 26 27 package org.objectweb.jonas_jms.api; 28 29 import javax.jms.Queue ; 30 import javax.jms.Topic ; 31 import javax.jms.XAConnectionFactory ; 32 import javax.jms.XAQueueConnectionFactory ; 33 import javax.jms.XATopicConnectionFactory ; 34 35 36 46 public interface JmsAdministration { 47 48 57 public void start(boolean collocated, String url) throws Exception ; 58 59 62 public void stop(); 63 64 67 public XAConnectionFactory getXAConnectionFactory(); 68 69 72 public XATopicConnectionFactory getXATopicConnectionFactory(); 73 74 77 public XAQueueConnectionFactory getXAQueueConnectionFactory(); 78 79 82 public Topic createTopic(String name) throws Exception ; 83 84 87 public Queue createQueue(String name) throws Exception ; 88 89 92 public void deleteDestination(String name) throws Exception ; 93 94 97 public int getPendingMessages(javax.jms.Queue queue) throws Exception ; 98 99 102 public int getPendingRequests(javax.jms.Queue queue) throws Exception ; 103 104 107 public int getSubscriptions(javax.jms.Topic topic) throws Exception ; 108 } 109 | Popular Tags |