Package org.nuxeo.ecm.webengine.app
Class WebEngineModule
java.lang.Object
javax.ws.rs.core.Application
org.nuxeo.ecm.webengine.app.WebEngineModule
- All Implemented Interfaces:
ApplicationFactory
- Direct Known Subclasses:
APIModule
,AutomationModule
,JAXRSRemotingApplication
,JAXRSTemplatesApplication
,SCIMModule
,ScimV2Module
,WOPIModule
- Author:
- Bogdan Stefanescu
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.osgi.framework.Bundle
protected ModuleConfiguration
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext
static final String
static final String
-
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.org.osgi.framework.Bundle
getId()
getModule
(WebContext context) Class<?>[]
-
Field Details
-
WEBOBJECT_ANNO
- See Also:
-
WEBADAPTER_ANNO
- See Also:
-
context
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext context -
bundle
protected org.osgi.framework.Bundle bundle -
cfg
-
-
Constructor Details
-
WebEngineModule
public WebEngineModule()
-
-
Method Details
-
getConfiguration
-
getModule
-
getBundle
public org.osgi.framework.Bundle getBundle() -
getClasses
- Overrides:
getClasses
in classjavax.ws.rs.core.Application
-
getSingletons
- Overrides:
getSingletons
in classjavax.ws.rs.core.Application
-
getId
-
getWebTypes
-
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
-