Apache CXF API

org.apache.cxf.jaxrs
Class JAXRSBindingFactory

java.lang.Object
  extended by org.apache.cxf.binding.AbstractBaseBindingFactory
      extended by org.apache.cxf.jaxrs.JAXRSBindingFactory
All Implemented Interfaces:
BindingFactory

public class JAXRSBindingFactory
extends AbstractBaseBindingFactory

The CXF BindingFactory implementation which is used to register CXF JAX-RS interceptors with the runtime.


Field Summary
static String JAXRS_BINDING_ID
           
 
Fields inherited from class org.apache.cxf.binding.AbstractBaseBindingFactory
activationNamespaces, bus
 
Constructor Summary
JAXRSBindingFactory()
           
JAXRSBindingFactory(Bus b)
           
 
Method Summary
 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.
 
Methods inherited from class org.apache.cxf.binding.AbstractBaseBindingFactory
addListener, createBindingInfo, getActivationNamespaces, getBus, setActivationNamespaces, setBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXRS_BINDING_ID

public static final String JAXRS_BINDING_ID
See Also:
Constant Field Values
Constructor Detail

JAXRSBindingFactory

public JAXRSBindingFactory()

JAXRSBindingFactory

public JAXRSBindingFactory(Bus b)
Method Detail

createBinding

public Binding createBinding(BindingInfo bi)
Description copied from interface: BindingFactory
Create a Binding from the BindingInfo metadata.

Returns:
the Binding object

createBindingInfo

public BindingInfo createBindingInfo(Service service,
                                     String namespace,
                                     Object obj)
Description copied from class: AbstractBaseBindingFactory
Creates 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:
createBindingInfo in interface BindingFactory
Overrides:
createBindingInfo in class AbstractBaseBindingFactory
obj - - binding specific configuration object
Returns:
the BindingInfo object

Apache CXF API

Apache CXF