public class MorphiaProxySession extends ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>
| Constructor and Description |
|---|
MorphiaProxySession(String dataSourceType,
String sessionSourceKey,
DatastoreFactory datastoreFactory,
boolean boundaryEnforced,
boolean cacheEnabled) |
| Modifier and Type | Method and Description |
|---|---|
ProxyTransaction |
beginTransaction() |
void |
clear() |
void |
close() |
ProxyTransaction |
currentTransaction() |
void |
flush() |
org.mongodb.morphia.Datastore |
getNativeSession() |
DatastoreFactory |
getNativeSessionFactory() |
boolean |
isClosed() |
getDataSourceType, getSessionSourceKey, isBoundaryEnforced, isCacheEnabled, overrideBoundaryEnforced, overrideCacheEnabled, registerpublic MorphiaProxySession(String dataSourceType, String sessionSourceKey, DatastoreFactory datastoreFactory, boolean boundaryEnforced, boolean cacheEnabled)
public ProxyTransaction currentTransaction()
currentTransaction in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public ProxyTransaction beginTransaction()
beginTransaction in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public void flush()
flush in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public void clear()
clear in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public void close()
close in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public boolean isClosed()
isClosed in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public DatastoreFactory getNativeSessionFactory()
getNativeSessionFactory in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>public org.mongodb.morphia.Datastore getNativeSession()
getNativeSession in class ProxySession<DatastoreFactory,org.mongodb.morphia.Datastore>Copyright © 2017. All rights reserved.