Class TopicMapping<R extends NamedTopic>


public class TopicMapping<R extends NamedTopic> extends TypedResourceMapping<R>
A TopicMapping captures configuration information for a pattern-match-based mapping from a proposed NamedTopic name to a topic scheme.

In addition to the mapping between a topic name and a topic scheme, each TopicMapping retains a ParameterResolver (representing user-provided parameters) to be used during the realization of the said topic and scheme. (This allows individual mappings to be parameterized)

Lastly TopicMappings also provide a mechanism to associate specific strongly typed resources with each mapping at runtime. This provides a flexible and dynamic mechanism to associate further configuration information with topics.

Pattern Matching Semantics: The only wildcard permitted for pattern matching with topic names is the "*" and it may only be used at the end of a topic name.

For example, the following topic name patterns are valid: "*" and something-*, but *-something is invalid.

Since:
Coherence 14.1.1
Author:
jk 2015.05.28