public class DynamicApplicationFactory extends Object implements ApplicationFactory
Constructor and Description |
---|
DynamicApplicationFactory() |
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.
|
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 © 2011 Nuxeo SA. All Rights Reserved.