Interface ServletRegistrationProvider

All Superinterfaces:
org.ocpsoft.common.pattern.Weighted

@Deprecated public interface ServletRegistrationProvider extends org.ocpsoft.common.pattern.Weighted
Deprecated.
SPI for obtaining all Servlets registered in the web application. This API is typically used by asking all registered providers in an order determined by their priority. The result of the first implementation that doesn't return null is expected to be the correct one.
Author:
Christian Kaltepoth
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns a list of all Servlets registered in the application.

    Methods inherited from interface org.ocpsoft.common.pattern.Weighted

    priority
  • Method Details

    • getServletRegistrations

      List<ServletRegistration> getServletRegistrations(ServletContext servletContext)
      Deprecated.
      Returns a list of all Servlets registered in the application. Implementations MUST return null if they are unable to obtain this list. Otherwise they have to return a complete list of registrations.