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 EOEditingContext |
editingContext
holds the editing context
|
bccAddresses, ccAddresses, computedFromAddress, conditionsChecked, domainName, exceptionPageName, formatAsError, fromAddress, hostName, qualifier, realQualifier, replyTo, title, titleIncludesApplicationName, titleIncludesPriorityLevel, toAddresses
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
Constructor and Description |
---|
ERCMailMessageAppender()
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
static EOEnterpriseObject |
actor()
Gets the actor.
|
static EOEnterpriseObject |
actor(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.
|
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(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, toAddressesAsArray
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
protected static final ERXEditingContextDelegate _delegate
protected EOEditingContext editingContext
public static void setActor(EOEnterpriseObject actor)
actor
- current user for this threadpublic static EOEnterpriseObject actor(EOEditingContext ec)
ec
- editing context to pull a local copy of the actor
intopublic static EOEnterpriseObject actor()
protected boolean hasCooperatingObjectStores()
public EOEditingContext editingContext()
public String getExceptionPageName()
getExceptionPageName
in class ERXMailAppender
public NSMutableDictionary composeExceptionPageDictionary(LoggingEvent event)
composeExceptionPageDictionary
in class ERXMailAppender
event
- logging eventpublic void subAppend(LoggingEvent event)
subAppend
in class ERXMailAppender
event
- logging eventCopyright © 2002 – 2017 Project Wonder.