Interface DynamicRegistration

All Known Subinterfaces:
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
All Known Implementing Classes:
AbstractHttpServlet, ApiListenerServlet, AtomPub10, AtomPub11, AtomPubServletBase, BrowserBinding, LarvaServlet, MtomProxy, PrometheusMeterServlet, RedirectIndexProxy, RestListenerServlet, RestPublicListenerServlet, SoapProviderServlet, WebContentServlet, WebServices10, WebServices11, WebServicesServletBase

public interface DynamicRegistration
A Servlet registration wrapper to register Servlets in a Servlet 3.0+ container. Similar to the ServletContext.addServlet(String, Class) registration} features provided by ServletContext but with a friendly design allowing users to change servlet settings before they are initialized by the ServletContextListener (starting the application).

Interface to use in combination with a Spring Component annotation. Classes that implement the annotation are automatically picked up by Spring, and in combination with the ServletRegisteringPostProcessor the servlets are automatically registered with the ServletManager.

The servlet name will be deduced if not specified.

Author:
Niels Meijer
  • Field Details

    • ALL_IBIS_ROLES

      static final String[] ALL_IBIS_ROLES
    • ALL_IBIS_USER_ROLES

      static final String[] ALL_IBIS_USER_ROLES
    • IBIS_FULL_SERVICE_ACCESS_ROLES

      static final String[] IBIS_FULL_SERVICE_ACCESS_ROLES
  • Method Details

    • getName

      default String getName()
      Name of the to-be implemented class
    • loadOnStartUp

      default int loadOnStartUp()
      Order in which to automatically instantiate and load the class.
      0 to let the application server determine, -1 to disable This value may be overridden by setting property servlet.servlet-name.loadOnStartup