import org.apache.commons.lang.StringUtils;
import org.springframework.beans.MutablePropertyValues;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.GenericBeanDefinition;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
/**
* @ClassName ModelInital
* @Description 初始化注释Model
* @Date 2019/3/28 0028 15:14
* @Version 0.1
**/
@Component
public class ModelInital {
@Autowired
private ConfigurableListableBeanFactory beanFactory;
@Autowired
private ApplicationContext applicationContext;
private static final String RESOURCE_PATTERN = "com.xxx";
/**
* 初始化方法
*/
@PostConstruct
public void init() {
// 使用自定义扫描类,针对&