1 22 package org.jboss.mq.server.jmx; 23 24 import javax.management.ObjectName ; 25 import org.jboss.system.ServiceMBean; 26 import org.jboss.mq.MessageStatistics; 27 import org.jboss.mq.server.MessageCounter; 28 29 36 public interface DestinationMBean extends ServiceMBean 37 { 38 42 void removeAllMessages() throws Exception ; 43 44 48 ObjectName getDestinationManager(); 49 50 54 void setDestinationManager(ObjectName jbossMQService); 55 56 60 void setJNDIName(String name) throws Exception ; 61 62 66 String getJNDIName(); 67 68 71 void setSecurityConf(org.w3c.dom.Element securityConf) throws Exception ; 73 74 77 public void setSecurityManager(ObjectName securityManager); 78 79 82 public MessageCounter[] getMessageCounter(); 83 84 87 public MessageStatistics[] getMessageStatistics() throws Exception ; 88 89 93 public String listMessageCounter(); 94 95 98 public void resetMessageCounter(); 99 100 104 public String listMessageCounterHistory(); 105 106 109 public void resetMessageCounterHistory(); 110 111 117 public void setMessageCounterHistoryDayLimit( int days ); 118 119 123 public int getMessageCounterHistoryDayLimit(); 124 125 130 public int getMaxDepth(); 131 132 136 public void setMaxDepth(int depth); 137 138 142 public boolean getInMemory(); 143 144 148 public void setInMemory(boolean mode); 149 150 154 public int getRedeliveryLimit(); 155 156 159 public void setRedeliveryLimit(int limit); 160 161 165 public long getRedeliveryDelay(); 166 167 170 public void setRedeliveryDelay(long rDelay); 171 172 175 public Class getReceiversImpl(); 176 177 180 public void setReceiversImpl(Class receivers); 181 182 185 public int getRecoveryRetries(); 186 187 190 public void setRecoveryRetries(int retries); 191 192 195 public ObjectName getExpiryDestination(); 196 197 200 public void setExpiryDestination(ObjectName destination); 201 202 } 203 | Popular Tags |