Class MailReceiverFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<MailReceiver>
org.springframework.integration.mail.config.MailReceiverFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<MailReceiver>
,InitializingBean
public class MailReceiverFactoryBean extends AbstractFactoryBean<MailReceiver>
- Since:
- 1.0.3
- Author:
- Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MailReceiverFactoryBean()
-
Method Summary
Modifier and Type Method Description protected MailReceiver
createInstance()
void
destroy()
Class<?>
getObjectType()
Boolean
isShouldMarkMessagesAsRead()
void
setAuthenticator(javax.mail.Authenticator authenticator)
void
setAutoCloseFolder(Boolean autoCloseFolder)
void
setEmbeddedPartsAsBytes(Boolean embeddedPartsAsBytes)
void
setHeaderMapper(HeaderMapper<javax.mail.internet.MimeMessage> headerMapper)
void
setJavaMailProperties(Properties javaMailProperties)
void
setMaxFetchSize(int maxFetchSize)
void
setProtocol(String protocol)
void
setSearchTermStrategy(SearchTermStrategy searchTermStrategy)
void
setSelectorExpression(Expression selectorExpression)
void
setSession(javax.mail.Session session)
void
setShouldDeleteMessages(Boolean shouldDeleteMessages)
void
setShouldMarkMessagesAsRead(Boolean shouldMarkMessagesAsRead)
void
setSimpleContent(Boolean simpleContent)
void
setStoreUri(String storeUri)
void
setUserFlag(String userFlag)
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
MailReceiverFactoryBean
public MailReceiverFactoryBean()
-
-
Method Details
-
setStoreUri
-
setProtocol
-
setSession
-
setJavaMailProperties
-
setAuthenticator
-
setShouldDeleteMessages
-
setShouldMarkMessagesAsRead
-
isShouldMarkMessagesAsRead
-
setMaxFetchSize
public void setMaxFetchSize(int maxFetchSize) -
setSelectorExpression
-
setSearchTermStrategy
-
setUserFlag
-
setHeaderMapper
-
setEmbeddedPartsAsBytes
-
setSimpleContent
-
setAutoCloseFolder
-
createInstance
- Specified by:
createInstance
in classAbstractFactoryBean<MailReceiver>
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<MailReceiver>
- Specified by:
getObjectType
in classAbstractFactoryBean<MailReceiver>
-
destroy
public void destroy()- Specified by:
destroy
in interfaceDisposableBean
- Overrides:
destroy
in classAbstractFactoryBean<MailReceiver>
-