public interface ReportWebContainerView
extends org.ops4j.pax.web.service.views.PaxWebContainerView
This view is used only to get read-only information about the state of
ServerModel. It plays a role similar to
HttpServiceRuntime but with much greater flexibility.
This view was created especially for the purpose of Karaf commands.
| Modifier and Type | Method and Description |
|---|---|
WebApplicationInfo |
getWebApplication(long bundleId)
Returns
WebApplicationInfo by bundle Id - only real WABs are considered. |
WebApplicationInfo |
getWebApplication(String contextPath)
Returns
WebApplicationInfo by context path - only real, deployed WABs are considered. |
Set<ServletInfo> |
listServlets()
Returns all available servlets registered using different means.
|
Set<WebApplicationInfo> |
listWebApplications()
List all
web applications installed (or failed) into pax-web-runtime. |
Set<WebApplicationInfo> listWebApplications()
List all web applications installed (or failed) into pax-web-runtime.
User expects mostly the Web Application Bundles (WABs), but the list will contain all
web applications - the ones created using Whiteboard registration or direct installation using
HttpService as well.
WebApplicationInfo getWebApplication(String contextPath)
Returns WebApplicationInfo by context path - only real, deployed WABs are considered.
Web applications created using Whiteboard or HttpService methods are not returned.
contextPath - WebApplicationInfo getWebApplication(long bundleId)
Returns WebApplicationInfo by bundle Id - only real WABs are considered. Web applications
created using Whiteboard or HttpService methods are not returned.
bundleId - Set<ServletInfo> listServlets()
Returns all available servlets registered using different means.
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.