Project Wonder 2.0

er.extensions
Class ERXSharedEOLoader

java.lang.Object
  extended byer.extensions.ERXSharedEOLoader

public class ERXSharedEOLoader
extends Object

Java port of Kelly Hawk's shared EO loader. Works around a bug with shared eos and multiple models.


Field Summary
protected  EOAdaptorContext _currentAdaptor
           
static ERXSharedEOLoader _defaultLoader
           
protected  boolean _didChangeDebugSetting
           
protected static boolean _loadingComplete
           
protected  NSMutableArray _modelList
           
protected  int _transCount
           
static ERXLogger log
           
static String PatchSharedEOLoadingPropertyKey
          holds the key to enable patched shared eo loading
 
Constructor Summary
ERXSharedEOLoader()
           
 
Method Summary
 void finalize()
           
 void loadSharedObjectsForModel(EOModel aModel)
           
 void modelWasAddedNotification(NSNotification aNotification)
           
 void objectStoreWasAdded(NSNotification aNotification)
           
static void patchSharedEOLoading()
           
static void removeSharedEOLoadingPatch()
           
 void transactionBeginning(NSNotification aNotification)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final ERXLogger log

PatchSharedEOLoadingPropertyKey

public static final String PatchSharedEOLoadingPropertyKey
holds the key to enable patched shared eo loading

See Also:
Constant Field Values

_defaultLoader

public static ERXSharedEOLoader _defaultLoader

_loadingComplete

protected static boolean _loadingComplete

_modelList

protected NSMutableArray _modelList

_transCount

protected int _transCount

_didChangeDebugSetting

protected boolean _didChangeDebugSetting

_currentAdaptor

protected EOAdaptorContext _currentAdaptor
Constructor Detail

ERXSharedEOLoader

public ERXSharedEOLoader()
Method Detail

patchSharedEOLoading

public static void patchSharedEOLoading()

removeSharedEOLoadingPatch

public static void removeSharedEOLoadingPatch()

finalize

public void finalize()
              throws Throwable
Throws:
Throwable

loadSharedObjectsForModel

public void loadSharedObjectsForModel(EOModel aModel)

modelWasAddedNotification

public void modelWasAddedNotification(NSNotification aNotification)

objectStoreWasAdded

public void objectStoreWasAdded(NSNotification aNotification)

transactionBeginning

public void transactionBeginning(NSNotification aNotification)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.