public class WebEngineModule extends 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 |
---|---|
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() |
getSingletons
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 Application
public String getId()
public Class<?>[] getWebTypes()
public Application getApplication(org.osgi.framework.Bundle bundle, Map<String,String> args) throws Exception
ApplicationFactory
getApplication
in interface ApplicationFactory
bundle
- the bundle defining the applicationargs
- the arguments parsed from manifest WebModule entry.Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.