er.extensions.eof
Class ERXAdaptorOperationWrapper
java.lang.Object
er.extensions.eof.ERXAdaptorOperationWrapper
- All Implemented Interfaces:
- java.io.Serializable
public class ERXAdaptorOperationWrapper
- extends java.lang.Object
- implements java.io.Serializable
This class is a wrapper for the EOAdaptorOperation class
in order to serialized the information from an EOAdaptorOperation to files.
It can used for example by ERXDatabaseContextDelegate to serialize
operations to disk, useful for cross database replications.
- See Also:
- Serialized Form
- Author:
- david@cluster9.com, ak moved stuff from ERXEOAccessUtilities to here
Method Summary |
static void |
adaptorOperationsDidPerform(com.webobjects.foundation.NSArray ops)
|
com.webobjects.eoaccess.EOAdaptorOperation |
operation()
|
static void |
performWrappedAdaptorOperations(com.webobjects.foundation.NSArray ops)
Unwraps and performs the supplied adaptor operations. |
static com.webobjects.foundation.NSArray |
wrappedAdaptorOperations(com.webobjects.foundation.NSArray adaptorOps)
Returns an array of ERXAdaptorOperations that can be serialzed to the transport of your choice. |
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
adaptorOperationsLock
public static final com.webobjects.foundation.NSRecursiveLock adaptorOperationsLock
AdaptorOperationsDidPerformNotification
public static final java.lang.String AdaptorOperationsDidPerformNotification
- See Also:
- Constant Field Values
ERXAdaptorOperationWrapper
public ERXAdaptorOperationWrapper(com.webobjects.eoaccess.EOAdaptorOperation aop)
operation
public com.webobjects.eoaccess.EOAdaptorOperation operation()
wrappedAdaptorOperations
public static com.webobjects.foundation.NSArray wrappedAdaptorOperations(com.webobjects.foundation.NSArray adaptorOps)
- Returns an array of ERXAdaptorOperations that can be serialzed to the transport of your choice.
- Parameters:
adaptorOps
-
performWrappedAdaptorOperations
public static void performWrappedAdaptorOperations(com.webobjects.foundation.NSArray ops)
- Unwraps and performs the supplied adaptor operations.
- Parameters:
ops
-
adaptorOperationsDidPerform
public static void adaptorOperationsDidPerform(com.webobjects.foundation.NSArray ops)
Copyright © 2002 – 2007 Project Wonder.