|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.eventadmin.impl.handler.CacheTopicHandlerFilters
public class CacheTopicHandlerFilters
The factory for EventHandler filters based on a certain topic. This implementation uses a cache to speed-up filter creation.
Constructor Summary | |
---|---|
CacheTopicHandlerFilters(CacheMap cache,
boolean requireTopic)
The constructor of the filter factory. |
Method Summary | |
---|---|
java.lang.String |
createFilterForTopic(java.lang.String topic)
Create a filter that will match all EventHandler services that match the given topic. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheTopicHandlerFilters(CacheMap cache, boolean requireTopic)
cache
- The cache to use in order to speed-up filter creation.requireTopic
- Include handlers that do not provide a topicMethod Detail |
---|
public java.lang.String createFilterForTopic(java.lang.String topic)
createFilterForTopic
in interface TopicHandlerFilters
topic
- The topic to match
TopicHandlerFilters.createFilterForTopic(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |