public class JavaMailConfig extends AbstractBeanConfig
Constructor and Description |
---|
JavaMailConfig() |
Modifier and Type | Method and Description |
---|---|
void |
initImpl() |
java.lang.Object |
replaceObject() |
void |
setAuthenticator(Authenticator auth)
Sets the authenticator
|
void |
setFrom(java.lang.String from)
mail.from
|
void |
setHost(java.lang.String host)
mail.host
|
void |
setImapHost(java.lang.String host)
mail.imap.host
|
void |
setImapUser(java.lang.String user)
mail.imap.user
|
void |
setPassword(java.lang.String password)
password
|
void |
setPop3Host(java.lang.String host)
mail.pop3.host
|
void |
setPop3User(java.lang.String user)
mail.pop3.user
|
void |
setProperties(java.util.Properties props) |
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets an attribute.
|
void |
setSmtpAuth(boolean isEnable)
mail.smtp.auth
|
void |
setSmtpHost(java.lang.String host)
mail.smtp.host
|
void |
setSmtpPort(int port)
mail.smtp.port
|
void |
setSmtpSsl(boolean ssl)
mail.smtp.ssl
|
void |
setSmtpUser(java.lang.String user)
mail.smtp.user
|
void |
setStoreProtocol(java.lang.String protocol)
mail.store.protocol
|
void |
setTransportProtocol(java.lang.String protocol)
mail.transport.protocol
|
void |
setUser(java.lang.String user)
mail.user
|
void |
setValue(java.util.Properties props) |
add, add, addBinding, buildAnnotatedType, deploy, getFilename, getInit, getInstanceClass, getJndiName, getLine, getName, init, setClass, setConfigLocation, setInit, setJndiName, setName, setScope
public void setAuthenticator(Authenticator auth)
public void setFrom(java.lang.String from)
public void setHost(java.lang.String host)
public void setImapHost(java.lang.String host)
public void setImapUser(java.lang.String user)
public void setPop3Host(java.lang.String host)
public void setPop3User(java.lang.String user)
public void setSmtpAuth(boolean isEnable)
public void setSmtpHost(java.lang.String host)
public void setSmtpSsl(boolean ssl)
public void setSmtpPort(int port)
public void setSmtpUser(java.lang.String user)
public void setStoreProtocol(java.lang.String protocol)
public void setTransportProtocol(java.lang.String protocol)
public void setUser(java.lang.String user)
public void setPassword(java.lang.String password)
public void setProperty(java.lang.String name, java.lang.String value)
public void setProperties(java.util.Properties props)
public void setValue(java.util.Properties props)
public void initImpl() throws ConfigException
initImpl
in class AbstractBeanConfig
ConfigException
public java.lang.Object replaceObject()
replaceObject
in class AbstractBeanConfig