public abstract class AbstractBindingFactory extends Object implements BindingFactory
Modifier and Type | Field and Description |
---|---|
protected Collection<String> |
activationNamespaces |
protected Bus |
bus |
Constructor and Description |
---|
AbstractBindingFactory() |
AbstractBindingFactory(Bus b) |
AbstractBindingFactory(Bus b,
Collection<String> ns) |
AbstractBindingFactory(Collection<String> ns) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Destination d,
Endpoint e)
Set the destination's message observer which is created by using the endpoint to
listen the incoming message
|
BindingInfo |
createBindingInfo(ServiceInfo service,
String namespace,
Object config)
Creates a "default" BindingInfo object for the service.
|
BindingInfo |
createBindingInfo(Service service,
String namespace,
Object config)
Creates a "default" BindingInfo object for the service.
|
Collection<String> |
getActivationNamespaces() |
Bus |
getBus() |
void |
setActivationNamespaces(Collection<String> activationNamespaces) |
void |
setBus(Bus bus) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBinding
protected Collection<String> activationNamespaces
protected Bus bus
public AbstractBindingFactory()
public AbstractBindingFactory(Collection<String> ns)
public AbstractBindingFactory(Bus b)
public AbstractBindingFactory(Bus b, Collection<String> ns)
public BindingInfo createBindingInfo(ServiceInfo service, String namespace, Object config)
public BindingInfo createBindingInfo(Service service, String namespace, Object config)
createBindingInfo
in interface BindingFactory
config
- - binding specific configuration objectpublic void addListener(Destination d, Endpoint e)
BindingFactory
addListener
in interface BindingFactory
d
- the destination that will be set the MessageObservere
- the endpoint to build up the MessageObserverpublic Bus getBus()
public void setBus(Bus bus)
public Collection<String> getActivationNamespaces()
public void setActivationNamespaces(Collection<String> activationNamespaces)
Copyright © 2021 JBoss by Red Hat. All rights reserved.