org.apache.activemq.web
Class BrokerFacadeSupport

java.lang.Object
  extended by org.apache.activemq.web.BrokerFacadeSupport
All Implemented Interfaces:
BrokerFacade
Direct Known Subclasses:
LocalBrokerFacade, RemoteJMXBrokerFacade

public abstract class BrokerFacadeSupport
extends Object
implements BrokerFacade

A useful base class for an implementation of BrokerFacade

Version:
$Revision: 569067 $

Constructor Summary
BrokerFacadeSupport()
           
 
Method Summary
protected  DestinationViewMBean getDestinationByName(Collection<Object> collection, String name)
           
 Collection<Object> getDurableTopicSubscribers()
           
protected  Collection<Object> getManagedObjects(ObjectName[] names, Class type)
           
abstract  ManagementContext getManagementContext()
           
 QueueViewMBean getQueue(String name)
           
 Collection<Object> getQueues()
           
 TopicViewMBean getTopic(String name)
           
 Collection<Object> getTopics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.activemq.web.BrokerFacade
getBrokerAdmin, purgeQueue
 

Constructor Detail

BrokerFacadeSupport

public BrokerFacadeSupport()
Method Detail

getManagementContext

public abstract ManagementContext getManagementContext()

getQueues

public Collection<Object> getQueues()
                             throws Exception
Specified by:
getQueues in interface BrokerFacade
Throws:
Exception

getTopics

public Collection<Object> getTopics()
                             throws Exception
Specified by:
getTopics in interface BrokerFacade
Throws:
Exception

getDurableTopicSubscribers

public Collection<Object> getDurableTopicSubscribers()
                                              throws Exception
Specified by:
getDurableTopicSubscribers in interface BrokerFacade
Throws:
Exception

getQueue

public QueueViewMBean getQueue(String name)
                        throws Exception
Specified by:
getQueue in interface BrokerFacade
Throws:
Exception

getTopic

public TopicViewMBean getTopic(String name)
                        throws Exception
Specified by:
getTopic in interface BrokerFacade
Throws:
Exception

getDestinationByName

protected DestinationViewMBean getDestinationByName(Collection<Object> collection,
                                                    String name)

getManagedObjects

protected Collection<Object> getManagedObjects(ObjectName[] names,
                                               Class type)


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.