D - the dynamic registration resultpublic abstract class DynamicRegistrationBean<D extends javax.servlet.Registration.Dynamic> extends RegistrationBean
dynamic based
 registration beans.| Constructor and Description | 
|---|
| DynamicRegistrationBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addInitParameter(java.lang.String name,
                java.lang.String value)Add a single init-parameter, replacing any existing parameter with the same name. | 
| protected abstract D | addRegistration(java.lang.String description,
               javax.servlet.ServletContext servletContext) | 
| protected void | configure(D registration) | 
| java.util.Map<java.lang.String,java.lang.String> | getInitParameters()Returns a mutable Map of the registration init-parameters. | 
| protected java.lang.String | getOrDeduceName(java.lang.Object value)Deduces the name for this registration. | 
| boolean | isAsyncSupported()Returns if asynchronous operations are supported for this registration. | 
| protected void | register(java.lang.String description,
        javax.servlet.ServletContext servletContext)Register this bean with the servlet context. | 
| void | setAsyncSupported(boolean asyncSupported)Sets if asynchronous operations are supported for this registration. | 
| void | setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)Set init-parameters for this registration. | 
| void | setName(java.lang.String name)Set the name of this registration. | 
getDescription, getOrder, isEnabled, onStartup, setEnabled, setOrderpublic void setName(java.lang.String name)
name - the name of the registrationpublic void setAsyncSupported(boolean asyncSupported)
true.asyncSupported - if async is supportedpublic boolean isAsyncSupported()
public void setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)
initParameters - the init parametersgetInitParameters(), 
addInitParameter(java.lang.String, java.lang.String)public java.util.Map<java.lang.String,java.lang.String> getInitParameters()
public void addInitParameter(java.lang.String name,
                             java.lang.String value)
name - the init-parameter namevalue - the init-parameter valueprotected final void register(java.lang.String description,
                              javax.servlet.ServletContext servletContext)
RegistrationBeanregister in class RegistrationBeandescription - a description of the item being registeredservletContext - the servlet contextprotected abstract D addRegistration(java.lang.String description, javax.servlet.ServletContext servletContext)
protected void configure(D registration)
protected final java.lang.String getOrDeduceName(java.lang.Object value)
value - the object used for convention based names