org.springframework.integration.file.config
Class FileTailInboundChannelAdapterFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport>
org.springframework.integration.file.config.FileTailInboundChannelAdapterFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<FileTailingMessageProducerSupport>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
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
- Since:
- 3.0
- Author:
- Gary Russell
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
logger |
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTailInboundChannelAdapterFactoryBean
public FileTailInboundChannelAdapterFactoryBean()
setNativeOptions
public void setNativeOptions(java.lang.String nativeOptions)
setFile
public void setFile(java.io.File file)
setTaskExecutor
public void setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
setTaskScheduler
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
setDelay
public void setDelay(long delay)
setFileDelay
public void setFileDelay(long fileDelay)
setEnd
public void setEnd(java.lang.Boolean end)
setReopen
public void setReopen(java.lang.Boolean reopen)
setBeanName
public void setBeanName(java.lang.String name)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
setOutputChannel
public void setOutputChannel(MessageChannel outputChannel)
setAutoStartup
public void setAutoStartup(boolean autoStartup)
setPhase
public void setPhase(int phase)
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
- Specified by:
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
start
public void start()
- Specified by:
start
in interface org.springframework.context.Lifecycle
stop
public void stop()
- Specified by:
stop
in interface org.springframework.context.Lifecycle
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface org.springframework.context.Lifecycle
getPhase
public int getPhase()
- Specified by:
getPhase
in interface org.springframework.context.Phased
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartup
in interface org.springframework.context.SmartLifecycle
stop
public void stop(java.lang.Runnable callback)
- Specified by:
stop
in interface org.springframework.context.SmartLifecycle
getObjectType
public java.lang.Class<?> getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean<FileTailingMessageProducerSupport>
- Specified by:
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport>
createInstance
protected FileTailingMessageProducerSupport createInstance()
throws java.lang.Exception
- Specified by:
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport>
- Throws:
java.lang.Exception