public class FileReadingMessageSourceFactoryBean extends Object implements FactoryBean<FileReadingMessageSource>, BeanFactoryAware
Constructor and Description |
---|
FileReadingMessageSourceFactoryBean() |
Modifier and Type | Method and Description |
---|---|
FileReadingMessageSource |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setAutoCreateDirectory(Boolean autoCreateDirectory) |
void |
setBeanFactory(BeanFactory beanFactory) |
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) |
public void setDirectory(File directory)
public void setComparator(Comparator<File> comparator)
public void setScanner(DirectoryScanner scanner)
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 void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public FileReadingMessageSource getObject() throws Exception
getObject
in interface FactoryBean<FileReadingMessageSource>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<FileReadingMessageSource>
public boolean isSingleton()
isSingleton
in interface FactoryBean<FileReadingMessageSource>