org.apache.cxf.jaxrs
Class JAXRSBindingFactory
java.lang.Object
org.apache.cxf.binding.AbstractBindingFactory
org.apache.cxf.jaxrs.JAXRSBindingFactory
- All Implemented Interfaces:
- BindingFactory
public class JAXRSBindingFactory
- extends AbstractBindingFactory
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:
AbstractBindingFactory
- 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 AbstractBindingFactory
obj
- - binding specific configuration object
- Returns:
- the BindingInfo object
addListener
public void addListener(Destination d,
Endpoint e)
- Description copied from interface:
BindingFactory
- Set the destination's message observer which is created by using the endpoint to
listen the incoming message
- Specified by:
addListener
in interface BindingFactory
- Overrides:
addListener
in class AbstractBindingFactory
- Parameters:
d
- the destination that will be set the MessageObservere
- the endpoint to build up the MessageObserver
Apache CXF