public class RemoteFilterImpl extends RemoteFilterImpl implements IRemoteFilter
REMOTE_SERVICEID_PREFIX
Constructor and Description |
---|
RemoteFilterImpl(java.lang.String createFilter) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(IRemoteServiceReference reference)
Filter using a remote service's properties.
|
boolean |
match(org.osgi.framework.ServiceReference reference) |
equals, getObjectClassFilterString, getRsId, hashCode, match, matchCase, matches, toString
public RemoteFilterImpl(java.lang.String createFilter) throws org.osgi.framework.InvalidSyntaxException
createFilter
- filter to useorg.osgi.framework.InvalidSyntaxException
- if given createFilter is not a valid filterpublic boolean match(IRemoteServiceReference reference)
IRemoteFilter
The filter is executed using the keys and values of the referenced service's properties. The keys are case insensitively matched with the filter.
match
in interface IRemoteFilter
match
in class RemoteFilterImpl
reference
- The reference to the service whose properties are used in the
match.true
if the service's properties match this
filter; false
otherwise.public boolean match(org.osgi.framework.ServiceReference reference)
match
in interface org.osgi.framework.Filter
match
in class RemoteFilterImpl