Spring Integration

org.springframework.integration.file.config
Class FileTailInboundChannelAdapterFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean<FileTailingMessageProducerSupport>
      extended by 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

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
FileTailInboundChannelAdapterFactoryBean()
           
 
Method Summary
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(long delay)
           
 void setEnd(java.lang.Boolean end)
           
 void setFile(java.io.File file)
           
 void setFileDelay(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)
           
 
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
 

Constructor Detail

FileTailInboundChannelAdapterFactoryBean

public FileTailInboundChannelAdapterFactoryBean()
Method Detail

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

Spring Integration