public abstract class AbstractTopicResolver<T extends MessageView> extends Object implements TopicResolver<T>
TopicResolver classes may subclass this class to reduce future api changes impacting compatibility. NoteTopic Resolvers are currently an experimental feature
| Modifier and Type | Field and Description |
|---|---|
protected ToaServiceChannel |
channel |
protected XString |
channelKey |
protected static Tracer |
tracer |
| Constructor and Description |
|---|
AbstractTopicResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(ToaServiceChannel serviceChannel)
Will be called by
TopicOrientedApplication at startup to initialize
the channel key. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveTopic, resolveTopicprotected static final Tracer tracer
protected ToaServiceChannel channel
protected XString channelKey
public void initialize(ToaServiceChannel serviceChannel)
TopicResolverTopicOrientedApplication at startup to initialize
the channel key.
Note that at the time this method is called, TopicOrientedApplication will
have set the initial key resolution table via ToaServiceChannel.getInitialKRT().
Variable components of the channel key provided by an ChannelInitialKeyResolutionTableProvider
will already have been substituted in the key set in the serviceChannel.
initialize in interface TopicResolver<T extends MessageView>Copyright © 2016 N5 Technologies, Inc. All Rights Reserved.