public class FileTailInboundChannelAdapterFactoryBean extends AbstractFactoryBean<FileTailingMessageProducerSupport> implements BeanNameAware, SmartLifecycle, ApplicationEventPublisherAware
logger
Constructor and Description |
---|
FileTailInboundChannelAdapterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected FileTailingMessageProducerSupport |
createInstance() |
Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void |
setAutoStartup(boolean autoStartup) |
void |
setBeanName(String name) |
void |
setDelay(Long delay) |
void |
setEnd(Boolean end) |
void |
setFile(File file) |
void |
setFileDelay(Long fileDelay) |
void |
setNativeOptions(String nativeOptions) |
void |
setOutputChannel(MessageChannel outputChannel) |
void |
setPhase(int phase) |
void |
setReopen(Boolean reopen) |
void |
setTaskExecutor(TaskExecutor taskExecutor) |
void |
setTaskScheduler(TaskScheduler taskScheduler) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public FileTailInboundChannelAdapterFactoryBean()
public void setNativeOptions(String nativeOptions)
public void setFile(File file)
public void setTaskExecutor(TaskExecutor taskExecutor)
public void setTaskScheduler(TaskScheduler taskScheduler)
public void setDelay(Long delay)
public void setFileDelay(Long fileDelay)
public void setEnd(Boolean end)
public void setReopen(Boolean reopen)
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public void setOutputChannel(MessageChannel outputChannel)
public void setAutoStartup(boolean autoStartup)
public void setPhase(int phase)
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface ApplicationEventPublisherAware
public boolean isAutoStartup()
isAutoStartup
in interface SmartLifecycle
public void stop(Runnable callback)
stop
in interface SmartLifecycle
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<FileTailingMessageProducerSupport>
getObjectType
in class AbstractFactoryBean<FileTailingMessageProducerSupport>
protected FileTailingMessageProducerSupport createInstance() throws Exception
createInstance
in class AbstractFactoryBean<FileTailingMessageProducerSupport>
Exception