|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.eventadmin.impl.handler.CacheFilters
public class CacheFilters
This is an implementation of the Filters factory that uses a cache in order to speed-up filter creation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.felix.eventadmin.impl.handler.Filters |
|---|
TRUE_FILTER |
| Constructor Summary | |
|---|---|
CacheFilters(CacheMap cache,
org.osgi.framework.BundleContext context)
The constructor of this factory. |
|
| Method Summary | |
|---|---|
org.osgi.framework.Filter |
createFilter(java.lang.String filter)
Create a filter for the given filter string or return the TRUE_FILTER in case the string is null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheFilters(CacheMap cache,
org.osgi.framework.BundleContext context)
cache - The cache to usecontext - The context of the bundle used to create the Filter
objects| Method Detail |
|---|
public org.osgi.framework.Filter createFilter(java.lang.String filter)
throws org.osgi.framework.InvalidSyntaxException
createFilter in interface Filtersfilter - The filter as a string
org.osgi.framework.InvalidSyntaxException - if BundleContext.createFilter()
throws an InvalidSyntaxExceptionFilters.createFilter(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||