public interface ReportViewPlugin
An interfaces that should be implemented by bundles that want to create/alter/enhance the information returned by
ReportWebContainerView.
This interface was created to let pax-web-extender-war provide more information about failed WAB installation.
| Modifier and Type | Method and Description |
|---|---|
default void |
collectServlets(Set<ServletInfo> servlets)
Fill information about available servlets
|
void |
collectWebApplications(Set<WebApplicationInfo> webapps)
This method is called to fill a list of
web application models for reporting
purpose. |
WebApplicationInfo |
getWebApplication(long bundleId)
Returns information about single WAB (by its bundle id).
|
WebApplicationInfo |
getWebApplication(String contextPath)
Returns information about single WAB (by its context path) - only successully deployed WABs should be returned,
because there may be more failed contexts too.
|
void collectWebApplications(Set<WebApplicationInfo> webapps)
web application models for reporting
purpose. It is the responsibility of the implementation to check (by some kind of key) if the
WebApplicationInfo is already in the passed set - in this case, the existing model can be updated
instead.webapps - WebApplicationInfo getWebApplication(String contextPath)
contextPath - WebApplicationInfo getWebApplication(long bundleId)
bundleId - default void collectServlets(Set<ServletInfo> servlets)
servlets - Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.