1 23 package org.objectweb.joram.client.jms; 24 25 import org.objectweb.joram.client.jms.admin.AdminException; 26 import org.objectweb.joram.client.jms.admin.DeadMQueue; 27 28 import java.net.ConnectException ; 29 import java.util.List ; 30 import java.util.Hashtable ; 31 import javax.jms.JMSException ; 32 33 public interface DestinationMBean { 34 35 public String getName(); 36 public String getAdminName(); 37 public String getType(); 38 39 42 public boolean isQueue(); 43 44 47 public void delete() 48 throws ConnectException , AdminException, JMSException ; 49 50 public void addReader(String proxyId) 51 throws ConnectException , AdminException; 52 53 public void addWriter(String proxyId) 54 throws ConnectException , AdminException; 55 56 public void removeReader(String proxyId) 57 throws ConnectException , AdminException; 58 59 public void removeWriter(String proxyId) 60 throws ConnectException , AdminException; 61 62 63 68 public List getReaderList() 69 throws ConnectException , AdminException; 70 71 76 public List getWriterList() 77 throws ConnectException , AdminException; 78 79 83 public boolean isFreelyReadable() 84 throws ConnectException , AdminException; 85 86 90 public boolean isFreelyWriteable() 91 throws ConnectException , AdminException; 92 93 96 public void setFreelyReadable(boolean b) 97 throws ConnectException , AdminException; 98 99 102 public void setFreelyWriteable(boolean b) 103 throws ConnectException , AdminException; 104 105 109 public DeadMQueue getDMQ() 110 throws ConnectException , AdminException; 111 112 116 public void setDMQ(DeadMQueue dmq) 117 throws ConnectException , AdminException; 118 119 public Hashtable getStatistic() 120 throws ConnectException , AdminException; 121 } 122 | Popular Tags |