1 18 package org.apache.activemq.broker.region; 19 20 import java.io.IOException ; 21 import java.util.Set ; 22 23 import org.apache.activemq.broker.ConnectionContext; 24 import org.apache.activemq.command.ActiveMQDestination; 25 import org.apache.activemq.command.ActiveMQTopic; 26 import org.apache.activemq.command.SubscriptionInfo; 27 28 34 public abstract class DestinationFactory { 35 36 39 abstract public Destination createDestination(ConnectionContext context, ActiveMQDestination destination, DestinationStatistics destinationStatistics) throws Exception ; 40 41 45 abstract public Set getDestinations(); 46 47 50 abstract public SubscriptionInfo[] getAllDurableSubscriptions(ActiveMQTopic topic) throws IOException ; 51 52 53 abstract public long getLastMessageBrokerSequenceId() throws IOException ; 54 55 abstract public void setRegionBroker(RegionBroker regionBroker); 56 } 57 | Popular Tags |