public class CacheFilters extends Object implements Filters
TRUE_FILTER| Constructor and Description |
|---|
CacheFilters(CacheMap cache,
org.osgi.framework.BundleContext context)
The constructor of this factory.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CacheFilters(CacheMap cache, org.osgi.framework.BundleContext context)
cache - The cache to usecontext - The context of the bundle used to create the Filter
objectspublic org.osgi.framework.Filter createFilter(String filter) throws org.osgi.framework.InvalidSyntaxException
createFilter in interface Filtersfilter - The filter as a stringorg.osgi.framework.InvalidSyntaxException - if BundleContext.createFilter()
throws an InvalidSyntaxExceptionFilters.createFilter(java.lang.String)Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.