public class JAXRSBindingFactory extends AbstractBindingFactory
Modifier and Type | Field and Description |
---|---|
static String |
JAXRS_BINDING_ID |
activationNamespaces, bus
Constructor and Description |
---|
JAXRSBindingFactory() |
JAXRSBindingFactory(Bus b) |
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
|
Binding |
createBinding(BindingInfo bi)
Create a Binding from the BindingInfo metadata.
|
BindingInfo |
createBindingInfo(Service service,
String namespace,
Object obj)
Creates a "default" BindingInfo object for the service.
|
createBindingInfo, getActivationNamespaces, getBus, setActivationNamespaces, setBus
public static final String JAXRS_BINDING_ID
public JAXRSBindingFactory()
public JAXRSBindingFactory(Bus b)
public Binding createBinding(BindingInfo bi)
BindingFactory
public BindingInfo createBindingInfo(Service service, String namespace, Object obj)
AbstractBindingFactory
createBindingInfo
in interface BindingFactory
createBindingInfo
in class AbstractBindingFactory
obj
- - binding specific configuration objectpublic void addListener(Destination d, Endpoint e)
BindingFactory
addListener
in interface BindingFactory
addListener
in class AbstractBindingFactory
d
- the destination that will be set the MessageObservere
- the endpoint to build up the MessageObserverApache CXF