Package org.frankframework.lifecycle
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
Servlet
s 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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault String
getName()
Name of the to-be implemented classdefault int
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 propertyservlet.servlet-name.loadOnStartup
-
Field Details
-
ALL_IBIS_ROLES
-
ALL_IBIS_USER_ROLES
-
IBIS_FULL_SERVICE_ACCESS_ROLES
-
-
Method Details
-
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 propertyservlet.servlet-name.loadOnStartup
-