org.apache.activemq.filter
Class DestinationMapEntry

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

public abstract class DestinationMapEntry
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, java.lang.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(java.lang.Object that)
           
 ActiveMQDestination getDestination()
           
 java.lang.Object getValue()
           
 void setDestination(ActiveMQDestination destination)
           
 void setQueue(java.lang.String name)
          A helper method to set the destination from a configuration file
 void setTopic(java.lang.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(java.lang.Object that)
Specified by:
compareTo in interface java.lang.Comparable

setQueue

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


setTopic

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


getDestination

public ActiveMQDestination getDestination()

setDestination

public void setDestination(ActiveMQDestination destination)

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getValue

public java.lang.Object getValue()


Copyright © 2011 Apache Software Foundation. All Rights Reserved.