|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpringLocalTxManager
This interface has the methods for interacting with the ObjectGrid Spring LocalTransactionManager. It also allows the desired partition to use with this thread to be specified.
ObjectGridSpringFactory.getLocalPlatformTransactionManager()| Method Summary | |
|---|---|
Session |
getSession()
This returns a managed session for the ObjectGrid associated with this thread. |
void |
setObjectGridForThread(ObjectGrid grid)
This indicates the ObjectGrid to use on this thread when a session is requested. |
| Method Detail |
|---|
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)
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||