Class RemoteFilterImpl
java.lang.Object
org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
- All Implemented Interfaces:
IRemoteFilter
,Filter
- Direct Known Subclasses:
RemoteFilterImpl
,RemoteServiceFilterImpl
- Since:
- 3.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRemoteFilterImpl
(String createFilter) RemoteFilterImpl
(BundleContext context, String createFilter) RemoteFilterImpl
(Filter filter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static String
getObjectClassFilterString
(String objectClass) long
getRsId()
int
hashCode()
boolean
match
(Dictionary dictionary) boolean
match
(IRemoteServiceReference reference) Filter using a remote service's properties.boolean
match
(ServiceReference reference) boolean
matchCase
(Dictionary dictionary) boolean
toString()
-
Field Details
-
REMOTE_SERVICEID_PREFIX
- Since:
- 8.4
- See Also:
-
-
Constructor Details
-
RemoteFilterImpl
- Parameters:
createFilter
- filter- Throws:
InvalidSyntaxException
- if the createFilter is not of valid syntax
-
RemoteFilterImpl
- Parameters:
context
- bundle contextcreateFilter
- filter- Throws:
InvalidSyntaxException
- if given createFilter is not of valid filter syntax- Since:
- 6.0
-
RemoteFilterImpl
-
-
Method Details
-
getRsId
public long getRsId()- Returns:
- long the remote service container relative id
- Since:
- 8.4
-
getObjectClassFilterString
-
match
Description copied from interface:IRemoteFilter
Filter using a remote service's properties.The filter is executed using the keys and values of the referenced service's properties. The keys are case insensitively matched with the filter.
- Specified by:
match
in interfaceIRemoteFilter
- Parameters:
reference
- The reference to the service whose properties are used in the match.- Returns:
true
if the service's properties match this filter;false
otherwise.
-
match
-
matchCase
-
equals
-
hashCode
public int hashCode() -
toString
-
match
-
matches
-