|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.core.postoffice.impl.SimpleAddressManager
org.jboss.messaging.core.postoffice.impl.WildcardAddressManager
public class WildcardAddressManager
extends the simple manager to allow wildcard addresses to be used.
Constructor Summary | |
---|---|
WildcardAddressManager()
|
Method Summary | |
---|---|
boolean |
addBinding(Binding binding)
If the address to add the binding to contains a wildcard then a copy of the binding (with the same underlying queue) will be added to the actual mappings. |
void |
clear()
|
Bindings |
getBindingsForRoutingAddress(SimpleString address)
|
Binding |
removeBinding(SimpleString uniqueName)
If the address is a wild card then the binding will be removed from the actual mappings for any linked address. |
Methods inherited from class org.jboss.messaging.core.postoffice.impl.SimpleAddressManager |
---|
addMappingInternal, getBinding, getBindings, getMatchingBindings, removeBindingInternal, removeMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WildcardAddressManager()
Method Detail |
---|
public Bindings getBindingsForRoutingAddress(SimpleString address)
getBindingsForRoutingAddress
in interface AddressManager
getBindingsForRoutingAddress
in class SimpleAddressManager
public boolean addBinding(Binding binding)
addBinding
in interface AddressManager
addBinding
in class SimpleAddressManager
binding
- the binding to add
public Binding removeBinding(SimpleString uniqueName)
removeBinding
in interface AddressManager
removeBinding
in class SimpleAddressManager
uniqueName
- the name of the binding to remove
public void clear()
clear
in interface AddressManager
clear
in class SimpleAddressManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |