org.springframework.integration.endpoint
Class EndpointTrigger

java.lang.Object
  extended by org.springframework.integration.dispatcher.PollingDispatcher
      extended by org.springframework.integration.endpoint.EndpointTrigger
All Implemented Interfaces:
java.lang.Runnable, SchedulableTask

public class EndpointTrigger
extends PollingDispatcher

A PollingDispatcher implementation that sends a message to trigger endpoint polling.

Author:
Mark Fisher

Nested Class Summary
private static class EndpointTrigger.EndpointPollerMessageSource
           
 
Constructor Summary
EndpointTrigger(long interval)
          Create an endpoint trigger.
EndpointTrigger(Schedule schedule)
          Create an endpoint trigger with the specified Schedule.
 
Method Summary
 
Methods inherited from class org.springframework.integration.dispatcher.PollingDispatcher
addTarget, getSchedule, removeTarget, run, setMaxMessagesPerTask, setReceiveTimeout, setSendTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointTrigger

public EndpointTrigger(Schedule schedule)
Create an endpoint trigger with the specified Schedule.


EndpointTrigger

public EndpointTrigger(long interval)
Create an endpoint trigger. A PollingSchedule will be created with the specified interval.