public class FileTailInboundChannelAdapterFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport> implements org.springframework.beans.factory.BeanNameAware, org.springframework.context.SmartLifecycle, org.springframework.context.ApplicationEventPublisherAware
Constructor and Description |
---|
FileTailInboundChannelAdapterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected FileTailingMessageProducerSupport |
createInstance() |
java.lang.Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
setAutoStartup(boolean autoStartup) |
void |
setBeanName(java.lang.String name) |
void |
setDelay(java.lang.Long delay) |
void |
setEnd(java.lang.Boolean end) |
void |
setFile(java.io.File file) |
void |
setFileDelay(java.lang.Long fileDelay) |
void |
setNativeOptions(java.lang.String nativeOptions) |
void |
setOutputChannel(MessageChannel outputChannel) |
void |
setPhase(int phase) |
void |
setReopen(java.lang.Boolean reopen) |
void |
setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor) |
void |
setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler) |
void |
start() |
void |
stop() |
void |
stop(java.lang.Runnable callback) |
public FileTailInboundChannelAdapterFactoryBean()
public void setNativeOptions(java.lang.String nativeOptions)
public void setFile(java.io.File file)
public void setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
public void setDelay(java.lang.Long delay)
public void setFileDelay(java.lang.Long fileDelay)
public void setEnd(java.lang.Boolean end)
public void setReopen(java.lang.Boolean reopen)
public void setBeanName(java.lang.String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public void setOutputChannel(MessageChannel outputChannel)
public void setAutoStartup(boolean autoStartup)
public void setPhase(int phase)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public void stop(java.lang.Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<FileTailingMessageProducerSupport>
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport>
protected FileTailingMessageProducerSupport createInstance() throws java.lang.Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport>
java.lang.Exception