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


Field Summary
static String CXF_JAXRS_PREFIX
           
static String PROVIDERS_KEY
           
 
Constructor Summary
CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory)
           
 
Method Summary
 void deployEJB(String fullContext, org.apache.openejb.BeanContext beanContext, Collection<Object> additionalProviders, org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
           
 void deployPojo(String fullContext, Class<?> loadedClazz, javax.ws.rs.core.Application app, Collection<org.apache.openejb.Injection> injections, Context context, org.apache.webbeans.config.WebBeansContext owbCtx, Collection<Object> additionalProviders, org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
           
 void deploySingleton(String fullContext, Object o, javax.ws.rs.core.Application appInstance, Collection<Object> additionalProviders, org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
           
 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

CXF_JAXRS_PREFIX

public static final String CXF_JAXRS_PREFIX
See Also:
Constant Field Values

PROVIDERS_KEY

public static final String 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,
                            Collection<Object> additionalProviders,
                            org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
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,
                       org.apache.webbeans.config.WebBeansContext owbCtx,
                       Collection<Object> additionalProviders,
                       org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
Specified by:
deployPojo in interface RsHttpListener

deployEJB

public void deployEJB(String fullContext,
                      org.apache.openejb.BeanContext beanContext,
                      Collection<Object> additionalProviders,
                      org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
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.