public class WebApplicationInfo extends Object implements Comparable<WebApplicationInfo>
A model class representing the details of a Web Application.
Even if the most important Web Application is the one installed as WAB and deployed using
pax-web-extender-war, web applications are also crated by pax-web-extender-whiteboard and even directly using
HttpService.
This model collects all information regardless of the web application deployment mechanism.
| Constructor and Description |
|---|
WebApplicationInfo() |
WebApplicationInfo(OsgiContextModel ocm) |
WebApplicationInfo(OsgiContextModel ocm,
boolean replaced) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(WebApplicationInfo other) |
List<org.osgi.framework.Bundle> |
getApplicationFragmentBundles() |
org.osgi.framework.Bundle |
getBundle() |
List<org.osgi.framework.Bundle> |
getContainerFragmentBundles() |
String |
getContextPath() |
List<String> |
getContextRegistrationIdProperties() |
String |
getDeploymentState() |
List<URL> |
getDescriptors() |
List<URL> |
getMetaInfResources() |
String |
getName() |
String |
getScope() |
long |
getServiceId() |
int |
getServiceRank() |
List<String> |
getServletContainerInitializers() |
List<URL> |
getWabClassPath() |
Set<URL> |
getWabClassPathSkipped() |
boolean |
isHttpService() |
boolean |
isReplaced() |
boolean |
isWab() |
boolean |
isWhiteboard() |
void |
setBundle(org.osgi.framework.Bundle bundle) |
void |
setContextModel(WebContextInfo contextModel) |
void |
setContextPath(String contextPath) |
void |
setDeploymentState(String deploymentState) |
void |
setWab(boolean wab) |
public WebApplicationInfo()
public WebApplicationInfo(OsgiContextModel ocm)
public WebApplicationInfo(OsgiContextModel ocm, boolean replaced)
public org.osgi.framework.Bundle getBundle()
public void setBundle(org.osgi.framework.Bundle bundle)
public boolean isWab()
public void setWab(boolean wab)
public boolean isWhiteboard()
public boolean isHttpService()
public String getDeploymentState()
public void setDeploymentState(String deploymentState)
public String getContextPath()
public void setContextPath(String contextPath)
public List<org.osgi.framework.Bundle> getContainerFragmentBundles()
public List<org.osgi.framework.Bundle> getApplicationFragmentBundles()
public void setContextModel(WebContextInfo contextModel)
public int getServiceRank()
public long getServiceId()
public String getName()
public String getScope()
public boolean isReplaced()
public int compareTo(WebApplicationInfo other)
compareTo in interface Comparable<WebApplicationInfo>Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.