Spring Integration

org.springframework.integration.file.monitors
Class DirectedEventDrivenFileMonitor

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.file.monitors.AbstractEventDrivenFileMonitor
          extended by org.springframework.integration.file.monitors.DirectedEventDrivenFileMonitor
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, NamedComponent, EventDrivenDirectoryMonitor

public class DirectedEventDrivenFileMonitor
extends AbstractEventDrivenFileMonitor

simply takes a cue / hint (something tells it outright that something has been added to a directory, and it and publishes an event as appropriate). This is useful for adapters that know when the file's been downloaded and want to deliver data as soon as its downloaded, but to poll the remote system only at a certain interval.

Author:
Josh Long

Field Summary
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
DirectedEventDrivenFileMonitor()
           
 
Method Summary
 void directlyNotifyOfNewFile(File file)
           
 
Methods inherited from class org.springframework.integration.file.monitors.AbstractEventDrivenFileMonitor
installDirectoryIfRequired, monitor, onInit, prescan, publishNewFileReceived, publishNewFileReceived, setAutoCreateDirectory, setExecutor, setFilter, setMaxQueueSize, setScanDirectoryOnLoad, start
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectedEventDrivenFileMonitor

public DirectedEventDrivenFileMonitor()
Method Detail

directlyNotifyOfNewFile

public void directlyNotifyOfNewFile(File file)

Spring Integration

Copyright © 2010. All Rights Reserved.