@Deprecated public interface SpringLocalTxManager
ObjectGridSpringFactory.getLocalPlatformTransactionManager()| Modifier and Type | Method and Description |
|---|---|
Session |
getSession()
Deprecated.
This returns a managed session for the ObjectGrid associated with this thread.
|
void |
setObjectGridForThread(ObjectGrid grid)
Deprecated.
This indicates the ObjectGrid to use on this thread when a session is requested.
|
void setObjectGridForThread(ObjectGrid grid)
grid - the ObjectGrid to set on this thread.getSession()Session getSession()
Do not call begin(), commit() or rollback() directly on the session. Spring manages the transaction automatically.
CannotGetObjectGridSessionException - thrown when an ObjectGrid session can't be retrieved.setObjectGridForThread(ObjectGrid)