public class MailReceiverFactoryBean extends AbstractFactoryBean<MailReceiver>
logger
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
MailReceiverFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected MailReceiver |
createInstance() |
void |
destroy() |
Class<?> |
getObjectType() |
Boolean |
isShouldMarkMessagesAsRead() |
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) |
afterPropertiesSet, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public void setJavaMailProperties(@Nullable Properties javaMailProperties)
public void setAuthenticator(@Nullable Authenticator authenticator)
public void setShouldMarkMessagesAsRead(@Nullable Boolean shouldMarkMessagesAsRead)
public Boolean isShouldMarkMessagesAsRead()
public void setMaxFetchSize(int maxFetchSize)
public void setSelectorExpression(@Nullable Expression selectorExpression)
public void setSearchTermStrategy(@Nullable SearchTermStrategy searchTermStrategy)
public void setHeaderMapper(@Nullable HeaderMapper<MimeMessage> headerMapper)
protected MailReceiver createInstance()
createInstance
in class AbstractFactoryBean<MailReceiver>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<MailReceiver>
getObjectType
in class AbstractFactoryBean<MailReceiver>
public void destroy()
destroy
in interface DisposableBean
destroy
in class AbstractFactoryBean<MailReceiver>