KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > mq > server > jmx > TopicMBean


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

72    public ObjectName JavaDoc getExpiryDestination();
73
74    /**
75     * Sets the expiry destination.
76     */

77    public void setExpiryDestination(ObjectName JavaDoc destination);
78
79    public abstract void start() throws Exception JavaDoc;
80
81    public abstract void stop();
82
83    public abstract int subscriptionCount() throws Exception JavaDoc;
84
85    public abstract int subscriptionCount(boolean arg0) throws Exception JavaDoc;
86
87 }
Popular Tags