Class ServletRegistry

java.lang.Object
org.nuxeo.ecm.webengine.rest.servlet.config.ServletRegistry

public class ServletRegistry extends Object
Handle servlet registration from Nuxeo extension points. This class is a singleton shared by the Activator and the ServletRegistryComponent component. Because we don't have yet a solution to synchronize the initialization time of the Activator and a Nuxeo component we are using a singleton instance to be able
Author:
Bogdan Stefanescu
  • Field Details

    • SERVLET_NAME

      public static final String SERVLET_NAME
    • servlets

      protected List<ServletDescriptor> servlets
      Servlets contributed to the extension points.
    • filters

      protected List<FilterSetDescriptor> filters
    • resources

      protected Map<String,List<ResourcesDescriptor>> resources
      Store resources contributed from external bundles to servlets. Map the servlet path to the list of contributed resources
    • bundle

      protected org.osgi.framework.Bundle bundle
      The bundle owning this class
  • Method Details