|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openeai.OpenEaiObject
public class OpenEaiObject
The parent of all OpenEAI related objects. This class makes several components that are part of OpenEAI frameworks available to descendants.
| Field Summary | |
|---|---|
static org.apache.log4j.Category |
logger
|
| Constructor Summary | |
|---|---|
OpenEaiObject()
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getAppName()
Returns the app name associated to this object. |
boolean |
getDebug()
|
java.lang.String |
getFromAddr()
Returns the from email address associated to the mail service in this object. |
java.lang.String |
getMailHost()
Returns the mail host associated to the mail service in this object. |
MailService |
getMailService()
Returns the MailService to be used within this instance of the class. |
java.util.Properties |
getProperties()
Returns the Properties to used within this instance of the class. |
java.lang.String |
getToAddr()
Returns the to email address associated to the mail service in this object. |
void |
initializeLog4j()
Initializes the static Log4J logger used by all decendants of OpenEaiObject with properties contained in the log4j properties object in this object. |
void |
initializeLog4j(java.util.Properties props)
Initializes the static Log4J logger used by all decendants of OpenEaiObject with properties found in the Properties object passed in. |
void |
initializeLog4j(java.lang.String fileName)
Initializes the static Log4J logger used by all decendants of OpenEaiObject with properties found in the file name passed in (a properties file). |
void |
setAppName(java.lang.String in)
Sets the app name associated to this object. |
void |
setDebug(boolean in)
Allows decendants of OpenEaiObject to support default Clone behavior. |
void |
setFromAddr(java.lang.String in)
Sets the from email address associated to the mail service in this object. |
void |
setMailHost(java.lang.String in)
Sets the mail host associated to the mail service in this object. |
void |
setMailService(MailService in)
Sets the MailService to be used within this instance of the class. |
void |
setProperties(java.util.Properties in)
Sets the properties to be used within this instance of the class. |
void |
setToAddr(java.lang.String in)
Sets the to email address associated to the mail service in this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.apache.log4j.Category logger
| Constructor Detail |
|---|
public OpenEaiObject()
| Method Detail |
|---|
public void initializeLog4j()
public void initializeLog4j(java.lang.String fileName)
fileName - String name of properties file.public void initializeLog4j(java.util.Properties props)
props - Properties pre-configured properties object containing Log4J properties.public void setDebug(boolean in)
public boolean getDebug()
public void setMailHost(java.lang.String in)
in - String name of the mail host.public java.lang.String getMailHost()
public void setFromAddr(java.lang.String in)
in - String from address (from whom the email messages are being sent).public java.lang.String getFromAddr()
public void setToAddr(java.lang.String in)
in - String to address (who the message will be sent to).public java.lang.String getToAddr()
public void setAppName(java.lang.String in)
in - Stringpublic java.lang.String getAppName()
public void setMailService(MailService in)
in - MailService the MailService to use within this instance.public MailService getMailService()
public void setProperties(java.util.Properties in)
in - Properties the Properties to use within this instance.public java.util.Properties getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||