Project Wonder 5.0

er.extensions.eof
Class ERXAdaptorOperationWrapper

java.lang.Object
  extended by 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

Field Summary
static java.lang.String AdaptorOperationsDidPerformNotification
           
static com.webobjects.foundation.NSRecursiveLock adaptorOperationsLock
           
static org.apache.log4j.Logger log
           
 
Constructor Summary
ERXAdaptorOperationWrapper(com.webobjects.eoaccess.EOAdaptorOperation aop)
           
 
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
 

Field Detail

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
Constructor Detail

ERXAdaptorOperationWrapper

public ERXAdaptorOperationWrapper(com.webobjects.eoaccess.EOAdaptorOperation aop)
Method Detail

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)

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.