org.apache.openejb.server.cxf.rs
Class CxfRsHttpListener

java.lang.Object
  extended by org.apache.openejb.server.cxf.rs.CxfRsHttpListener
All Implemented Interfaces:
HttpListener, RsHttpListener

public class CxfRsHttpListener
extends Object
implements RsHttpListener

System property:

Note: default means jaxb and json


Field Summary
static String DEFAULT_CXF_JAXRS_PROVIDERS_KEY
           
static String OPENEJB_CXF_JAXRS_PROVIDERS_KEY
           
static String OPENEJB_CXF_JAXRS_PROVIDERS_SUFFIX
           
 
Constructor Summary
CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory)
           
 
Method Summary
 void deployEJB(String fullContext, org.apache.openejb.BeanContext beanContext)
           
 void deployPojo(String fullContext, Class<?> loadedClazz, javax.ws.rs.core.Application app, Collection<org.apache.openejb.Injection> injections, Context context)
           
 void deploySingleton(String fullContext, Object o, javax.ws.rs.core.Application appInstance)
           
 void onMessage(HttpRequest httpRequest, HttpResponse httpResponse)
           
 void undeploy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CxfRsHttpListener

public CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory)
Method Detail

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.