proxyfactory

How to configure CommonsPool2TargetSource in spring?

我只是一个虾纸丫 提交于 2021-02-18 22:20:05
问题 This become pain in my neck!!! I have three queries. 1)I want to configure CommonsPool2TargetSource in my project for pooling of my custom POJO class. What I have done so far : MySpringBeanConfig class : @Configuration @EnableWebMvc @ComponentScan(basePackages = {"com.redirect.controller","com.redirect.business","com.redirect.dao.impl","com.redirect.model"}) @EnableTransactionManagement @PropertySource("classpath:" + JioTUConstant.SYSTEM_PROPERTY_FILE_NAME + ".properties") @Import(