Module cloud.piranha.core.impl
Package cloud.piranha.core.impl
Class DefaultWebApplicationExtensionContext
java.lang.Object
cloud.piranha.core.impl.DefaultWebApplicationExtensionContext
- All Implemented Interfaces:
WebApplicationExtensionContext
public class DefaultWebApplicationExtensionContext
extends Object
implements WebApplicationExtensionContext
The default web application extension context.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(WebApplicationExtension extension) Add the extension.void
add
(Class<? extends WebApplicationExtension> extension) Add the extension.void
configure
(WebApplication webApplication) Configure the web application.void
remove
(Class<? extends WebApplicationExtension> extension) Remove the extension.
-
Constructor Details
-
DefaultWebApplicationExtensionContext
public DefaultWebApplicationExtensionContext()Constructor.
-
-
Method Details
-
add
Add the extension.- Specified by:
add
in interfaceWebApplicationExtensionContext
- Parameters:
extension
- the extension.
-
add
Add the extension.- Specified by:
add
in interfaceWebApplicationExtensionContext
- Parameters:
extension
- the extension.
-
configure
Configure the web application.- Parameters:
webApplication
- the web application.
-
remove
Remove the extension.- Specified by:
remove
in interfaceWebApplicationExtensionContext
- Parameters:
extension
- the extension.
-