er.extensions.eof
Class ERXEditingContextDelegate
java.lang.Object
er.extensions.eof.ERXEditingContextDelegate
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ERXDefaultEditingContextDelegate, ERXECNoValidationDelegate
public class ERXEditingContextDelegate
- extends java.lang.Object
- implements java.io.Serializable
This delegate does nothing. It is used to
make the environment happy in that some
parts of the system require that a delegate
be set on the editing context. In those cases
use an instance of this delegate. All of the
other delegates subclass this delegate. The main
delegate that is used is ERXDefaultEditingContextDelegate
.
- See Also:
- Serialized Form
Field Summary |
static org.apache.log4j.Logger |
log
general logging support |
Method Summary |
static boolean |
_checkEditingContextDelegate(com.webobjects.eocontrol.EOEditingContext editingContext)
By default, and this should change in the future, all editing contexts that
are created and use ERXGenericRecords or subclasses need to have a delegate
set of instance ERXEditingContextDelegate . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
- general logging support
ERXEditingContextDelegate
public ERXEditingContextDelegate()
- No arg constructor for Serializable.
_checkEditingContextDelegate
public static boolean _checkEditingContextDelegate(com.webobjects.eocontrol.EOEditingContext editingContext)
- By default, and this should change in the future, all editing contexts that
are created and use ERXGenericRecords or subclasses need to have a delegate
set of instance
ERXEditingContextDelegate
. These delegates provide
the augmentation to the regular transaction mechanism, all of the will* methods
plus the flushCaching method. To change the default behaviour set the property:
er.extensions.ERXRaiseOnMissingEditingContextDelegate to false in your
WebObjects.properties file. This method is called when an object is fetched,
updated or inserted.
- Parameters:
editingContext
- to check for the correct delegate.
- Returns:
- if the editing context has the correct delegate set.
Copyright © 2002 – 2007 Project Wonder.