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, toAddresses
closed, 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, toAddressesAsArray
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
protected 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 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 – 2020 Project Wonder.