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

public class WebEngineModule extends javax.ws.rs.core.Application implements ApplicationFactory
Author:
Bogdan Stefanescu
  • Field Details

    • WEBOBJECT_ANNO

      public static final String WEBOBJECT_ANNO
      See Also:
    • WEBADAPTER_ANNO

      public static final String WEBADAPTER_ANNO
      See Also:
    • context

      protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext context
    • bundle

      protected org.osgi.framework.Bundle bundle
    • cfg

      protected ModuleConfiguration cfg
  • Constructor Details

    • WebEngineModule

      public WebEngineModule()
  • Method Details

    • getConfiguration

      public ModuleConfiguration getConfiguration()
    • getModule

      public Module getModule(WebContext context)
    • getBundle

      public org.osgi.framework.Bundle getBundle()
    • getClasses

      public Set<Class<?>> getClasses()
      Overrides:
      getClasses in class javax.ws.rs.core.Application
    • getSingletons

      public Set<Object> getSingletons()
      Overrides:
      getSingletons in class javax.ws.rs.core.Application
    • getId

      public String getId()
    • getWebTypes

      public Class<?>[] getWebTypes()
    • getApplication

      public javax.ws.rs.core.Application getApplication(org.osgi.framework.Bundle bundle, Map<String,String> args) throws ReflectiveOperationException, IOException
      Description 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 interface ApplicationFactory
      Parameters:
      bundle - the bundle defining the application
      args - the arguments parsed from manifest WebModule entry.
      Throws:
      ReflectiveOperationException
      IOException