DefaultWebApplicationExtensionContext
public interface WebApplicationExtensionContext
Modifier and Type | Method | Description |
---|---|---|
void |
add(WebApplicationExtension extension) |
Add the extension to the web application.
|
void |
add(Class<? extends WebApplicationExtension> extension) |
Add the extension to the web application.
|
void |
remove(Class<? extends WebApplicationExtension> extension) |
Remove the extension from the web application.
|
void add(Class<? extends WebApplicationExtension> extension)
This will add this extension to the list of extensions that will be used when configuring the web application.
extension
- the extension.void add(WebApplicationExtension extension)
This will add this extension to the list of extensions that will be used when configuring the web application.
extension
- the extension.void remove(Class<? extends WebApplicationExtension> extension)
This will remove the extension from the list of extensions that will be used when configuring the web application.
NOTE this will ONLY remove this extension. Any extensions that were added to the list by this extension BEFORE it was removed will NOT be removed from the list of extensions. This is by design.
extension
- the extension.Copyright © 2020 Piranha Cloud. All rights reserved.