org.springframework.data.redis.listener
Class ChannelTopic

java.lang.Object
  extended by org.springframework.data.redis.listener.ChannelTopic
All Implemented Interfaces:
Topic

public class ChannelTopic
extends Object
implements Topic

Channel topic implementation (maps to a Redis channel).


Constructor Summary
ChannelTopic(String name)
          Constructs a new ChannelTopic instance.
 
Method Summary
 String getTopic()
          Returns the topic name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelTopic

public ChannelTopic(String name)
Constructs a new ChannelTopic instance.

Parameters:
name -
Method Detail

getTopic

public String getTopic()
Returns the topic name.

Specified by:
getTopic in interface Topic
Returns:
topic name