org.apache.openejb.server.cxf.rs
Class CxfRsHttpListener
java.lang.Object
org.apache.openejb.server.cxf.rs.CxfRsHttpListener
- All Implemented Interfaces:
- HttpListener, RsHttpListener
public class CxfRsHttpListener
- extends Object
- implements RsHttpListener
System property:
- -Dopenejb.cxf.jax-rs.providers=<qualified name>:default
Note: default means jaxb and json
|
Constructor Summary |
CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPENEJB_CXF_JAXRS_PROVIDERS_KEY
public static final String OPENEJB_CXF_JAXRS_PROVIDERS_KEY
- See Also:
- Constant Field Values
OPENEJB_CXF_JAXRS_PROVIDERS_SUFFIX
public static final String OPENEJB_CXF_JAXRS_PROVIDERS_SUFFIX
- See Also:
- Constant Field Values
DEFAULT_CXF_JAXRS_PROVIDERS_KEY
public static final String DEFAULT_CXF_JAXRS_PROVIDERS_KEY
- See Also:
- Constant Field Values
CxfRsHttpListener
public CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory)
onMessage
public void onMessage(HttpRequest httpRequest,
HttpResponse httpResponse)
throws Exception
- Specified by:
onMessage in interface HttpListener
- Throws:
Exception
deploySingleton
public void deploySingleton(String fullContext,
Object o,
javax.ws.rs.core.Application appInstance)
- Specified by:
deploySingleton in interface RsHttpListener
deployPojo
public void deployPojo(String fullContext,
Class<?> loadedClazz,
javax.ws.rs.core.Application app,
Collection<org.apache.openejb.Injection> injections,
Context context)
- Specified by:
deployPojo in interface RsHttpListener
deployEJB
public void deployEJB(String fullContext,
org.apache.openejb.BeanContext beanContext)
- Specified by:
deployEJB in interface RsHttpListener
undeploy
public void undeploy()
- Specified by:
undeploy in interface RsHttpListener
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.