org.apache.activemq.broker.region.policy
Class PolicyMap
java.lang.Object
org.apache.activemq.filter.DestinationMap
org.apache.activemq.broker.region.policy.PolicyMap
public class PolicyMap
- extends DestinationMap
Represents a destination based configuration of policies so that individual
destinations or wildcard hierarchies of destinations can be configured using
different policies.
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.activemq.filter.DestinationMap |
chooseValue, findWildcardMatches, get, getQueueRootChildCount, getQueueRootNode, getRootNode, getTopicRootChildCount, getTopicRootNode, put, remove, removeAll, setEntries |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyMap
public PolicyMap()
getEntryFor
public PolicyEntry getEntryFor(ActiveMQDestination destination)
setPolicyEntries
public void setPolicyEntries(java.util.List entries)
- Sets the individual entries on the policy map
getDefaultEntry
public PolicyEntry getDefaultEntry()
setDefaultEntry
public void setDefaultEntry(PolicyEntry defaultEntry)
getEntryClass
protected java.lang.Class getEntryClass()
- Description copied from class:
DestinationMap
- Returns the type of the allowed entries which can be set via the
DestinationMap.setEntries(List)
method. This allows derived classes to further
restrict the type of allowed entries to make a type safe destination map
for custom policies.
- Overrides:
getEntryClass
in class DestinationMap
Copyright © 2011 Apache Software Foundation. All Rights Reserved.