Class ListenerHandler
java.lang.Object
org.apache.felix.http.base.internal.handler.ListenerHandler
- All Implemented Interfaces:
Comparable<ListenerHandler>
The listener handler handles the initialization and destruction of listener
objects.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionListenerHandler
(long contextServiceId, ExtServletContext context, ListenerInfo listenerInfo, org.osgi.framework.BundleContext bundleContext) -
Method Summary
-
Field Details
-
useCount
protected volatile int useCount
-
-
Constructor Details
-
ListenerHandler
public ListenerHandler(long contextServiceId, ExtServletContext context, ListenerInfo listenerInfo, org.osgi.framework.BundleContext bundleContext)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ListenerHandler>
-
getContext
-
getContextServiceId
public long getContextServiceId() -
getListener
-
getListenerInfo
-
destroy
public boolean destroy() -
dispose
public boolean dispose() -
init
public int init()Initialize the object- Returns:
- {code -1} on success, a failure reason according to
DTOConstants
otherwise.
-
hashCode
public int hashCode() -
equals
-