Class ListenerInfo
- java.lang.Object
-
- org.apache.felix.http.base.internal.runtime.AbstractInfo<T>
-
- org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo<EventListener>
-
- org.apache.felix.http.base.internal.runtime.ListenerInfo
-
- All Implemented Interfaces:
Comparable<AbstractInfo<EventListener>>
public class ListenerInfo extends WhiteboardServiceInfo<EventListener>
Info object for registered listeners.
-
-
Constructor Summary
Constructors Constructor Description ListenerInfo(org.osgi.framework.ServiceReference<EventListener> ref)
Constructor for http whiteboard
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getListenerTypes()
boolean
isListenerType(@NotNull String className)
boolean
isValid()
-
Methods inherited from class org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo
getContextSelection, getContextSelectionFilter
-
Methods inherited from class org.apache.felix.http.base.internal.runtime.AbstractInfo
compareTo, equals, getBooleanProperty, getInitParams, getRanking, getServiceId, getServiceReference, getStringArrayProperty, getStringProperty, getTarget, hashCode, isEmpty, isEmpty
-
-
-
-
Constructor Detail
-
ListenerInfo
public ListenerInfo(org.osgi.framework.ServiceReference<EventListener> ref)
Constructor for http whiteboard- Parameters:
ref
- The service reference
-
-
Method Detail
-
isValid
public boolean isValid()
- Overrides:
isValid
in classWhiteboardServiceInfo<EventListener>
-
getListenerTypes
public String[] getListenerTypes()
-
isListenerType
public boolean isListenerType(@NotNull @NotNull String className)
-
-