org.kuali.rice.core.mail
Class MailSenderFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
org.kuali.rice.core.mail.MailSenderFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
public class MailSenderFactoryBean
- extends org.springframework.beans.factory.config.AbstractFactoryBean
A factory bean which reads mail-related properties from the Configuration system and
generates a Spring Java Mail Sender instance for use by services that send e-mail.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
logger |
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected final org.apache.log4j.Logger LOG
MAIL_PREFIX
private static final String MAIL_PREFIX
- See Also:
- Constant Field Values
USERNAME_PROPERTY
private static final String USERNAME_PROPERTY
- See Also:
- Constant Field Values
PASSWORD_PROPERTY
private static final String PASSWORD_PROPERTY
- See Also:
- Constant Field Values
HOST_PROPERTY
private static final String HOST_PROPERTY
- See Also:
- Constant Field Values
PORT_PROPERTY
private static final String PORT_PROPERTY
- See Also:
- Constant Field Values
mailSession
private javax.mail.Session mailSession
MailSenderFactoryBean
public MailSenderFactoryBean()
createInstance
protected Object createInstance()
throws Exception
- Specified by:
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
- Specified by:
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.