cn.sylinx.hbatis.ds.ResourceBlock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hbatis-core Show documentation
Show all versions of hbatis-core Show documentation
hbatis is a simple orm framework
package cn.sylinx.hbatis.ds;
import cn.sylinx.hbatis.exception.BlockException;
/**
* 资源执行块
*
* @author han
*
* @param
* R
* @param
* O
*/
public interface ResourceBlock {
/**
* 资源执行
*
* @param resource
* R
* @return O
* @throws Exception
* Exception
*/
O apply(R resource) throws BlockException;
}