1 7 package org.jboss.jms.server.standard; 8 9 import org.jboss.jms.server.BrowserEndpoint; 10 import org.jboss.jms.server.BrowserEndpointFactory; 11 import org.jboss.jms.server.list.MessageList; 12 13 19 public class QueueBrowserEndpointFactory 20 implements BrowserEndpointFactory 21 { 22 24 26 27 private MessageList list; 28 29 30 private String selector; 31 32 34 36 public QueueBrowserEndpointFactory(MessageList list, String selector) 37 { 38 this.list = list; 39 this.selector = selector; 40 } 41 42 44 46 public BrowserEndpoint getBrowserEndpoint() 47 { 48 return new QueueBrowserEndpoint(list, selector); 49 } 50 51 53 55 57 59 } 60 | Popular Tags |