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

com.nh.micro.template.MicroTMProxy Maven / Gradle / Ivy

There is a newer version: 1.2.9-RELEASE
Show newest version
package com.nh.micro.template;



import java.lang.reflect.Method;


import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.support.DefaultTransactionDefinition;

import com.nh.micro.db.GroovyDataSource;
import com.nh.micro.rule.engine.context.MicroContextHolder;
import com.nh.micro.rule.engine.core.plugin.IMicroProxy;
import com.nh.micro.template.MicroServiceTemplateSupport;
import com.nh.micro.template.MicroTranManagerHolder;

/**
 * 
 * @author ninghao
 *
 */
public class MicroTMProxy implements IMicroProxy {

	public Object groovyObj=null;
	public Object oldGroovyObj=null;
	
	public Method checkMethod(String methodName,Object[] paramArray, Method[] methods){
		int size=paramArray.length;
		
		Class[] paramTypeArray=new Class[size];
		for(int i=0;i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy