public class CacheTopicHandlerFilters extends Object implements TopicHandlerFilters
Constructor and Description |
---|
CacheTopicHandlerFilters(CacheMap cache,
boolean requireTopic)
The constructor of the filter factory.
|
Modifier and Type | Method and Description |
---|---|
String |
createFilterForTopic(String topic)
Create a filter that will match all EventHandler services that match
the given topic.
|
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 topicpublic String createFilterForTopic(String topic)
createFilterForTopic
in interface TopicHandlerFilters
topic
- The topic to matchTopicHandlerFilters.createFilterForTopic(java.lang.String)
Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.