Spring Integration

org.springframework.integration.mail.config
Class MailReceiverFactoryBean

java.lang.Object
  extended by org.springframework.integration.mail.config.MailReceiverFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<MailReceiver>

public class MailReceiverFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<MailReceiver>, org.springframework.beans.factory.DisposableBean

Since:
1.0.3
Author:
Mark Fisher, Oleg Zhurakousky

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
MailReceiverFactoryBean()
           
 
Method Summary
 void destroy()
           
 MailReceiver getObject()
           
 java.lang.Class<?> getObjectType()
           
 java.lang.Boolean isShouldMarkMessagesAsRead()
           
 boolean isSingleton()
           
 void setAuthenticator(javax.mail.Authenticator authenticator)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

MailReceiverFactoryBean

public MailReceiverFactoryBean()
Method Detail

setStoreUri

public void setStoreUri(java.lang.String storeUri)

setProtocol

public void setProtocol(java.lang.String protocol)

setSession

public void setSession(javax.mail.Session session)

setJavaMailProperties

public void setJavaMailProperties(java.util.Properties javaMailProperties)

setAuthenticator

public void setAuthenticator(javax.mail.Authenticator authenticator)

setShouldDeleteMessages

public void setShouldDeleteMessages(java.lang.Boolean shouldDeleteMessages)

setShouldMarkMessagesAsRead

public void setShouldMarkMessagesAsRead(java.lang.Boolean shouldMarkMessagesAsRead)

isShouldMarkMessagesAsRead

public java.lang.Boolean isShouldMarkMessagesAsRead()

setMaxFetchSize

public void setMaxFetchSize(int maxFetchSize)

setSelectorExpression

public void setSelectorExpression(org.springframework.expression.Expression selectorExpression)

setSearchTermStrategy

public void setSearchTermStrategy(SearchTermStrategy searchTermStrategy)

getObject

public MailReceiver getObject()
                       throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<MailReceiver>
Throws:
java.lang.Exception

getObjectType

public java.lang.Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<MailReceiver>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<MailReceiver>

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception

Spring Integration