stomp.jdo.distributed
Class DistributedJDOFactory
java.lang.Object
|
+--stomp.util.AbstractFactory
|
+--stomp.jdo.JDOFactory
|
+--stomp.jdo.distributed.DistributedJDOFactory
- public class DistributedJDOFactory
- extends JDOFactory
Adds change notification between JVMs to the functionality of JDOFactory.
- Author:
- Eric Lindauer
|
Method Summary |
void |
idsDeleted(java.util.Collection deletedIds)
makes any necessary callbacks to listeners in this JVM, notifying them
that the given Collection of objects was deleted. |
void |
idsDeleted(java.util.Collection deletedIds,
boolean distribute)
|
void |
refreshAll(java.util.Collection pcIds)
if change distribution is turned on, notifies the other JVMs about the
refresh. |
void |
refreshAll(java.util.Collection pcIds,
boolean distribute)
|
| Methods inherited from class stomp.jdo.JDOFactory |
deleteAll, deleteObject, deleteObjectById, deleteObjectById, executeQuery, executeQuery, executeSingletonQuery, executeSingletonQuery, findInPm, findReadOnly, getDBName, getLock, getNewTransactionalPersistenceManager, getNonTransactionalPersistenceManager, getObjectId, getPersistenceManager, getReadOnlyPersistenceManager, getTransactionalPersistenceManager, isNonTransactional, isPersistent, persistNewObject, persistNewObject, refreshAll, singleton |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedJDOFactory
public DistributedJDOFactory()
refreshAll
public void refreshAll(java.util.Collection pcIds)
- if change distribution is turned on, notifies the other JVMs about the
refresh. Regardless, refreshes appropriate PMs in this JVM.
- Overrides:
refreshAll in class JDOFactory
refreshAll
public void refreshAll(java.util.Collection pcIds,
boolean distribute)
idsDeleted
public void idsDeleted(java.util.Collection deletedIds)
- Description copied from class:
JDOFactory
- makes any necessary callbacks to listeners in this JVM, notifying them
that the given Collection of objects was deleted.
requires: Collection is a collection of ObjectIds
- Overrides:
idsDeleted in class JDOFactory
idsDeleted
public void idsDeleted(java.util.Collection deletedIds,
boolean distribute)