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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.osgi.framework.Bundleprotected ModuleConfigurationprotected com.sun.jersey.server.impl.inject.ServerInjectableProviderContextstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.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.org.osgi.framework.BundlegetId()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:
getClassesin classjavax.ws.rs.core.Application
-
getSingletons
- Overrides:
getSingletonsin 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: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
-