⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 persistencesessiontx.java

📁 一个java工作流引擎
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -