Package org.apache.activemq.filter
Class DestinationMapEntry<T>
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected ActiveMQDestination
destination
-
Constructor Summary
Constructors Constructor Description DestinationMapEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 filevoid
setTempQueue(boolean flag)
void
setTempTopic(boolean flag)
void
setTopic(String name)
A helper method to set the destination from a configuration file
-
-
-
Field Detail
-
destination
protected ActiveMQDestination destination
-
-
Method Detail
-
compareTo
public int compareTo(Object that)
- Specified by:
compareTo
in interfaceComparable<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()
-
-