1 package org.jboss.mq.server.jmx; 2 3 import java.util.List ; 4 5 import javax.jms.InvalidSelectorException ; 6 import javax.management.MBeanServer ; 7 import javax.management.ObjectName ; 8 9 import org.w3c.dom.Element ; 10 11 public interface TopicMBean 12 { 13 14 public abstract void create() throws Exception ; 15 16 public abstract void destroy(); 17 18 public abstract int getDownCacheSize(); 19 20 public abstract int getFullSize(); 21 22 public abstract String getJNDIName(); 23 24 public abstract List getMessagesFromNonDurableSub( 25 org.jboss.messaging.core.local.Topic arg0, long arg1, String arg2) 26 throws InvalidSelectorException ; 27 28 public abstract String getName(); 29 30 public abstract int getPageSize(); 31 32 public abstract MBeanServer getServer(); 33 34 public abstract ObjectName getServerPeer(); 35 36 public abstract boolean isCreatedProgrammatically(); 37 38 public abstract List listMessagesDurableSub(String arg0, String arg1, 39 String arg2) throws Exception ; 40 41 public abstract List listMessagesNonDurableSub(long arg0, String arg1) 42 throws Exception ; 43 44 public abstract String listSubscriptionsAsText() throws Exception ; 45 46 public abstract String listSubscriptionsAsText(boolean arg0) 47 throws Exception ; 48 49 public abstract void removeAllMessages() throws Exception ; 50 51 public abstract void setDownCacheSize(int arg0); 52 53 public abstract void setFullSize(int arg0); 54 55 public abstract void setJNDIName(String arg0); 56 57 public abstract void setPageSize(int arg0); 58 59 public abstract void setSecurityConfig(Element arg0) throws Exception ; 60 61 public abstract void setSecurityConf(Element arg0) throws Exception ; 62 63 public abstract void setSecurityManager(ObjectName arg0); 64 65 public abstract void setServerPeer(ObjectName arg0); 66 67 public abstract void setDestinationManager(ObjectName arg0) throws Exception ; 68 69 72 public ObjectName getExpiryDestination(); 73 74 77 public void setExpiryDestination(ObjectName destination); 78 79 public abstract void start() throws Exception ; 80 81 public abstract void stop(); 82 83 public abstract int subscriptionCount() throws Exception ; 84 85 public abstract int subscriptionCount(boolean arg0) throws Exception ; 86 87 } | Popular Tags |