public class PolicyMap extends DestinationMap
ANY_CHILD, ANY_DESCENDENT
Constructor and Description |
---|
PolicyMap() |
Modifier and Type | Method and Description |
---|---|
PolicyEntry |
getDefaultEntry() |
protected java.lang.Class |
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(java.util.List entries)
Sets the individual entries on the policy map
|
chooseValue, findWildcardMatches, get, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, put, remove, removeAll, setEntries
public PolicyMap()
public PolicyEntry getEntryFor(ActiveMQDestination destination)
public void setPolicyEntries(java.util.List entries)
public PolicyEntry getDefaultEntry()
public void setDefaultEntry(PolicyEntry defaultEntry)
protected java.lang.Class 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-2012. All Rights Reserved.