Liferay 6.0.5

com.liferay.mail.util
Class MailSessionFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>
      extended by com.liferay.mail.util.MailSessionFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<javax.mail.Session>, org.springframework.beans.factory.InitializingBean

public class MailSessionFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
MailSessionFactoryBean()
           
 
Method Summary
protected  javax.mail.Session createInstance()
           
 Class<javax.mail.Session> getObjectType()
           
 void setPropertyPrefix(String propertyPrefix)
           
 
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
 

Constructor Detail

MailSessionFactoryBean

public MailSessionFactoryBean()
Method Detail

getObjectType

public Class<javax.mail.Session> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<javax.mail.Session>
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>

setPropertyPrefix

public void setPropertyPrefix(String propertyPrefix)

createInstance

protected javax.mail.Session createInstance()
                                     throws Exception
Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>
Throws:
Exception

Liferay 6.0.5