1 23 package org.objectweb.joram.client.jms.admin; 24 25 import org.objectweb.joram.client.jms.Message; 26 import org.objectweb.joram.client.jms.admin.Subscription; 27 import java.net.ConnectException ; 28 import java.util.List ; 29 import javax.jms.JMSException ; 30 31 public interface UserMBean { 32 33 34 public String toString(); 35 36 37 public String getName(); 38 39 42 public void delete() 43 throws ConnectException , AdminException; 44 45 48 public void setDMQ(DeadMQueue dmq) 49 throws ConnectException , AdminException; 50 51 54 public void setThreshold(int thresh) 55 throws ConnectException , AdminException; 56 57 public void setNbMaxMsg(String subName, int nbMaxMsg) 58 throws ConnectException , AdminException; 59 60 public int getNbMaxMsg(String subName) 61 throws ConnectException , AdminException; 62 63 66 public DeadMQueue getDMQ() 67 throws ConnectException , AdminException; 68 69 72 public int getThreshold() 73 throws ConnectException , AdminException; 74 75 78 public List getSubscriptionList() 79 throws ConnectException , AdminException; 80 81 public Subscription[] getSubscriptions() 82 throws AdminException, ConnectException ; 83 84 87 public String getSubscriptionString(String subName) 88 throws ConnectException , AdminException; 89 90 public Subscription getSubscription(String subName) 91 throws AdminException, ConnectException ; 92 93 public String [] getMessageIds(String subName) 94 throws ConnectException , AdminException; 95 96 public Message readMessage(String subName, String msgId) 97 throws AdminException, ConnectException , JMSException ; 98 99 public void deleteMessage(String subName, String msgId) 100 throws AdminException, ConnectException ; 101 102 public void clearSubscription(String subName) 103 throws AdminException, ConnectException ; 104 105 106 107 public String getProxyId(); 108 } 109 | Popular Tags |