org.jboss.messaging.core.postoffice.impl
Class SimpleAddressManager
java.lang.Object
org.jboss.messaging.core.postoffice.impl.SimpleAddressManager
- All Implemented Interfaces:
- AddressManager
- Direct Known Subclasses:
- WildcardAddressManager
public class SimpleAddressManager
- extends java.lang.Object
- implements AddressManager
A simple address manager that maintains the addresses and bindings.
- Author:
- Tim Fox, Jeff Mesnil, Andy Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAddressManager
public SimpleAddressManager()
addBinding
public boolean addBinding(Binding binding)
- Specified by:
addBinding
in interface AddressManager
removeBinding
public Binding removeBinding(SimpleString uniqueName)
- Specified by:
removeBinding
in interface AddressManager
getBindingsForRoutingAddress
public Bindings getBindingsForRoutingAddress(SimpleString address)
- Specified by:
getBindingsForRoutingAddress
in interface AddressManager
getBinding
public Binding getBinding(SimpleString bindableName)
- Specified by:
getBinding
in interface AddressManager
getBindings
public java.util.Map<SimpleString,Binding> getBindings()
- Specified by:
getBindings
in interface AddressManager
getMatchingBindings
public Bindings getMatchingBindings(SimpleString address)
- Specified by:
getMatchingBindings
in interface AddressManager
clear
public void clear()
- Specified by:
clear
in interface AddressManager
removeBindingInternal
protected void removeBindingInternal(SimpleString address,
SimpleString bindableName)
removeMapping
protected Binding removeMapping(SimpleString bindableName,
Bindings bindings)
addMappingInternal
protected boolean addMappingInternal(SimpleString address,
Binding binding)
Copyright © 2006 JBoss Inc. All Rights Reserved.