|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.web.extender.whiteboard.internal.element.ListenerWebElement
public class ListenerWebElement
Registers/unregisters ListenerMapping
with WebContainer
.
Constructor Summary | |
---|---|
ListenerWebElement(ListenerMapping listenerMapping)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getHttpContextId()
|
void |
register(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
Registers listener with web container. |
java.lang.String |
toString()
|
void |
unregister(org.osgi.service.http.HttpService httpService,
org.osgi.service.http.HttpContext httpContext)
Unregisters listener from web container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ListenerWebElement(ListenerMapping listenerMapping)
listenerMapping
- listener mapping; cannot be nullMethod Detail |
---|
public void register(org.osgi.service.http.HttpService httpService, org.osgi.service.http.HttpContext httpContext) throws java.lang.Exception
register
in interface WebElement
java.lang.Exception
public void unregister(org.osgi.service.http.HttpService httpService, org.osgi.service.http.HttpContext httpContext)
unregister
in interface WebElement
public java.lang.String getHttpContextId()
getHttpContextId
in interface WebElement
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |