
Public Member Functions | |
| void | initialize () |
| void | modelAdded (NSNotification n) |
| void | modelRemoved (NSNotification n) |
| void | resetWonderEntityCache (NSNotification notification) |
| void | storeCoordinatorAdded (NSNotification n) |
| void | storeCoordinatorRemoved (NSNotification n) |
| synchronized void | updateLoadedModels (NSNotification n) |
Static Public Member Functions | |
| static WOJRebelEOModelReloadHandler | getInstance () |
Private Member Functions | |
| void | flushCaches () |
| long | lastModified (EOModel model) |
| void | reloadModel (EOModel model) |
| boolean | shouldUpdateModel (EOModel model) |
| boolean | updateModel (EOModel model) |
Private Attributes | |
| Field | _ERXEntityCache |
| Method | _ERXEntityClassDescriptionCacheReset |
| Object | _ERXEntityClassDescriptionFactory |
| final Map< EOModel, Long > | modelCache = Collections.synchronizedMap(new WeakHashMap<EOModel, Long>()) |
| final Map < EOObjectStoreCoordinator, EOModelGroup > | oscCache = new WeakHashMap<EOObjectStoreCoordinator, EOModelGroup>() |
Static Private Attributes | |
| static final String | EO_ENTITY_CACHE_RESET = "EOEntityCacheReset" |
| static boolean | initialized = false |
| static final WOJRebelEOModelReloadHandler | instance = new WOJRebelEOModelReloadHandler() |
| static final Logger | log = LoggerFactory.getInstance() |
| static final Class<?>[] | NotificationClassArray = new Class[] { NSNotification.class } |
| void flushCaches | ( | ) | [private] |
| static WOJRebelEOModelReloadHandler getInstance | ( | ) | [static] |
| void initialize | ( | ) |
| long lastModified | ( | EOModel | model | ) | [private] |
| void modelAdded | ( | NSNotification | n | ) |
| void modelRemoved | ( | NSNotification | n | ) |
| void reloadModel | ( | EOModel | model | ) | [private] |
| void resetWonderEntityCache | ( | NSNotification | notification | ) |
| boolean shouldUpdateModel | ( | EOModel | model | ) | [private] |
| void storeCoordinatorAdded | ( | NSNotification | n | ) |
| void storeCoordinatorRemoved | ( | NSNotification | n | ) |
| synchronized void updateLoadedModels | ( | NSNotification | n | ) |
| boolean updateModel | ( | EOModel | model | ) | [private] |
Field _ERXEntityCache [private] |
Method _ERXEntityClassDescriptionCacheReset [private] |
Object _ERXEntityClassDescriptionFactory [private] |
final String EO_ENTITY_CACHE_RESET = "EOEntityCacheReset" [static, private] |
boolean initialized = false [static, private] |
final WOJRebelEOModelReloadHandler instance = new WOJRebelEOModelReloadHandler() [static, private] |
final Logger log = LoggerFactory.getInstance() [static, private] |
final Map<EOModel, Long> modelCache = Collections.synchronizedMap(new WeakHashMap<EOModel, Long>()) [private] |
final Class<?> [] NotificationClassArray = new Class[] { NSNotification.class } [static, private] |
final Map<EOObjectStoreCoordinator, EOModelGroup> oscCache = new WeakHashMap<EOObjectStoreCoordinator, EOModelGroup>() [private] |
1.5.8