public class ERCMailMessageAppender extends ERXMailAppender
ERCMailDelivery.for more info.| Modifier and Type | Field and Description |
|---|---|
protected static ERXEditingContextDelegate |
_delegate
caches the no-op editing context delegate
|
protected com.webobjects.eocontrol.EOEditingContext |
editingContext
holds the editing context
|
bccAddresses, ccAddresses, computedFromAddress, conditionsChecked, domainName, exceptionPageName, formatAsError, fromAddress, hostName, qualifier, realQualifier, replyTo, title, titleIncludesApplicationName, titleIncludesPriorityLevel, toAddressesclosed, errorHandler, headFilter, layout, name, tailFilter, threshold| Constructor and Description |
|---|
ERCMailMessageAppender()
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static com.webobjects.eocontrol.EOEnterpriseObject |
actor()
Gets the actor.
|
static com.webobjects.eocontrol.EOEnterpriseObject |
actor(com.webobjects.eocontrol.EOEditingContext ec)
Gets the actor as a local instance in the given context.
|
NSMutableDictionary |
composeExceptionPageDictionary(LoggingEvent event)
Overridden to add the Actor into the dictionary.
|
com.webobjects.eocontrol.EOEditingContext |
editingContext()
Gets the editing context to use for creating
mail messages in.
|
String |
getExceptionPageName()
Overridden because we want to use our own page
|
protected boolean |
hasCooperatingObjectStores()
We want the ability to warn if we are going to be
creating the first cooperating object store.
|
static void |
setActor(com.webobjects.eocontrol.EOEnterpriseObject actor)
Sets the actor in the current thread storage.
|
void |
subAppend(LoggingEvent event)
Where the actual logging event is processed and a
mail message is generated.
|
append, bccAddresses, bccAddressesAsArray, ccAddresses, ccAddressesAsArray, checkConditions, close, composeMessage, composeTitle, computedFromAddress, formatAsError, formatAsErrorAsBoolean, getDomainName, getFromAddress, getHostName, getQualifier, getReplyTo, getTitle, getToAddresses, realQualifier, requiresLayout, setBccAddresses, setCcAddresses, setDomainName, setExceptionPageName, setFormatAsError, setFromAddress, setHostName, setQualifier, setReplyTo, setTitle, setTitleIncludesApplicationName, setTitleIncludesPriorityLevel, setToAddresses, titleIncludesApplicationName, titleIncludesApplicationNameAsBoolean, titleIncludesPriorityLevel, titleIncludesPriorityLevelAsBoolean, toAddressesAsArrayactivateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThresholdprotected static final ERXEditingContextDelegate _delegate
protected com.webobjects.eocontrol.EOEditingContext editingContext
public static void setActor(com.webobjects.eocontrol.EOEnterpriseObject actor)
actor - current user for this threadpublic static com.webobjects.eocontrol.EOEnterpriseObject actor(com.webobjects.eocontrol.EOEditingContext ec)
ec - editing context to pull a local copy of the actor
intopublic static com.webobjects.eocontrol.EOEnterpriseObject actor()
protected boolean hasCooperatingObjectStores()
public com.webobjects.eocontrol.EOEditingContext editingContext()
public String getExceptionPageName()
getExceptionPageName in class ERXMailAppenderpublic NSMutableDictionary composeExceptionPageDictionary(LoggingEvent event)
composeExceptionPageDictionary in class ERXMailAppenderevent - logging eventpublic void subAppend(LoggingEvent event)
subAppend in class ERXMailAppenderevent - logging eventCopyright © 2002 – 2020 Project Wonder.