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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteFilterImpl(String createFilter) RemoteFilterImpl(BundleContext context, String createFilter) RemoteFilterImpl(Filter filter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringgetObjectClassFilterString(String objectClass) longgetRsId()inthashCode()booleanmatch(Dictionary dictionary) booleanmatch(IRemoteServiceReference reference) Filter using a remote service's properties.booleanmatch(ServiceReference reference) booleanmatchCase(Dictionary dictionary) booleantoString()
-
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:IRemoteFilterFilter 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:
matchin interfaceIRemoteFilter- Parameters:
reference- The reference to the service whose properties are used in the match.- Returns:
trueif the service's properties match this filter;falseotherwise.
-
match
-
matchCase
-
equals
-
hashCode
public int hashCode() -
toString
-
match
-
matches
-