|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.MailConfiguration
public class MailConfiguration
This class represent the configuration information of the JavaMail Session object within J2EE.
| Constructor Summary | |
|---|---|
MailConfiguration(MailResourceIntf mailRes)
Construct a specification of mail configuration. |
|
MailConfiguration(java.lang.String username,
java.lang.String mailFrom)
Deprecated. |
|
MailConfiguration(java.lang.String username,
java.lang.String mailFrom,
java.lang.String mailHost)
Construct a specification of mail configuration with the given username, Mail From Address and mail hostname. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get the mail description for the mail session the server will provide. |
boolean |
getEnabled()
Get the mail enable flag for the mail session the server will provide. |
java.lang.String |
getJndiName()
Get the mail JNDI name for the mail session the server will provide. |
boolean |
getMailDebug()
Get the mail debug flag for the mail session the server will provide. |
java.lang.String |
getMailFrom()
Get the mail from address for the mail session the server will provide. |
java.lang.String |
getMailHost()
Get the mail hostname for the mail session the server will provide. |
java.util.Properties |
getMailProperties()
Get the mail session properties as per JavaMail. |
java.lang.String |
getMailStoreProtocol()
Get the default Message Access Protocol for the mail session the server will provide. |
java.lang.String |
getMailStoreProtocolClass()
Get the default Message Access Protocol class for the mail session the server will provide. |
java.lang.String |
getMailTransportProtocol()
Get the default Transport Protocol for the mail session the server will provide. |
java.lang.String |
getMailTransportProtocolClass()
Get the default Transport Protocol class for the mail session the server will provide. |
java.lang.String |
getUsername()
Get the username for the mail session the server will provide. |
void |
print(java.lang.StringBuffer toStringBuffer)
A formatted representation of my state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailConfiguration(java.lang.String username,
java.lang.String mailFrom)
the - usernamethe - from address
public MailConfiguration(java.lang.String username,
java.lang.String mailFrom,
java.lang.String mailHost)
the - username.the - from address.the - mail hostname.public MailConfiguration(MailResourceIntf mailRes)
| Method Detail |
|---|
public java.lang.String getUsername()
public java.lang.String getMailFrom()
public java.lang.String getMailHost()
public java.lang.String getMailStoreProtocol()
public java.lang.String getMailTransportProtocol()
public java.lang.String getMailStoreProtocolClass()
public java.lang.String getMailTransportProtocolClass()
public boolean getMailDebug()
public java.lang.String getDescription()
public java.lang.String getJndiName()
public boolean getEnabled()
public java.util.Properties getMailProperties()
public void print(java.lang.StringBuffer toStringBuffer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||