com.neeve.toa.spi
Class AbstractTopicResolver<T extends MessageView>
java.lang.Object
com.neeve.toa.spi.AbstractTopicResolver<T>
- All Implemented Interfaces:
- TopicResolver<T>
public abstract class AbstractTopicResolver<T extends MessageView>
- extends Object
- implements TopicResolver<T>
A base class for topic resolvers.
TopicResolver classes may subclass this class to reduce future api changes impacting compatibility.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tracer
protected static final Tracer tracer
channel
protected ToaServiceChannel channel
channelKey
protected XString channelKey
AbstractTopicResolver
public AbstractTopicResolver()
initialize
public void initialize(ToaServiceChannel serviceChannel)
- Description copied from interface:
TopicResolver
- Will be called by
TopicOrientedApplication
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.
- Specified by:
initialize
in interface TopicResolver<T extends MessageView>
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.