Class PolicyMap

java.lang.Object
org.apache.activemq.filter.DestinationMap
org.apache.activemq.broker.region.policy.PolicyMap

public class PolicyMap extends org.apache.activemq.filter.DestinationMap
Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies.
  • Field Summary

    Fields inherited from class org.apache.activemq.filter.DestinationMap

    ANY_CHILD, ANY_DESCENDENT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected Class<? extends org.apache.activemq.filter.DestinationMapEntry>
     
    getEntryFor(org.apache.activemq.command.ActiveMQDestination destination)
     
    void
     
    void
    Sets the individual entries on the policy map

    Methods inherited from class org.apache.activemq.filter.DestinationMap

    chooseValue, findWildcardMatches, findWildcardMatches, get, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, isEmpty, put, remove, removeAll, reset, setEntries, union, unsynchronizedGet, unsynchronizedPut, unsynchronizedRemove

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PolicyMap

      public PolicyMap()
  • Method Details

    • getEntryFor

      public PolicyEntry getEntryFor(org.apache.activemq.command.ActiveMQDestination destination)
    • setPolicyEntries

      public void setPolicyEntries(List entries)
      Sets the individual entries on the policy map
    • getDefaultEntry

      public PolicyEntry getDefaultEntry()
    • setDefaultEntry

      public void setDefaultEntry(PolicyEntry defaultEntry)
    • getEntryClass

      protected Class<? extends org.apache.activemq.filter.DestinationMapEntry> getEntryClass()
      Overrides:
      getEntryClass in class org.apache.activemq.filter.DestinationMap