1 22 package org.jboss.mq.server.jmx; 23 24 import java.util.List ; 25 26 import javax.management.ObjectName ; 27 28 import org.w3c.dom.Element ; 29 30 public interface QueueMBean 31 { 32 33 public void create() throws Exception ; 34 35 public void destroy(); 36 37 public int getDownCacheSize(); 38 39 public int getFullSize(); 40 41 public String getJNDIName(); 42 43 public int getMessageCount() throws Exception ; 44 45 public String getName(); 46 47 public int getPageSize(); 48 49 public ObjectName getServerPeer(); 50 51 public boolean isCreatedProgrammatically(); 52 53 public List listMessages(String arg0) throws Exception ; 54 55 public void removeAllMessages() throws Exception ; 56 57 public void setDownCacheSize(int arg0); 58 59 public void setFullSize(int arg0); 60 61 public void setJNDIName(String arg0); 62 63 public void setPageSize(int arg0); 64 65 public void setSecurityConfig(Element arg0) throws Exception ; 66 public void setSecurityConf(Element arg0) throws Exception ; 67 public void setSecurityManager(ObjectName arg0); 68 69 public void setServerPeer(ObjectName arg0); 70 public void setDestinationManager(ObjectName arg0) throws Exception ; 71 72 75 public ObjectName getExpiryDestination(); 76 77 80 public void setExpiryDestination(ObjectName destination); 81 82 public void setMessageCounterHistoryDayLimit(int arg0); 83 84 public void start() throws Exception ; 85 86 public void stop(); 87 88 } | Popular Tags |