public class FileReadingMessageSourceFactoryBean extends AbstractFactoryBean<FileReadingMessageSource> implements BeanNameAware
logger
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
FileReadingMessageSourceFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected FileReadingMessageSource |
createInstance() |
Class<?> |
getObjectType() |
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) |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setDirectory(File directory)
public void setComparator(Comparator<File> comparator)
public void setScanner(DirectoryScanner scanner)
public void setUseWatchService(boolean useWatchService)
public void setWatchEvents(FileReadingMessageSource.WatchEventType... watchEvents)
public void setFilter(FileListFilter<File> filter)
public void setScanEachPoll(Boolean scanEachPoll)
public void setAutoCreateDirectory(Boolean autoCreateDirectory)
public void setQueueSize(Integer queueSize)
public void setLocker(AbstractFileLockerFilter locker)
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<FileReadingMessageSource>
getObjectType
in class AbstractFactoryBean<FileReadingMessageSource>
protected FileReadingMessageSource createInstance()
createInstance
in class AbstractFactoryBean<FileReadingMessageSource>