org.apache.activemq.filter
Class DestinationMapEntry<T>

java.lang.Object
  extended by org.apache.activemq.filter.DestinationMapEntry<T>
All Implemented Interfaces:
Comparable<T>
Direct Known Subclasses:
AuthorizationEntry, DefaultDestinationMapEntry, FilteredKahaDBPersistenceAdapter, PolicyEntry, RedeliveryPolicy

public abstract class DestinationMapEntry<T>
extends Object
implements Comparable<T>

A base class for entry objects used to construct a destination based policy map.


Field Summary
protected  ActiveMQDestination destination
           
 
Constructor Summary
DestinationMapEntry()
           
 
Method Summary
 int compareTo(Object that)
           
 ActiveMQDestination getDestination()
           
 Comparable<T> getValue()
           
 void setDestination(ActiveMQDestination destination)
           
 void setQueue(String name)
          A helper method to set the destination from a configuration file
 void setTempQueue(boolean flag)
           
 void setTempTopic(boolean flag)
           
 void setTopic(String name)
          A helper method to set the destination from a configuration file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

protected ActiveMQDestination destination
Constructor Detail

DestinationMapEntry

public DestinationMapEntry()
Method Detail

compareTo

public int compareTo(Object that)
Specified by:
compareTo in interface Comparable<T>

setQueue

public void setQueue(String name)
A helper method to set the destination from a configuration file


setTopic

public void setTopic(String name)
A helper method to set the destination from a configuration file


setTempTopic

public void setTempTopic(boolean flag)

setTempQueue

public void setTempQueue(boolean flag)

getDestination

public ActiveMQDestination getDestination()

setDestination

public void setDestination(ActiveMQDestination destination)

getValue

public Comparable<T> getValue()


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.