org.apache.cxf.jaxrs
Class JAXRSBindingFactory
java.lang.Object
org.apache.cxf.binding.AbstractBaseBindingFactory
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXRS_BINDING_ID
public static final String JAXRS_BINDING_ID
- See Also:
- Constant Field Values
JAXRSBindingFactory
public JAXRSBindingFactory()
JAXRSBindingFactory
public JAXRSBindingFactory(Bus b)
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