All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.sylinx.hbatis.plugin.statement.StatementHandlerPlugin Maven / Gradle / Ivy

The newest version!
package cn.sylinx.hbatis.plugin.statement;

import cn.sylinx.hbatis.plugin.IPlugin;

public class StatementHandlerPlugin implements IPlugin {

	// sql语句处理器
	private String statementHandlerClass;

	public void setStatementHandlerClass(String statementHandlerClass) {
		this.statementHandlerClass = statementHandlerClass;
	}

	@Override
	public boolean start(Object... objects) {
		StatementHandlerManager.get().init(statementHandlerClass);
		return true;
	}

	@Override
	public boolean stop() {
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy