public class WebEngineModule extends javax.ws.rs.core.Application implements ApplicationFactory
Modifier and Type | Field and Description |
---|---|
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() |
Class<?>[] |
getWebTypes() |
public static final String WEBOBJECT_ANNO
public static final String WEBADAPTER_ANNO
public ModuleConfiguration getConfiguration()
public Module getModule()
public org.osgi.framework.Bundle getBundle()
public Set<Class<?>> getClasses()
getClasses
in class javax.ws.rs.core.Application
public String getId()
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 © 2015 Nuxeo SA. All rights reserved.