org.springframework.integration.file.monitors
Class DirectedEventDrivenFileMonitor
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.file.monitors.AbstractEventDrivenFileMonitor
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
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 |
DirectedEventDrivenFileMonitor
public DirectedEventDrivenFileMonitor()
directlyNotifyOfNewFile
public void directlyNotifyOfNewFile(File file)
Copyright © 2010. All Rights Reserved.