org.nuxeo.ecm.webengine.jaxrs.scan
Class DynamicApplicationFactory
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.scan.DynamicApplicationFactory
- All Implemented Interfaces:
- ApplicationFactory
public class DynamicApplicationFactory
- extends Object
- implements ApplicationFactory
- Author:
- Bogdan Stefanescu
Method Summary |
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. |
DynamicApplicationFactory
public DynamicApplicationFactory()
getApplication
public javax.ws.rs.core.Application getApplication(org.osgi.framework.Bundle bundle,
Map<String,String> args)
throws Exception
- Description copied from interface:
ApplicationFactory
- Create a new application instance given the bundle declaring the application
and the attributes specified in the manifest.
- Specified by:
getApplication
in interface ApplicationFactory
- Parameters:
bundle
- the bundle defining the applicationargs
- the arguments parsed from manifest WebModule entry.
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.