public class SimpleAddressManager extends Object implements AddressManager
| Constructor and Description |
|---|
SimpleAddressManager(BindingsFactory bindingsFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addBinding(Binding binding) |
protected boolean |
addMappingInternal(SimpleString address,
Binding binding) |
void |
clear() |
Binding |
getBinding(SimpleString bindableName) |
Map<SimpleString,Binding> |
getBindings() |
Bindings |
getBindingsForRoutingAddress(SimpleString address) |
Bindings |
getMatchingBindings(SimpleString address) |
Binding |
removeBinding(SimpleString uniqueName) |
protected void |
removeBindingInternal(SimpleString address,
SimpleString bindableName) |
protected Binding |
removeMapping(SimpleString bindableName,
Bindings bindings) |
public SimpleAddressManager(BindingsFactory bindingsFactory)
public boolean addBinding(Binding binding) throws Exception
addBinding in interface AddressManagerExceptionpublic Binding removeBinding(SimpleString uniqueName) throws Exception
removeBinding in interface AddressManagerExceptionpublic Bindings getBindingsForRoutingAddress(SimpleString address) throws Exception
getBindingsForRoutingAddress in interface AddressManagerExceptionpublic Binding getBinding(SimpleString bindableName)
getBinding in interface AddressManagerpublic Map<SimpleString,Binding> getBindings()
getBindings in interface AddressManagerpublic Bindings getMatchingBindings(SimpleString address) throws Exception
getMatchingBindings in interface AddressManagerExceptionpublic void clear()
clear in interface AddressManagerprotected void removeBindingInternal(SimpleString address, SimpleString bindableName)
protected Binding removeMapping(SimpleString bindableName, Bindings bindings)
protected boolean addMappingInternal(SimpleString address, Binding binding) throws Exception
ExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.