|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.store.StoreManagerImpl
StoreManagerImpl provides a base for fully implementing the StoreManager interface.
| Field Summary | |
private static org.apache.commons.logging.Log |
logger
Logger instance |
private static org.apache.jdo.util.I18NHelper |
msg
I18N support. |
protected boolean |
optimistic
Indicates whether current transaction is optimistic or not. |
| Constructor Summary | |
protected |
StoreManagerImpl()
Default constructor. |
| Method Summary | |
private boolean |
debugging()
|
void |
flush(java.util.Iterator it,
PersistenceManagerInternal pm)
Flushes all StateManagerInternals in the given Iterator. |
QueryResult |
newQueryResult(QueryResultHelper qrh)
Returns a QueryResult instance which is then returned as the result of Query.execute(...). |
protected abstract void |
preFlush()
Perform any actions required before StateManager's are flushed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jdo.store.StoreManager |
copyKeyFieldsFromObjectId, createObjectId, delete, fetch, getConnector, getConnector, getExtent, getExternalObjectId, getInternalObjectId, getPCClassForOid, hasActualPCClass, insert, isMediationRequiredToCopyOid, newObjectIdInstance, update, verifyFields |
| Field Detail |
protected boolean optimistic
flush(java.util.Iterator, org.apache.jdo.pm.PersistenceManagerInternal).
private static final org.apache.commons.logging.Log logger
private static final org.apache.jdo.util.I18NHelper msg
| Constructor Detail |
protected StoreManagerImpl()
| Method Detail |
protected abstract void preFlush()
public void flush(java.util.Iterator it,
PersistenceManagerInternal pm)
optimistic is set
correctly.
flush in interface StoreManagerit - Iterator of StateManagerInternal instances to be flushed.pm - PersistenceManagerInternal on whose behalf instances are being
flushed.StoreManager.flush(java.util.Iterator, org.apache.jdo.pm.PersistenceManagerInternal)public QueryResult newQueryResult(QueryResultHelper qrh)
newQueryResult in interface StoreManagerqrh - the helper providing the query tree, the candidates
and the actual parameters.
private boolean debugging()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||