Class DynamicApplicationFactory
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.scan.DynamicApplicationFactory
- All Implemented Interfaces:
ApplicationFactory
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.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.
-
Constructor Details
-
DynamicApplicationFactory
public DynamicApplicationFactory()
-
-
Method Details
-
getApplication
public javax.ws.rs.core.Application getApplication(org.osgi.framework.Bundle bundle, Map<String, String> args) throws ReflectiveOperationException, IOExceptionDescription 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 interfaceApplicationFactory
- Parameters:
bundle
- the bundle defining the applicationargs
- the arguments parsed from manifest WebModule entry.- Throws:
ReflectiveOperationException
IOException
-