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

com.lab.tranProxy.Main Maven / Gradle / Ivy

There is a newer version: 2.2.3
Show newest version
package com.lab.tranProxy;

import com.lab.dao.BDao;
import com.github.youyinnn.youdbutils.exceptions.AutowiredException;
import com.github.youyinnn.youdbutils.ioc.proxy.TransactionProxyGenerator;

/**
 *
 * @author youyinnn
 *
 */
public class Main {

    public static void main(String[] args) throws AutowiredException {

        BDao proxyObject = (BDao) TransactionProxyGenerator.getProxyObject(BDao.class);
        BDao proxyObject1 = (BDao) TransactionProxyGenerator.getProxyObject(BDao.class);

        //YouDruid.initSQLiteDataSource();

        //proxyObject.a();
        //proxyObject.b();

        //proxyObject.c();


    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy