public class CxfRsHttpListener extends Object implements RsHttpListener
| Modifier and Type | Class and Description |
|---|---|
class |
CxfRsHttpListener.RestServiceMBean |
| Modifier and Type | Field and Description |
|---|---|
static String |
CXF_JAXRS_PREFIX |
static String |
PROVIDERS_KEY |
static String |
RESOURCE_COMPARATOR_KEY |
static String |
STATIC_RESOURCE_KEY |
static String |
STATIC_SUB_RESOURCE_RESOLUTION_KEY |
| Constructor and Description |
|---|
CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory,
String star) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployApplication(javax.ws.rs.core.Application application,
String prefix,
String webContext,
Collection<Object> additionalProviders,
Map<String,EJBRestServiceInfo> restEjbs,
ClassLoader classLoader,
Collection<org.apache.openejb.Injection> injections,
Context context,
org.apache.webbeans.config.WebBeansContext owbCtx,
org.apache.openejb.assembler.classic.util.ServiceConfiguration serviceConfiguration) |
void |
deployEJB(String contextRoot,
String fullContext,
org.apache.openejb.BeanContext beanContext,
Collection<Object> additionalProviders,
org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration) |
void |
deployPojo(ClassLoader loader,
String contextRoot,
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 contextRoot,
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) |
protected void |
serveStaticContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String pathInfo) |
void |
undeploy() |
public static final String CXF_JAXRS_PREFIX
public static final String PROVIDERS_KEY
public static final String STATIC_RESOURCE_KEY
public static final String STATIC_SUB_RESOURCE_RESOLUTION_KEY
public static final String RESOURCE_COMPARATOR_KEY
public CxfRsHttpListener(org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory,
String star)
public void onMessage(HttpRequest httpRequest, HttpResponse httpResponse) throws Exception
onMessage in interface HttpListenerExceptionprotected void serveStaticContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String pathInfo)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic void deploySingleton(String contextRoot, String fullContext, Object o, javax.ws.rs.core.Application appInstance, Collection<Object> additionalProviders, org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
deploySingleton in interface RsHttpListenerpublic void deployPojo(ClassLoader loader, String contextRoot, 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)
deployPojo in interface RsHttpListenerpublic void deployEJB(String contextRoot, String fullContext, org.apache.openejb.BeanContext beanContext, Collection<Object> additionalProviders, org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
deployEJB in interface RsHttpListenerpublic void undeploy()
undeploy in interface RsHttpListenerpublic void deployApplication(javax.ws.rs.core.Application application,
String prefix,
String webContext,
Collection<Object> additionalProviders,
Map<String,EJBRestServiceInfo> restEjbs,
ClassLoader classLoader,
Collection<org.apache.openejb.Injection> injections,
Context context,
org.apache.webbeans.config.WebBeansContext owbCtx,
org.apache.openejb.assembler.classic.util.ServiceConfiguration serviceConfiguration)
deployApplication in interface RsHttpListenerCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.