org.apache.activemq.web
Class LocalBrokerFacade

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

public class LocalBrokerFacade
extends BrokerFacadeSupport

An implementation of BrokerFacade which uses a local in JVM broker

Version:
$Revision: 569067 $

Constructor Summary
LocalBrokerFacade(BrokerService brokerService)
           
 
Method Summary
 Broker getBroker()
           
 BrokerViewMBean getBrokerAdmin()
           
 BrokerService getBrokerService()
           
 ManagedRegionBroker getManagedBroker()
           
 ManagementContext getManagementContext()
           
 void purgeQueue(ActiveMQDestination destination)
          Purges the given destination
 
Methods inherited from class org.apache.activemq.web.BrokerFacadeSupport
getDestinationByName, getDurableTopicSubscribers, getManagedObjects, getQueue, getQueues, getTopic, getTopics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalBrokerFacade

public LocalBrokerFacade(BrokerService brokerService)
Method Detail

getBrokerService

public BrokerService getBrokerService()

getBroker

public Broker getBroker()
                 throws Exception
Throws:
Exception

getManagementContext

public ManagementContext getManagementContext()
Specified by:
getManagementContext in class BrokerFacadeSupport

getBrokerAdmin

public BrokerViewMBean getBrokerAdmin()
                               throws Exception
Throws:
Exception

getManagedBroker

public ManagedRegionBroker getManagedBroker()
                                     throws Exception
Throws:
Exception

purgeQueue

public void purgeQueue(ActiveMQDestination destination)
                throws Exception
Description copied from interface: BrokerFacade
Purges the given destination

Throws:
Exception


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