org.eclipse.ecf.remoteservice.util
Class RemoteFilterImpl
java.lang.Object
org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
- All Implemented Interfaces:
- IRemoteFilter, org.osgi.framework.Filter
- Direct Known Subclasses:
- RemoteFilterImpl
public class RemoteFilterImpl
- extends java.lang.Object
- implements IRemoteFilter
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RemoteFilterImpl
public RemoteFilterImpl(java.lang.String createFilter)
throws org.osgi.framework.InvalidSyntaxException
- Parameters:
createFilter
-
- Throws:
org.osgi.framework.InvalidSyntaxException
RemoteFilterImpl
public RemoteFilterImpl(org.osgi.framework.BundleContext context,
java.lang.String createFilter)
throws org.osgi.framework.InvalidSyntaxException
- Parameters:
createFilter
-
- Throws:
org.osgi.framework.InvalidSyntaxException
- Since:
- 6.0
RemoteFilterImpl
public RemoteFilterImpl(org.osgi.framework.Filter filter)
getObjectClassFilterString
public static java.lang.String getObjectClassFilterString(java.lang.String objectClass)
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
- 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(java.util.Dictionary dictionary)
- Specified by:
match
in interface org.osgi.framework.Filter
matchCase
public boolean matchCase(java.util.Dictionary dictionary)
- Specified by:
matchCase
in interface org.osgi.framework.Filter
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface org.osgi.framework.Filter
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface org.osgi.framework.Filter
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface org.osgi.framework.Filter
- Overrides:
toString
in class java.lang.Object
match
public boolean match(org.osgi.framework.ServiceReference reference)
- Specified by:
match
in interface org.osgi.framework.Filter
matches
public boolean matches(java.util.Map map)
- Specified by:
matches
in interface org.osgi.framework.Filter
- Since:
- 6.0
- See Also:
Filter.matches(java.util.Map)