public class WebEngineModule extends javax.ws.rs.core.Application implements ApplicationFactory
Modifier and Type | Class and Description |
---|---|
static class |
WebEngineModule.HttpServletRequestProvider |
static class |
WebEngineModule.HttpServletResponseProvider |
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.Bundle |
bundle |
protected ModuleConfiguration |
cfg |
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext |
context |
static String |
WEBADAPTER_ANNO |
static String |
WEBOBJECT_ANNO |
Constructor and Description |
---|
WebEngineModule() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Application |
getApplication(org.osgi.framework.Bundle bundle,
Map<String,String> args)
Create a new application instance given the bundle declaring the application and the attributes specified in the
manifest.
|
org.osgi.framework.Bundle |
getBundle() |
Set<Class<?>> |
getClasses() |
ModuleConfiguration |
getConfiguration() |
String |
getId() |
Module |
getModule(WebContext context) |
Set<Object> |
getSingletons() |
Class<?>[] |
getWebTypes() |
public static final String WEBOBJECT_ANNO
public static final String WEBADAPTER_ANNO
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext context
protected org.osgi.framework.Bundle bundle
protected ModuleConfiguration cfg
public WebEngineModule()
public ModuleConfiguration getConfiguration()
public Module getModule(WebContext context)
public org.osgi.framework.Bundle getBundle()
public Set<Class<?>> getClasses()
getClasses
in class javax.ws.rs.core.Application
public Set<Object> getSingletons()
getSingletons
in class javax.ws.rs.core.Application
public Class<?>[] getWebTypes()
public javax.ws.rs.core.Application getApplication(org.osgi.framework.Bundle bundle, Map<String,String> args) throws ReflectiveOperationException, IOException
ApplicationFactory
getApplication
in interface ApplicationFactory
bundle
- the bundle defining the applicationargs
- the arguments parsed from manifest WebModule entry.ReflectiveOperationException
IOException
Copyright © 2018 Nuxeo. All rights reserved.