public class MailReceiverFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<MailReceiver>, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanFactoryAware
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
MailReceiverFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
MailReceiver |
getObject() |
java.lang.Class<?> |
getObjectType() |
java.lang.Boolean |
isShouldMarkMessagesAsRead() |
boolean |
isSingleton() |
void |
setAuthenticator(javax.mail.Authenticator authenticator) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setJavaMailProperties(java.util.Properties javaMailProperties) |
void |
setMaxFetchSize(int maxFetchSize) |
void |
setProtocol(java.lang.String protocol) |
void |
setSearchTermStrategy(SearchTermStrategy searchTermStrategy) |
void |
setSelectorExpression(org.springframework.expression.Expression selectorExpression) |
void |
setSession(javax.mail.Session session) |
void |
setShouldDeleteMessages(java.lang.Boolean shouldDeleteMessages) |
void |
setShouldMarkMessagesAsRead(java.lang.Boolean shouldMarkMessagesAsRead) |
void |
setStoreUri(java.lang.String storeUri) |
public void setStoreUri(java.lang.String storeUri)
public void setProtocol(java.lang.String protocol)
public void setSession(javax.mail.Session session)
public void setJavaMailProperties(java.util.Properties javaMailProperties)
public void setAuthenticator(javax.mail.Authenticator authenticator)
public void setShouldDeleteMessages(java.lang.Boolean shouldDeleteMessages)
public void setShouldMarkMessagesAsRead(java.lang.Boolean shouldMarkMessagesAsRead)
public java.lang.Boolean isShouldMarkMessagesAsRead()
public void setMaxFetchSize(int maxFetchSize)
public void setSelectorExpression(org.springframework.expression.Expression selectorExpression)
public void setSearchTermStrategy(SearchTermStrategy searchTermStrategy)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public MailReceiver getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<MailReceiver>
java.lang.Exception
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<MailReceiver>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<MailReceiver>
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception