Class FileReadingMessageSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<FileReadingMessageSource>
org.springframework.integration.file.config.FileReadingMessageSourceFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<FileReadingMessageSource>
,InitializingBean
public class FileReadingMessageSourceFactoryBean
extends AbstractFactoryBean<FileReadingMessageSource>
implements BeanNameAware
- Since:
- 1.0.3
- Author:
- Mark Fisher, Iwein Fuld, Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FileReadingMessageSource
Class<?>
void
setAutoCreateDirectory
(Boolean autoCreateDirectory) void
setBeanName
(String name) void
setComparator
(Comparator<File> comparator) void
setDirectory
(File directory) void
setFilter
(FileListFilter<File> filter) void
setLocker
(AbstractFileLockerFilter locker) void
setQueueSize
(Integer queueSize) void
setScanEachPoll
(Boolean scanEachPoll) void
setScanner
(DirectoryScanner scanner) void
setUseWatchService
(boolean useWatchService) void
setWatchEvents
(FileReadingMessageSource.WatchEventType... watchEvents) Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
FileReadingMessageSourceFactoryBean
public FileReadingMessageSourceFactoryBean()
-
-
Method Details
-
setBeanName
- Specified by:
setBeanName
in interfaceBeanNameAware
-
setDirectory
-
setComparator
-
setScanner
-
setUseWatchService
public void setUseWatchService(boolean useWatchService) -
setWatchEvents
-
setFilter
-
setScanEachPoll
-
setAutoCreateDirectory
-
setQueueSize
-
setLocker
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<FileReadingMessageSource>
- Specified by:
getObjectType
in classAbstractFactoryBean<FileReadingMessageSource>
-
createInstance
- Specified by:
createInstance
in classAbstractFactoryBean<FileReadingMessageSource>
-