Package cloud.piranha.webapp.impl
Class DefaultWebApplicationExtensionContext
- java.lang.Object
-
- cloud.piranha.webapp.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
Constructors Constructor Description DefaultWebApplicationExtensionContext()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
add
public void add(Class<? extends WebApplicationExtension> extension)
Add the extension.- Specified by:
add
in interfaceWebApplicationExtensionContext
- Parameters:
extension
- the extension.
-
add
public void add(WebApplicationExtension extension)
Add the extension.- Specified by:
add
in interfaceWebApplicationExtensionContext
- Parameters:
extension
- the extension.
-
configure
public void configure(WebApplication webApplication)
Configure the web application.- Parameters:
webApplication
- the web application.
-
remove
public void remove(Class<? extends WebApplicationExtension> extension)
Remove the extension.- Specified by:
remove
in interfaceWebApplicationExtensionContext
- Parameters:
extension
- the extension.
-
-