Class DynamicApplicationFactory
java.lang.Object
org.nuxeo.ecm.webengine.rest.scan.DynamicApplicationFactory
- All Implemented Interfaces:
ApplicationFactory
- Author:
- Bogdan Stefanescu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.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.
-
Constructor Details
-
DynamicApplicationFactory
public DynamicApplicationFactory()
-
-
Method Details
-
getApplication
public jakarta.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
-