Configuration
FastForward
2-11
All the other parameters will be read from the properties file, or the default values
will be used. If other parameters are defined property, you can bypass the login.
Note that all parameters values are string. Also, if a parameter is defined through
request
, it will override the corresponding parameter in the properties file.
2.3.0.3.3
Mail Configuration Class
For Mail configuration, you can define your own configuration class to do more
advanced configuration. For example, select mail server host name based on
runtime information.
To do this, you must define a class which implements
oracle.panama.module.communicate.mail.util.IConfig
, and in package
oracle.panama.module.communicate.mail.util
. In the class, you can define the
following methods:
Table 2–5
Mail configuration class
PTG_VERSION
Definition,
possible values, and default values are the same as the
"oracle.panama.version" in the properties file.
STUDIO
Definition,
possible values, and default values are the same as the
"studio" in the properties file
String getMailService(Object o)
Returns the mail service. The current
supported services are IMAP and POP3.
String getDomain(Object o)
Returns the default mail domain.
String getServerName(Object o)
Returns the mail server host name.
int getServerPort(Object o)
Returns the mail server port number. Make
sure it is a valid number.
String
getSMTPServerName(Object o)
Returns the SMTP server host name.
int getSMTPServerPort(Object o)
Returns the SMTP server port number. Make
sure it is a valid number.
String getSMPTLogin(Object o)
Returns the login name of the SMTP server.
If login for SMTP is not required, this method
should return null or empty string (""),
otherwise, the value will be used for SMTP
login.
Содержание Application 9i
Страница 8: ...viii ...
Страница 12: ...xii ...
Страница 16: ...xvi ...
Страница 30: ...JDBC Connection Pooling 1 14 Oracle9i Application Server Wireless Edition Configuration Guide ...
Страница 52: ...Request and Notification Queue Pool 3 8 Oracle9i Application Server Wireless Edition Configuration Guide ...
Страница 104: ...Recommended Unix TCP Parameters 9 4 Oracle9i Application Server Wireless Edition Configuration Guide ...
Страница 136: ...Cookies properties 10 32 Oracle9i Application Server Wireless Edition Configuration Guide ...
Страница 140: ...Index 4 provisioning adapter 1 12 upgrading 1 7 www server properties 10 20 X XML 8 1 Xslt utility 8 6 ...