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.Aware, 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, Artem Bilan, Gunnar Hillert

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 setDirectoryExpression(org.springframework.expression.Expression directoryExpression)
           
 void setExpectReply(boolean expectReply)
           
 void setFileExistsMode(java.lang.String fileExistsModeAsString)
           
 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, setAdviceChain, 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

setFileExistsMode

public void setFileExistsMode(java.lang.String fileExistsModeAsString)

setDirectory

public void setDirectory(java.io.File directory)

setCharset

public void setCharset(java.lang.String charset)

setDirectoryExpression

public void setDirectoryExpression(org.springframework.expression.Expression directoryExpression)

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)

setExpectReply

public void setExpectReply(boolean expectReply)

createHandler

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

Spring Integration