DynamicRegistrationBean

abstract class DynamicRegistrationBean<D : Registration.Dynamic?> : RegistrationBean, BeanNameAware

Base class for Servlet 3.0+ dynamic based registration beans.

Author

Phillip Webb

Moritz Halbritter

Since

2.0.0

Parameters

<D>

the dynamic registration result

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val HIGHEST_PRECEDENCE: Int = -2147483648
Link copied to clipboard
Link copied to clipboard
val LOWEST_PRECEDENCE: Int = 2147483647
Link copied to clipboard
open var order: Int

Functions

Link copied to clipboard
open fun addInitParameter(name: String, value: String)
Add a single init-parameter, replacing any existing parameter with the same name.
Link copied to clipboard
Returns if asynchronous operations are supported for this registration.
Link copied to clipboard
open fun isEnabled(): Boolean
Return if the registration is enabled.
Link copied to clipboard
fun onStartup(servletContext: ServletContext)
Configure the given ServletContext with any servlets, filters, listeners context-params and attributes necessary for initialization.
Link copied to clipboard
open fun setAsyncSupported(asyncSupported: Boolean)
Sets if asynchronous operations are supported for this registration.
Link copied to clipboard
open fun setBeanName(name: String)
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Flag to indicate that the registration is enabled.
Link copied to clipboard
open fun setIgnoreRegistrationFailure(ignoreRegistrationFailure: Boolean)
Sets whether registration failures should be ignored.
Link copied to clipboard
open fun setName(name: String)
Set the name of this registration.