org.apache.felix.eventadmin.impl.handler
Interface Filters
- All Known Implementing Classes:
- CacheFilters
public interface Filters
The factory for Filter objects. Additionally, two null filter objects
are provided that either always return true or false,
respectively.
- Author:
- Felix Project Team
Field Summary |
static org.osgi.framework.Filter |
TRUE_FILTER
A null filter object that matches any given service reference. |
Method Summary |
org.osgi.framework.Filter |
createFilter(String filter)
Create a filter for the given filter string or return the TRUE_FILTER in case
the string is null. |
TRUE_FILTER
static final org.osgi.framework.Filter TRUE_FILTER
- A null filter object that matches any given service reference.
createFilter
org.osgi.framework.Filter createFilter(String filter)
throws org.osgi.framework.InvalidSyntaxException
- Create a filter for the given filter string or return the TRUE_FILTER in case
the string is null.
- Parameters:
filter
- The filter as a string
- Returns:
- The Filter of the filter string or the TRUE_FILTER if the
filter string was null
- Throws:
org.osgi.framework.InvalidSyntaxException
- if BundleContext.createFilter()
throws an InvalidSyntaxException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.