KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > server > list > MessageList


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.jms.server.list;
8
9 import java.util.List JavaDoc;
10
11 import org.jboss.jms.server.MessageReference;
12
13 /**
14  * A list of messages
15  *
16  * @author <a HREF="mailto:adrian@jboss.org">Adrian Brock</a>
17  * @version * @version $Revision: 1.1 $
18  */

19 public interface MessageList
20 {
21    void add(MessageReference message) throws Exception JavaDoc;
22    
23    List JavaDoc browse(String JavaDoc selector) throws Exception JavaDoc;
24 }
Popular Tags