org.eclipse.ecf.provider.remoteservice.generic
Class RemoteFilterImpl

java.lang.Object
  extended by org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
      extended by org.eclipse.ecf.provider.remoteservice.generic.RemoteFilterImpl
All Implemented Interfaces:
IRemoteFilter, org.osgi.framework.Filter

public class RemoteFilterImpl
extends RemoteFilterImpl
implements IRemoteFilter


Constructor Summary
RemoteFilterImpl(java.lang.String createFilter)
           
 
Method Summary
 boolean match(IRemoteServiceReference reference)
          Filter using a remote service's properties.
 boolean match(org.osgi.framework.ServiceReference reference)
           
 
Methods inherited from class org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
equals, getObjectClassFilterString, hashCode, match, matchCase, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.osgi.framework.Filter
equals, hashCode, match, matchCase, matches, toString
 

Constructor Detail

RemoteFilterImpl

public RemoteFilterImpl(java.lang.String createFilter)
                 throws org.osgi.framework.InvalidSyntaxException
Parameters:
createFilter -
Throws:
org.osgi.framework.InvalidSyntaxException
Method Detail

match

public boolean match(IRemoteServiceReference reference)
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 interface IRemoteFilter
Overrides:
match in class RemoteFilterImpl
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

public boolean match(org.osgi.framework.ServiceReference reference)
Specified by:
match in interface org.osgi.framework.Filter
Overrides:
match in class RemoteFilterImpl