public class PolicyMap extends DestinationMap
ANY_CHILD, ANY_DESCENDENT
Constructor and Description |
---|
PolicyMap() |
Modifier and Type | Method and Description |
---|---|
PolicyEntry |
getDefaultEntry() |
protected Class<? extends DestinationMapEntry> |
getEntryClass()
Returns the type of the allowed entries which can be set via the
DestinationMap.setEntries(List) method. |
PolicyEntry |
getEntryFor(ActiveMQDestination destination) |
void |
setDefaultEntry(PolicyEntry defaultEntry) |
void |
setPolicyEntries(List entries)
Sets the individual entries on the policy map
|
chooseValue, findWildcardMatches, findWildcardMatches, get, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, isEmpty, put, remove, removeAll, reset, setEntries, union
public PolicyMap()
public PolicyEntry getEntryFor(ActiveMQDestination destination)
public void setPolicyEntries(List entries)
public PolicyEntry getDefaultEntry()
public void setDefaultEntry(PolicyEntry defaultEntry)
protected Class<? extends DestinationMapEntry> getEntryClass()
DestinationMap
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.getEntryClass
in class DestinationMap
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.