public class DynamicApplicationFactory extends Object implements ApplicationFactory
Constructor and Description |
---|
DynamicApplicationFactory() |
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.
|
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.