Spring Integration

org.springframework.integration.mail.config
Class MailReceiverFactoryBean

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

public class MailReceiverFactoryBean
extends Object
implements FactoryBean<MailReceiver>, DisposableBean

Since:
1.0.3
Author:
Mark Fisher

Constructor Summary
MailReceiverFactoryBean()
           
 
Method Summary
 void destroy()
           
 MailReceiver getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setAuthenticator(javax.mail.Authenticator authenticator)
           
 void setJavaMailProperties(Properties javaMailProperties)
           
 void setMaxFetchSize(int maxFetchSize)
           
 void setProtocol(String protocol)
           
 void setSession(javax.mail.Session session)
           
 void setShouldDeleteMessages(Boolean shouldDeleteMessages)
           
 void setStoreUri(String storeUri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailReceiverFactoryBean

public MailReceiverFactoryBean()
Method Detail

setStoreUri

public void setStoreUri(String storeUri)

setProtocol

public void setProtocol(String protocol)

setSession

public void setSession(javax.mail.Session session)

setJavaMailProperties

public void setJavaMailProperties(Properties javaMailProperties)

setAuthenticator

public void setAuthenticator(javax.mail.Authenticator authenticator)

setShouldDeleteMessages

public void setShouldDeleteMessages(Boolean shouldDeleteMessages)

setMaxFetchSize

public void setMaxFetchSize(int maxFetchSize)

getObject

public MailReceiver getObject()
                       throws Exception
Specified by:
getObject in interface FactoryBean<MailReceiver>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<MailReceiver>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<MailReceiver>

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface DisposableBean
Throws:
Exception

Spring Integration

Copyright © 2010. All Rights Reserved.