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
| Methods inherited from interface org.ocpsoft.common.pattern.Weighted |
priority |
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.
Copyright © 2013 OCPsoft. All Rights Reserved.