public abstract class AbstractTempRegion extends AbstractRegion
autoCreateDestinations, broker, consumerChangeMutexMap, destinationFactory, destinationMap, destinations, destinationsLock, destinationStatistics, started, subscriptions, taskRunnerFactory, usageManager
Constructor and Description |
---|
AbstractTempRegion(RegionBroker broker,
DestinationStatistics destinationStatistics,
SystemUsage memoryManager,
TaskRunnerFactory taskRunnerFactory,
DestinationFactory destinationFactory) |
Modifier and Type | Method and Description |
---|---|
protected Destination |
createDestination(ConnectionContext context,
ActiveMQDestination destination) |
protected void |
dispose(ConnectionContext context,
Destination dest) |
protected abstract Destination |
doCreateDestination(ConnectionContext context,
ActiveMQDestination destination) |
void |
stop() |
acknowledge, addConsumer, addDestination, addProducer, addSubscriptionsForDestination, createSubscription, destroySubscription, gc, getDestinationMap, getDestinations, getDurableDestinations, getInactiveDestinations, getSubscriptions, isAutoCreateDestinations, lookup, messagePull, processConsumerControl, processDispatchNotification, processDispatchNotificationViaDestination, removeConsumer, removeDestination, removeProducer, removeSubscription, send, setAutoCreateDestinations, start
public AbstractTempRegion(RegionBroker broker, DestinationStatistics destinationStatistics, SystemUsage memoryManager, TaskRunnerFactory taskRunnerFactory, DestinationFactory destinationFactory)
broker
- destinationStatistics
- memoryManager
- taskRunnerFactory
- destinationFactory
- public void stop() throws Exception
stop
in interface Service
stop
in class AbstractRegion
Exception
protected abstract Destination doCreateDestination(ConnectionContext context, ActiveMQDestination destination) throws Exception
Exception
protected Destination createDestination(ConnectionContext context, ActiveMQDestination destination) throws Exception
createDestination
in class AbstractRegion
Exception
protected final void dispose(ConnectionContext context, Destination dest) throws Exception
dispose
in class AbstractRegion
Exception
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.