org.apache.activemq.web
Class QueueBrowseQuery

java.lang.Object
  extended by org.apache.activemq.web.DestinationFacade
      extended by org.apache.activemq.web.QueueBrowseQuery
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
Direct Known Subclasses:
MessageQuery

public class QueueBrowseQuery
extends DestinationFacade
implements org.springframework.beans.factory.DisposableBean


Constructor Summary
QueueBrowseQuery(BrokerFacade brokerFacade, SessionPool sessionPool)
           
 
Method Summary
protected  QueueBrowser createBrowser()
           
 void destroy()
           
 QueueBrowser getBrowser()
           
 Queue getQueue()
           
 String getSelector()
           
 Session getSession()
           
 boolean isQueue()
           
 void setBrowser(QueueBrowser browser)
           
 void setQueue(Queue queue)
           
 void setSelector(String selector)
           
 
Methods inherited from class org.apache.activemq.web.DestinationFacade
addDestination, createDestination, getBrokerAdmin, getBrokerFacade, getJMSDestination, getJMSDestinationType, getPhysicalDestinationName, getQueueView, getSupportedHttpMethods, getValidDestination, redirectToBrowseView, redirectToRequest, removeDestination, setJMSDestination, setJMSDestinationType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueBrowseQuery

public QueueBrowseQuery(BrokerFacade brokerFacade,
                        SessionPool sessionPool)
                 throws JMSException
Throws:
JMSException
Method Detail

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

getBrowser

public QueueBrowser getBrowser()
                        throws JMSException
Throws:
JMSException

setBrowser

public void setBrowser(QueueBrowser browser)

getQueue

public Queue getQueue()
               throws JMSException
Throws:
JMSException

setQueue

public void setQueue(Queue queue)

getSelector

public String getSelector()

setSelector

public void setSelector(String selector)

getSession

public Session getSession()

isQueue

public boolean isQueue()
Overrides:
isQueue in class DestinationFacade

createBrowser

protected QueueBrowser createBrowser()
                              throws JMSException
Throws:
JMSException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.