public class MailSessionFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>
Constructor and Description |
---|
MailSessionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected javax.mail.Session |
createInstance() |
Class<javax.mail.Session> |
getObjectType() |
void |
setPropertyPrefix(String propertyPrefix) |
public Class<javax.mail.Session> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<javax.mail.Session>
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>
public void setPropertyPrefix(String propertyPrefix)
protected javax.mail.Session createInstance() throws Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<javax.mail.Session>
Exception