Spring Integration

org.springframework.integration.file.config
Class FileWritingMessageHandlerFactoryBean

java.lang.Object
  extended by org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>
      extended by org.springframework.integration.file.config.FileWritingMessageHandlerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<MessageHandler>

public class FileWritingMessageHandlerFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>

Factory bean used to create FileWritingMessageHandlers.

Since:
1.0.3
Author:
Mark Fisher, Iwein Fuld, Oleg Zhurakousky, Gary Russell

Constructor Summary
FileWritingMessageHandlerFactoryBean()
           
 
Method Summary
protected  FileWritingMessageHandler createHandler()
           
 void setAutoCreateDirectory(java.lang.Boolean autoCreateDirectory)
           
 void setCharset(java.lang.String charset)
           
 void setDeleteSourceFiles(java.lang.Boolean deleteSourceFiles)
           
 void setDirectory(java.io.File directory)
           
 void setFileNameGenerator(FileNameGenerator fileNameGenerator)
           
 void setRequiresReply(java.lang.Boolean requiresReply)
           
 void setSendTimeout(java.lang.Long sendTimeout)
           
 void setTemporaryFileSuffix(java.lang.String temporaryFileSuffix)
           
 
Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setBeanFactory, setOrder, setOutputChannel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileWritingMessageHandlerFactoryBean

public FileWritingMessageHandlerFactoryBean()
Method Detail

setDirectory

public void setDirectory(java.io.File directory)

setCharset

public void setCharset(java.lang.String charset)

setFileNameGenerator

public void setFileNameGenerator(FileNameGenerator fileNameGenerator)

setDeleteSourceFiles

public void setDeleteSourceFiles(java.lang.Boolean deleteSourceFiles)

setAutoCreateDirectory

public void setAutoCreateDirectory(java.lang.Boolean autoCreateDirectory)

setRequiresReply

public void setRequiresReply(java.lang.Boolean requiresReply)

setSendTimeout

public void setSendTimeout(java.lang.Long sendTimeout)

setTemporaryFileSuffix

public void setTemporaryFileSuffix(java.lang.String temporaryFileSuffix)

createHandler

protected FileWritingMessageHandler createHandler()
Specified by:
createHandler in class AbstractSimpleMessageHandlerFactoryBean<FileWritingMessageHandler>

Spring Integration