Package org.ocpsoft.rewrite.servlet.spi
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 TypeMethodDescriptiongetServletRegistrations(ServletContext servletContext) Deprecated.Returns a list of all Servlets registered in the application.Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
-
Method Details
-
getServletRegistrations
Deprecated.Returns a list of all Servlets registered in the application. Implementations MUST returnnullif they are unable to obtain this list. Otherwise they have to return a complete list of registrations.
-