Project Wonder 2.0

er.extensions
Class ERXObjectStoreCoordinatorSynchronizer

java.lang.Object
  extended byer.extensions.ERXObjectStoreCoordinatorSynchronizer

public class ERXObjectStoreCoordinatorSynchronizer
extends Object

Synchronizes different EOF stacks inside an instance. This supplements the change notification frameworks that sync different instances and should help you to run multithreaded. After calling initialize(), every ObjectStoreCoordinator that gets created will be added to the list of stacks to sync. You will need to add any stack created before initalization manually.


Method Summary
 void addObjectStore(EOObjectStoreCoordinator osc)
           
static void initialize()
           
 void objectStoreWasAdded(NSNotification n)
           
 void objectStoreWasRemoved(NSNotification n)
           
 void publishChange(NSNotification n)
           
 void removeObjectStore(EOObjectStoreCoordinator osc)
           
static ERXObjectStoreCoordinatorSynchronizer synchronizer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initialize

public static void initialize()

synchronizer

public static ERXObjectStoreCoordinatorSynchronizer synchronizer()

objectStoreWasRemoved

public void objectStoreWasRemoved(NSNotification n)

objectStoreWasAdded

public void objectStoreWasAdded(NSNotification n)

addObjectStore

public void addObjectStore(EOObjectStoreCoordinator osc)

removeObjectStore

public void removeObjectStore(EOObjectStoreCoordinator osc)

publishChange

public void publishChange(NSNotification n)

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

Copyright © 2002 – 2004 Project Wonder.