public class WebApplicationEvent extends Object
Event related to registration of a web application (WAB), described in OSGi CMPN 128 Web Applications Specification.
Before Pax Web 8 it was called org.ops4j.pax.web.service.spi.WebEvent.
These events have to be passed to Event Admin Service.
| Modifier and Type | Class and Description |
|---|---|
static class |
WebApplicationEvent.State
A state described in 128.5 Events + one extra
WAITING state. |
| Constructor and Description |
|---|
WebApplicationEvent(WebApplicationEvent.State type,
org.osgi.framework.Bundle bundle,
String contextPath,
org.osgi.service.http.HttpContext context) |
WebApplicationEvent(WebApplicationEvent.State type,
org.osgi.framework.Bundle bundle,
String contextPath,
org.osgi.service.http.HttpContext context,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
getBundle() |
long |
getBundleId() |
String |
getBundleName() |
org.osgi.framework.Version |
getBundleVersion() |
Collection<Long> |
getCollisionIds() |
org.osgi.service.http.HttpContext |
getContext() |
String |
getContextPath() |
Throwable |
getException() |
org.osgi.framework.Bundle |
getExtenderBundle() |
long |
getExtenderBundleId() |
String |
getExtenderBundleName() |
org.osgi.framework.Version |
getExtenderBundleVersion() |
long |
getTimestamp() |
WebApplicationEvent.State |
getType() |
boolean |
isAwaitingAllocation() |
void |
setAwaitingAllocation(boolean awaitingAllocation) |
void |
setCollisionIds(Collection<Long> collisionIds) |
static void |
setExtenderBundle(org.osgi.framework.Bundle bundle) |
String |
toString() |
public WebApplicationEvent(WebApplicationEvent.State type, org.osgi.framework.Bundle bundle, String contextPath, org.osgi.service.http.HttpContext context)
public WebApplicationEvent(WebApplicationEvent.State type, org.osgi.framework.Bundle bundle, String contextPath, org.osgi.service.http.HttpContext context, Throwable throwable)
public static void setExtenderBundle(org.osgi.framework.Bundle bundle)
public WebApplicationEvent.State getType()
public org.osgi.framework.Bundle getBundle()
public long getBundleId()
public String getBundleName()
public org.osgi.framework.Version getBundleVersion()
public org.osgi.framework.Bundle getExtenderBundle()
public long getExtenderBundleId()
public String getExtenderBundleName()
public org.osgi.framework.Version getExtenderBundleVersion()
public long getTimestamp()
public Throwable getException()
public org.osgi.service.http.HttpContext getContext()
public String getContextPath()
public boolean isAwaitingAllocation()
public void setAwaitingAllocation(boolean awaitingAllocation)
public Collection<Long> getCollisionIds()
public void setCollisionIds(Collection<Long> collisionIds)
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.