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
- Since:
- 1.0.3
- Author:
- Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MailReceiver
void
destroy()
Class<?>
void
setAuthenticator
(Authenticator authenticator) void
setAutoCloseFolder
(Boolean autoCloseFolder) void
setEmbeddedPartsAsBytes
(Boolean embeddedPartsAsBytes) void
setHeaderMapper
(HeaderMapper<MimeMessage> headerMapper) void
setJavaMailProperties
(Properties javaMailProperties) void
setMaxFetchSize
(int maxFetchSize) void
setProtocol
(String protocol) void
setSearchTermStrategy
(SearchTermStrategy searchTermStrategy) void
setSelectorExpression
(Expression selectorExpression) void
setSession
(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>
-