rewrite-api-servlet 2.0.0.Alpha6

org.ocpsoft.rewrite.servlet.spi
Interface ServletRegistrationProvider

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

public interface ServletRegistrationProvider
extends org.ocpsoft.common.pattern.Weighted

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
 List<ServletRegistration> getServletRegistrations(javax.servlet.ServletContext servletContext)
          Returns a list of all Servlets registered in the application.
 
Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
 

Method Detail

getServletRegistrations

List<ServletRegistration> getServletRegistrations(javax.servlet.ServletContext servletContext)
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.


rewrite-api-servlet 2.0.0.Alpha6

Copyright © 2013 OCPsoft. All Rights Reserved.