Class WhiteboardServiceInfo<T>
java.lang.Object
org.apache.felix.http.base.internal.runtime.AbstractInfo<T>
org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo<T>
- All Implemented Interfaces:
Comparable<AbstractInfo<T>>
- Direct Known Subclasses:
FilterInfo
,ListenerInfo
,PreprocessorInfo
,ResourceInfo
,ServletInfo
Base class for all info objects.
Provides support for ranking and ordering of services.
-
Constructor Summary
ConstructorDescriptionWhiteboardServiceInfo
(int ranking) WhiteboardServiceInfo
(int ranking, long serviceId) WhiteboardServiceInfo
(org.osgi.framework.ServiceReference<T> ref) -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.Filter
boolean
isSame
(AbstractInfo<T> other) Compare two info objectsboolean
isValid()
Methods inherited from class org.apache.felix.http.base.internal.runtime.AbstractInfo
compareTo, equals, getBooleanProperty, getInitParams, getRanking, getService, getServiceId, getServiceReference, getStringArrayProperty, getStringProperty, getTarget, getType, hashCode, isEmpty, isEmpty, ungetService
-
Constructor Details
-
WhiteboardServiceInfo
-
WhiteboardServiceInfo
public WhiteboardServiceInfo(int ranking) -
WhiteboardServiceInfo
public WhiteboardServiceInfo(int ranking, long serviceId)
-
-
Method Details
-
isValid
public boolean isValid()- Overrides:
isValid
in classAbstractInfo<T>
-
getContextSelection
-
getContextSelectionFilter
public org.osgi.framework.Filter getContextSelectionFilter() -
isSame
Description copied from class:AbstractInfo
Compare two info objects- Overrides:
isSame
in classAbstractInfo<T>
-