Project Wonder 5.0

er.extensions.eof
Class ERXSharedEOLoader

java.lang.Object
  extended by er.extensions.eof.ERXSharedEOLoader

public class ERXSharedEOLoader
extends java.lang.Object

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


Field Summary
protected  com.webobjects.eoaccess.EOAdaptorContext _currentAdaptor
           
static ERXSharedEOLoader _defaultLoader
           
protected  boolean _didChangeDebugSetting
           
protected static boolean _loadingComplete
           
protected  com.webobjects.foundation.NSMutableArray _modelList
           
protected  int _transCount
           
static org.apache.log4j.Logger log
           
static java.lang.String PatchSharedEOLoadingPropertyKey
          holds the key to enable patched shared eo loading
 
Constructor Summary
ERXSharedEOLoader()
           
 
Method Summary
 void finalize()
           
 void loadSharedObjectsForModel(com.webobjects.eoaccess.EOModel aModel)
           
 void modelWasAddedNotification(com.webobjects.foundation.NSNotification aNotification)
           
 void objectStoreWasAdded(com.webobjects.foundation.NSNotification aNotification)
           
static void patchSharedEOLoading()
           
static void removeSharedEOLoadingPatch()
           
 void transactionBeginning(com.webobjects.foundation.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 org.apache.log4j.Logger log

PatchSharedEOLoadingPropertyKey

public static final java.lang.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 com.webobjects.foundation.NSMutableArray _modelList

_transCount

protected int _transCount

_didChangeDebugSetting

protected boolean _didChangeDebugSetting

_currentAdaptor

protected com.webobjects.eoaccess.EOAdaptorContext _currentAdaptor
Constructor Detail

ERXSharedEOLoader

public ERXSharedEOLoader()
Method Detail

patchSharedEOLoading

public static void patchSharedEOLoading()

removeSharedEOLoadingPatch

public static void removeSharedEOLoadingPatch()

finalize

public void finalize()
              throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

loadSharedObjectsForModel

public void loadSharedObjectsForModel(com.webobjects.eoaccess.EOModel aModel)

modelWasAddedNotification

public void modelWasAddedNotification(com.webobjects.foundation.NSNotification aNotification)

objectStoreWasAdded

public void objectStoreWasAdded(com.webobjects.foundation.NSNotification aNotification)

transactionBeginning

public void transactionBeginning(com.webobjects.foundation.NSNotification aNotification)

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

Copyright © 2002 – 2007 Project Wonder.