Class WhiteboardListenerHandler
- java.lang.Object
-
- org.apache.felix.http.base.internal.handler.ListenerHandler
-
- org.apache.felix.http.base.internal.handler.WhiteboardListenerHandler
-
- All Implemented Interfaces:
Comparable<ListenerHandler>
public final class WhiteboardListenerHandler extends ListenerHandler
Listener handler for listeners registered through the http whiteboard.
-
-
Field Summary
-
Fields inherited from class org.apache.felix.http.base.internal.handler.ListenerHandler
useCount
-
-
Constructor Summary
Constructors Constructor Description WhiteboardListenerHandler(long contextServiceId, ExtServletContext context, ListenerInfo listenerInfo, org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandestroy()intinit()Initialize the object-
Methods inherited from class org.apache.felix.http.base.internal.handler.ListenerHandler
compareTo, dispose, equals, getContext, getContextServiceId, getListener, getListenerInfo, hashCode, setListener
-
-
-
-
Constructor Detail
-
WhiteboardListenerHandler
public WhiteboardListenerHandler(long contextServiceId, ExtServletContext context, ListenerInfo listenerInfo, org.osgi.framework.BundleContext bundleContext)
-
-
Method Detail
-
init
public int init()
Description copied from class:ListenerHandlerInitialize the object- Overrides:
initin classListenerHandler- Returns:
- {code -1} on success, a failure reason according to
DTOConstantsotherwise.
-
destroy
public boolean destroy()
- Overrides:
destroyin classListenerHandler
-
-