Spring Integration

org.springframework.integration.ftp.inbound
Class FtpInboundFileSynchronizingMessageSource

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.endpoint.AbstractEndpoint
          extended by org.springframework.integration.endpoint.MessageProducerSupport
              extended by org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizingMessageSource<org.apache.commons.net.ftp.FTPFile>
                  extended by org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizingMessageSource
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, NamedComponent, MessageProducer, MessageSource<java.io.File>, TrackableComponent

public class FtpInboundFileSynchronizingMessageSource
extends AbstractInboundFileSynchronizingMessageSource<org.apache.commons.net.ftp.FTPFile>

A MessageSource implementation for FTP.

Since:
2.0
Author:
Iwein Fuld, Josh Long, Mark Fisher, Oleg Zhurakousky

Field Summary
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Constructor Summary
FtpInboundFileSynchronizingMessageSource(AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile> synchronizer)
           
FtpInboundFileSynchronizingMessageSource(AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile> synchronizer, java.util.Comparator<java.io.File> comparator)
           
 
Method Summary
 java.lang.String getComponentType()
          Subclasses may implement this method to provide component type information.
 
Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizingMessageSource
onInit, receive, setAutoCreateLocalDirectory, setLocalDirectory
 
Methods inherited from class org.springframework.integration.endpoint.MessageProducerSupport
doStart, doStop, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
 
Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Constructor Detail

FtpInboundFileSynchronizingMessageSource

public FtpInboundFileSynchronizingMessageSource(AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile> synchronizer)

FtpInboundFileSynchronizingMessageSource

public FtpInboundFileSynchronizingMessageSource(AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile> synchronizer,
                                                java.util.Comparator<java.io.File> comparator)
Method Detail

getComponentType

public java.lang.String getComponentType()
Description copied from class: IntegrationObjectSupport
Subclasses may implement this method to provide component type information.

Specified by:
getComponentType in interface NamedComponent
Overrides:
getComponentType in class IntegrationObjectSupport

Spring Integration