Package org.apache.cxf.jaxrs
Class JAXRSBindingFactory
java.lang.Object
org.apache.cxf.binding.AbstractBindingFactory
org.apache.cxf.jaxrs.JAXRSBindingFactory
- All Implemented Interfaces:
BindingFactory
The CXF BindingFactory implementation which is used to register
CXF JAX-RS interceptors with the runtime.
-
Field Summary
FieldsFields inherited from class org.apache.cxf.binding.AbstractBindingFactory
activationNamespaces, bus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Destination d, Endpoint e) Set the destination's message observer which is created by using the endpoint to listen the incoming messageCreate a Binding from the BindingInfo metadata.createBindingInfo(Service service, String namespace, Object obj) Creates a "default" BindingInfo object for the service.Methods inherited from class org.apache.cxf.binding.AbstractBindingFactory
createBindingInfo, getActivationNamespaces, getBus, setActivationNamespaces, setBus
-
Field Details
-
JAXRS_BINDING_ID
- See Also:
-
-
Constructor Details
-
JAXRSBindingFactory
public JAXRSBindingFactory() -
JAXRSBindingFactory
-
-
Method Details
-
createBinding
Description copied from interface:BindingFactoryCreate a Binding from the BindingInfo metadata.- Returns:
- the Binding object
-
createBindingInfo
Description copied from class:AbstractBindingFactoryCreates a "default" BindingInfo object for the service. Can return a subclass which can then process the extensors within the subclass. By default, just creates it for the first ServiceInfo in the service- Specified by:
createBindingInfoin interfaceBindingFactory- Overrides:
createBindingInfoin classAbstractBindingFactoryobj- - binding specific configuration object- Returns:
- the BindingInfo object
-
addListener
Description copied from interface:BindingFactorySet the destination's message observer which is created by using the endpoint to listen the incoming message- Specified by:
addListenerin interfaceBindingFactory- Overrides:
addListenerin classAbstractBindingFactory- Parameters:
d- the destination that will be set the MessageObservere- the endpoint to build up the MessageObserver
-