org.apache.activemq.filter
Class DestinationMapEntry

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

public abstract class DestinationMapEntry
extends Object
implements Comparable

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

Version:
$Revision: 1.1 $

Constructor Summary
DestinationMapEntry()
           
 
Method Summary
 void afterPropertiesSet()
           
 int compareTo(Object that)
           
 ActiveMQDestination getDestination()
           
 Object getValue()
           
 void setDestination(ActiveMQDestination destination)
           
 void setQueue(String name)
          A helper method to set the destination from a configuration file
 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
 

Constructor Detail

DestinationMapEntry

public DestinationMapEntry()
Method Detail

compareTo

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

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


getDestination

public ActiveMQDestination getDestination()

setDestination

public void setDestination(ActiveMQDestination destination)

afterPropertiesSet

@PostConstruct
public void afterPropertiesSet()
                        throws Exception
Throws:
Exception

getValue

public Object getValue()


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.