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
-
-
Constructor Summary
Constructors Constructor Description DynamicApplicationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ApplicationgetApplication(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.
-
-
-
Method Detail
-
getApplication
public javax.ws.rs.core.Application getApplication(org.osgi.framework.Bundle bundle, Map<String,String> args) throws ReflectiveOperationException, IOExceptionDescription copied from interface:ApplicationFactoryCreate a new application instance given the bundle declaring the application and the attributes specified in the manifest.- Specified by:
getApplicationin interfaceApplicationFactory- Parameters:
bundle- the bundle defining the applicationargs- the arguments parsed from manifest WebModule entry.- Throws:
ReflectiveOperationExceptionIOException
-
-