|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The configuration interface for the email component.
Copyright 2002 Sapient
Field Summary | |
static boolean |
HoldConnection
Default value for Hold Connection property, if configuration does not specify Hold Connection, the dafault value would be returned. |
static boolean |
JavaMailDebugMode
JavaMailDebugMode sets the debug setting in the mail session. |
static int |
RetryAttempts
Default value for Retry Attempts, if configuration does not specify Retry Attempts, the dafault value would be returned. |
static long |
SleepTimeInMilliSecs
Default value for Sleep time, if configuration does not specify Sleep time, the dafault value would be returned. |
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
ComponentTemplateName |
Method Summary | |
boolean |
getHoldConnection()
A boolean property indicating whether or not the email service will create and keep open a connection to the SMTP host for its lifetime. |
boolean |
getJavaMailDebugMode()
JavaMailDebugMode sets the debug setting in the mail session. |
int |
getRetryAttempts()
This indicates the number of retry attempts to be made with SMTP server to send an email. |
long |
getSleepTimeInMilliSecs()
This indicates the time in milliseconds the thread would sleep before attempting to re-connect with smtp server. |
String |
getSmtpHost()
Returns the SMTP host name or ip address. |
void |
setHoldConnection(boolean holdConnection)
Setter for Hold Connection property. |
void |
setJavaMailDebugMode(boolean debugMode)
JavaMailDebugMode sets the debug setting in the mail session. |
void |
setRetryAttempts()
Setter for Retry attempts. |
void |
setSleepTimeInMilliSecs()
Setter for Sleep time in millisecs. |
void |
setSmtpHost(String smtpHost)
Setter for SMTP host name or ip address. |
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Field Detail |
public static final boolean HoldConnection
Default value for Hold Connection property, if configuration does not specify Hold Connection, the dafault value would be returned.
public static final int RetryAttempts
Default value for Retry Attempts, if configuration does not specify Retry Attempts, the dafault value would be returned.
public static final long SleepTimeInMilliSecs
Default value for Sleep time, if configuration does not specify Sleep time, the dafault value would be returned.
public static final boolean JavaMailDebugMode
Method Detail |
public String getSmtpHost()
Returns the SMTP host name or ip address.
public boolean getHoldConnection()
A boolean property indicating whether or not the email service will create and keep open a connection to the SMTP host for its lifetime. If set to true, the connection will not be closed until the email service is shutdown. If set to false a new connection will be opened for each email sent.
public int getRetryAttempts()
This indicates the number of retry attempts to be made with SMTP server to send an email.
public long getSleepTimeInMilliSecs()
This indicates the time in milliseconds the thread would sleep before attempting to re-connect with smtp server. If retry attempts is 0 you don't need to specify this property.
public void setSmtpHost(String smtpHost)
Setter for SMTP host name or ip address.
smtpHost
- the hostname or ip addresspublic void setHoldConnection(boolean holdConnection)
Setter for Hold Connection property.
holdConnection
- indicates the connection should be heldpublic void setRetryAttempts()
Setter for Retry attempts.
public void setSleepTimeInMilliSecs()
Setter for Sleep time in millisecs.
public boolean getJavaMailDebugMode()
public void setJavaMailDebugMode(boolean debugMode)
debugMode
- setting for debug mode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |