|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.filter.DestinationMap
org.apache.activemq.broker.region.policy.PolicyMap
public class PolicyMap
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 | |
|---|---|
PolicyMap()
|
|
| Method Summary | |
|---|---|
PolicyEntry |
getDefaultEntry()
|
protected java.lang.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(java.util.List entries)
Sets the individual entries on the policy map |
| Methods inherited from class org.apache.activemq.filter.DestinationMap |
|---|
chooseValue, findWildcardMatches, get, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, put, remove, removeAll, reset, setEntries, union |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyMap()
| Method Detail |
|---|
public PolicyEntry getEntryFor(ActiveMQDestination destination)
public void setPolicyEntries(java.util.List entries)
public PolicyEntry getDefaultEntry()
public void setDefaultEntry(PolicyEntry defaultEntry)
protected java.lang.Class<? extends DestinationMapEntry> getEntryClass()
DestinationMapDestinationMap.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||