persistencesessiontx.java
来自「一个java工作流引擎」· Java 代码 · 共 22 行
JAVA
22 行
package org.jbpm.persistence;
/**
* is a persistence session in a transaction.
* NOTE that jBpm only uses one transaction per session.
* That is because jBpm must be able to use CMT in a J2EE container,
* which implies that we can't use programmatic transaction demarcation.
*/
public interface PersistenceSessionTx extends PersistenceSession {
void lock(Object o);
// TODO change saving objects into saving DefinitionImpl's, FileImpl's and ProcessInstanceImpl's
void save(Object o);
void delete(Object o);
// the implementation must makes sure that all operations defined above are
// executed within a transaction as marked by these callbacks.
void commitAndClose();
void rollbackAndClose();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?