org.springframework.integration.scheduling
Class Subscription

java.lang.Object
  extended by org.springframework.integration.scheduling.Subscription

public class Subscription
extends java.lang.Object

Configuration metadata for activating a subscription. Immutable.

Author:
Mark Fisher

Field Summary
private  MessageChannel channel
           
private  java.lang.String channelName
           
private  Schedule schedule
           
 
Constructor Summary
Subscription(MessageChannel channel)
           
Subscription(MessageChannel channel, Schedule schedule)
           
Subscription(java.lang.String channelName)
           
Subscription(java.lang.String channelName, Schedule schedule)
           
 
Method Summary
 MessageChannel getChannel()
           
 java.lang.String getChannelName()
           
 Schedule getSchedule()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

channel

private final MessageChannel channel

channelName

private final java.lang.String channelName

schedule

private final Schedule schedule
Constructor Detail

Subscription

public Subscription(MessageChannel channel)

Subscription

public Subscription(java.lang.String channelName)

Subscription

public Subscription(MessageChannel channel,
                    Schedule schedule)

Subscription

public Subscription(java.lang.String channelName,
                    Schedule schedule)
Method Detail

getChannel

public MessageChannel getChannel()

getChannelName

public java.lang.String getChannelName()

getSchedule

public Schedule getSchedule()