remoteotherdao.java
来自「精通EJB3源码」· Java 代码 · 共 35 行
JAVA
35 行
package com.foshanshop.ejb3;
import com.foshanshop.ejb3.bean.Product;
public interface RemoteOtherDAO{
/**
* 系统异常
*/
public void systemException();
/**
* 事务属性TransactionAttributeType.REQUIRED
*/
public void required();
/**
* 事务属性TransactionAttributeType.NOT_SUPPORTED
*/
public Product notSupported(int productid);
/**
* 事务属性TransactionAttributeType.REQUIRES_NEW
*/
public void requirednew();
/**
* 事务属性TransactionAttributeType.SUPPORTS
*/
public Product support(int productid);
/**
* 事务属性TransactionAttributeType.MANDATORY
*/
public void mandatory();
/**
* 事务属性TransactionAttributeType.NEVER
*/
public Product never(int productid);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?