- All Known Subinterfaces:
FilterEnvironment
,FilterRegistration
,FilterRegistration.Dynamic
,Registration.Dynamic
,ServletEnvironment
,ServletRegistration
,ServletRegistration.Dynamic
- All Known Implementing Classes:
DefaultFilterEnvironment
,DefaultServletEnvironment
public interface Registration
The Registration API.
- Author:
- Manfred Riem ([email protected])
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The Registration.Dynamic API. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class name.getInitParameter(String name)
Get the init parameter.Returns the init parameters.getName()
Returns the name.boolean
setInitParameter(String name, String value)
Set the init parameter.setInitParameters(Map<String,String> initParameters)
Set the init parameters.
-
Method Details
-
getClassName
String getClassName()Returns the class name.- Returns:
- the class name
-
getInitParameter
Get the init parameter.- Parameters:
name
- the name.- Returns:
- the value, or null if not found.
-
getInitParameters
Returns the init parameters.- Returns:
- the init parameters
-
getName
String getName()Returns the name.- Returns:
- the name
-
setInitParameter
Set the init parameter.- Parameters:
name
- the name.value
- the value.- Returns:
- true if it was set, false otherwise.
-
setInitParameters
Set the init parameters.- Parameters:
initParameters
- the init parameters.- Returns:
- the init parameters that could NOT be set.
-