Class JerseyApplication

java.lang.Object
javax.ws.rs.core.Application
org.nuxeo.ecm.webengine.app.WebEngineApplication
org.nuxeo.ecm.webengine.app.jersey.JerseyApplication
All Implemented Interfaces:
com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>

@Provider public class JerseyApplication extends WebEngineApplication implements com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
Experimental - Can be used to inject WebContext through @Context annotation. Do not use it for now.
Author:
Bogdan Stefanescu
  • Constructor Details

    • JerseyApplication

      public JerseyApplication()
  • Method Details

    • getSingletons

      public Set<Object> getSingletons()
      Overrides:
      getSingletons in class WebEngineApplication
    • getScope

      public com.sun.jersey.core.spi.component.ComponentScope getScope()
      Specified by:
      getScope in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
    • getInjectable

      public com.sun.jersey.spi.inject.Injectable<?> getInjectable(com.sun.jersey.core.spi.component.ComponentContext cc, javax.ws.rs.core.Context a, Type t)
      Specified by:
      getInjectable in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>