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 AddressManager
Exception
public Binding removeBinding(SimpleString uniqueName) throws Exception
removeBinding
in interface AddressManager
Exception
public Bindings getBindingsForRoutingAddress(SimpleString address) throws Exception
getBindingsForRoutingAddress
in interface AddressManager
Exception
public Binding getBinding(SimpleString bindableName)
getBinding
in interface AddressManager
public Map<SimpleString,Binding> getBindings()
getBindings
in interface AddressManager
public Bindings getMatchingBindings(SimpleString address) throws Exception
getMatchingBindings
in interface AddressManager
Exception
public void clear()
clear
in interface AddressManager
protected void removeBindingInternal(SimpleString address, SimpleString bindableName)
protected Binding removeMapping(SimpleString bindableName, Bindings bindings)
protected boolean addMappingInternal(SimpleString address, Binding binding) throws Exception
Exception
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.