public class WebElementEvent extends Object
Event related to registration of single ElementModel which
may represent any web element like Servlet or Filter.
In Pax Web 7 there was only a ServletEvent.
While the names may be similar, these events are not the events mentioned in chapter 128.5, which defines WAB events. Thus these events are not required to be passed to Event Admin Service.
| Modifier and Type | Class and Description |
|---|---|
static class |
WebElementEvent.State |
| Constructor and Description |
|---|
WebElementEvent(WebElementEvent.State type,
WebElementEventData data) |
WebElementEvent(WebElementEvent.State type,
WebElementEventData data,
Exception exception) |
WebElementEvent(WebElementEvent event,
boolean replay) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
getBundle() |
long |
getBundleId() |
String |
getBundleName() |
String |
getBundleVersion() |
WebElementEventData |
getData() |
long |
getTimestamp() |
WebElementEvent.State |
getType() |
boolean |
isReplay() |
String |
toString() |
public WebElementEvent(WebElementEvent event, boolean replay)
public WebElementEvent(WebElementEvent.State type, WebElementEventData data)
public WebElementEvent(WebElementEvent.State type, WebElementEventData data, Exception exception)
public boolean isReplay()
public WebElementEvent.State getType()
public org.osgi.framework.Bundle getBundle()
public long getBundleId()
public String getBundleName()
public String getBundleVersion()
public long getTimestamp()
public WebElementEventData getData()
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.