mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 12:48:59 +08:00
refactor: 项目重构,网关移除鉴权,token中继到各个资源服务器通过自定义Security实现权限校验。
This commit is contained in:
parent
156a53c657
commit
1144715d5e
@ -7,6 +7,12 @@
|
||||
-- 系统管理数据库
|
||||
-- ----------------------------
|
||||
CREATE DATABASE IF NOT EXISTS youlai DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- OAuth2数据库
|
||||
-- ----------------------------
|
||||
CREATE DATABASE IF NOT EXISTS oauth2 DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- 商城会员数据库
|
||||
-- ----------------------------
|
||||
|
56
docs/sql/mysql8.x/oauth2.sql
Normal file
56
docs/sql/mysql8.x/oauth2.sql
Normal file
@ -0,0 +1,56 @@
|
||||
/**
|
||||
OAuth2 数据库
|
||||
SQL脚本在线地址: https://github.com/spring-attic/spring-security-oauth/blob/main/spring-security-oauth2/src/test/resources/schema.sql
|
||||
*/
|
||||
|
||||
use oauth2;
|
||||
create table oauth_client_details (
|
||||
client_id VARCHAR(256) PRIMARY KEY,
|
||||
resource_ids VARCHAR(256),
|
||||
client_secret VARCHAR(256),
|
||||
scope VARCHAR(256),
|
||||
authorized_grant_types VARCHAR(256),
|
||||
web_server_redirect_uri VARCHAR(256),
|
||||
authorities VARCHAR(256),
|
||||
access_token_validity INTEGER,
|
||||
refresh_token_validity INTEGER,
|
||||
additional_information VARCHAR(4096),
|
||||
autoapprove VARCHAR(256)
|
||||
);
|
||||
|
||||
create table oauth_client_token (
|
||||
token_id VARCHAR(256),
|
||||
token LONGBLOB,
|
||||
authentication_id VARCHAR(256) PRIMARY KEY,
|
||||
user_name VARCHAR(256),
|
||||
client_id VARCHAR(256)
|
||||
);
|
||||
|
||||
create table oauth_access_token (
|
||||
token_id VARCHAR(256),
|
||||
token LONGBLOB,
|
||||
authentication_id VARCHAR(256) PRIMARY KEY,
|
||||
user_name VARCHAR(256),
|
||||
client_id VARCHAR(256),
|
||||
authentication LONGBLOB,
|
||||
refresh_token VARCHAR(256)
|
||||
);
|
||||
|
||||
create table oauth_refresh_token (
|
||||
token_id VARCHAR(256),
|
||||
token LONGBLOB,
|
||||
authentication LONGBLOB
|
||||
);
|
||||
|
||||
create table oauth_code (
|
||||
code VARCHAR(256), authentication LONGBLOB
|
||||
);
|
||||
|
||||
create table oauth_approvals (
|
||||
userId VARCHAR(256),
|
||||
clientId VARCHAR(256),
|
||||
scope VARCHAR(256),
|
||||
status VARCHAR(10),
|
||||
expiresAt TIMESTAMP,
|
||||
lastModifiedAt TIMESTAMP
|
||||
);
|
@ -8,7 +8,7 @@ RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shan
|
||||
VOLUME /tmp
|
||||
|
||||
# 复制jar到镜像
|
||||
ADD target/youlai-lab.jar app.jar
|
||||
ADD target/laboratory.jar app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Xmx128m", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar"]
|
||||
|
@ -9,7 +9,7 @@
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>youlai-lab</artifactId>
|
||||
<artifactId>laboratory</artifactId>
|
||||
<description>有来实验室</description>
|
||||
|
||||
<properties>
|
@ -1,11 +1,10 @@
|
||||
package com.youlai.lab;
|
||||
package com.youlai.laboratory;
|
||||
|
||||
import com.youlai.mall.oms.api.OrderFeignClient;
|
||||
import com.youlai.mall.pms.api.SkuFeignClient;
|
||||
import com.youlai.mall.ums.api.MemberFeignClient;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.base.config;
|
||||
package com.youlai.laboratory.base.config;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.extern.slf4j.Slf4j;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.canal;
|
||||
package com.youlai.laboratory.canal;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -0,0 +1,8 @@
|
||||
package com.youlai.laboratory.elasticsearch;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
||||
* @date 2021/11/28 10:06
|
||||
*/
|
||||
public class Test {
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.mybatis;
|
||||
package com.youlai.laboratory.jvm;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.elasticsearch;
|
||||
package com.youlai.laboratory.mybatis;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.mysql;
|
||||
package com.youlai.laboratory.mysql;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.jvm;
|
||||
package com.youlai.laboratory.netty;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -0,0 +1,8 @@
|
||||
package com.youlai.laboratory.rabbitmq;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
||||
* @date 2021/11/28 10:06
|
||||
*/
|
||||
public class Test {
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.youlai.laboratory.redis;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
||||
* @date 2021/11/28 10:06
|
||||
*/
|
||||
public class Test {
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
package com.youlai.lab.seata.controller;
|
||||
package com.youlai.laboratory.seata.controller;
|
||||
|
||||
import com.youlai.common.result.Result;
|
||||
import com.youlai.lab.seata.pojo.form.SeataForm;
|
||||
import com.youlai.lab.seata.pojo.vo.SeataDataVO;
|
||||
import com.youlai.lab.seata.service.ISeataService;
|
||||
import com.youlai.laboratory.seata.pojo.form.SeataForm;
|
||||
import com.youlai.laboratory.seata.pojo.vo.SeataDataVO;
|
||||
import com.youlai.laboratory.seata.service.ISeataService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.seata.pojo.form;
|
||||
package com.youlai.laboratory.seata.pojo.form;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.seata.pojo.vo;
|
||||
package com.youlai.laboratory.seata.pojo.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
@ -1,7 +1,7 @@
|
||||
package com.youlai.lab.seata.service;
|
||||
package com.youlai.laboratory.seata.service;
|
||||
|
||||
import com.youlai.lab.seata.pojo.form.SeataForm;
|
||||
import com.youlai.lab.seata.pojo.vo.SeataDataVO;
|
||||
import com.youlai.laboratory.seata.pojo.form.SeataForm;
|
||||
import com.youlai.laboratory.seata.pojo.vo.SeataDataVO;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -1,9 +1,9 @@
|
||||
package com.youlai.lab.seata.service.impl;
|
||||
package com.youlai.laboratory.seata.service.impl;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.youlai.lab.seata.pojo.form.SeataForm;
|
||||
import com.youlai.lab.seata.pojo.vo.SeataDataVO;
|
||||
import com.youlai.lab.seata.service.ISeataService;
|
||||
import com.youlai.laboratory.seata.pojo.form.SeataForm;
|
||||
import com.youlai.laboratory.seata.pojo.vo.SeataDataVO;
|
||||
import com.youlai.laboratory.seata.service.ISeataService;
|
||||
import com.youlai.mall.oms.api.OrderFeignClient;
|
||||
import com.youlai.mall.oms.dto.OrderInfoDTO;
|
||||
import com.youlai.mall.pms.api.SkuFeignClient;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.sentinel.controller;
|
||||
package com.youlai.laboratory.sentinel.controller;
|
||||
|
||||
import com.youlai.common.result.Result;
|
||||
import io.swagger.annotations.Api;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.sentinel.handler;
|
||||
package com.youlai.laboratory.sentinel.handler;
|
||||
|
||||
import com.alibaba.csp.sentinel.adapter.spring.webmvc.callback.BlockExceptionHandler;
|
||||
import com.alibaba.csp.sentinel.slots.block.BlockException;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring;
|
||||
package com.youlai.laboratory.spring;
|
||||
|
||||
import java.util.Objects;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.DI;
|
||||
package com.youlai.laboratory.spring.DI;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
|
||||
/**
|
||||
* 通过构造器装配
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.DI;
|
||||
package com.youlai.laboratory.spring.DI;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
|
||||
/**
|
||||
*
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.DI;
|
||||
package com.youlai.laboratory.spring.DI;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
|
||||
/**
|
||||
*
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.DI;
|
||||
package com.youlai.laboratory.spring.DI;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
|
||||
/**
|
||||
*
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.DI;
|
||||
package com.youlai.laboratory.spring.DI;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.DI;
|
||||
package com.youlai.laboratory.spring.DI;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring;
|
||||
package com.youlai.laboratory.spring;
|
||||
|
||||
/**
|
||||
* @author haoxr
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.aspectj.lang.annotation.*;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
@ -13,7 +13,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
@Aspect
|
||||
public class AspectJAop {
|
||||
|
||||
@Before("execution(* com.youlai.lab.spring.aop.UserService.test(..))")
|
||||
@Before("execution(* com.youlai.laboratory.spring.aop.UserService.test(..))")
|
||||
public void before(){
|
||||
System.out.println("前置通知");
|
||||
}
|
||||
@ -23,7 +23,7 @@ public class AspectJAop {
|
||||
System.out.println("执行正常业务");
|
||||
}
|
||||
|
||||
@After("execution(* com.youlai.lab.spring.aop.UserService.test(..))")
|
||||
@After("execution(* com.youlai.laboratory.spring.aop.UserService.test(..))")
|
||||
public void after(){
|
||||
System.out.println("后置增强,不管正常或异常都会执行");
|
||||
}
|
||||
@ -33,12 +33,12 @@ public class AspectJAop {
|
||||
// System.out.println("环绕增强");
|
||||
// }
|
||||
|
||||
@AfterThrowing("execution(* com.youlai.lab.spring.aop.UserService.test(..))")
|
||||
@AfterThrowing("execution(* com.youlai.laboratory.spring.aop.UserService.test(..))")
|
||||
public void afterthrows(){
|
||||
System.out.println("异常抛出增强");
|
||||
}
|
||||
|
||||
@AfterReturning("execution(* com.youlai.lab.spring.aop.UserService.test(..))")
|
||||
@AfterReturning("execution(* com.youlai.laboratory.spring.aop.UserService.test(..))")
|
||||
public void afterReturning(){
|
||||
System.out.println("正常退出的后置增强");
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import lombok.SneakyThrows;
|
||||
import org.aopalliance.intercept.MethodInterceptor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator;
|
||||
import org.springframework.context.annotation.Bean;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator;
|
||||
import org.springframework.context.annotation.Bean;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.springframework.aop.aspectj.AspectJExpressionPointcut;
|
||||
import org.springframework.aop.support.StaticMethodMatcherPointcut;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.aopalliance.aop.Advice;
|
||||
import org.springframework.aop.MethodBeforeAdvice;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop;
|
||||
package com.youlai.laboratory.spring.aop;
|
||||
|
||||
/**
|
||||
* 需要增强的业务类
|
@ -1,8 +1,7 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import com.mysql.cj.jdbc.MysqlDataSource;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
||||
import org.springframework.transaction.PlatformTransactionManager;
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
||||
import org.springframework.transaction.PlatformTransactionManager;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
@ -1,9 +1,8 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
||||
import org.springframework.transaction.PlatformTransactionManager;
|
||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import com.youlai.common.base.BaseEntity;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import com.youlai.common.base.BaseEntity;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.aop.transactional;
|
||||
package com.youlai.laboratory.spring.aop.transactional;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.jdbc.core.BeanPropertyRowMapper;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
import org.springframework.context.Lifecycle;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
import org.springframework.context.SmartLifecycle;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean;
|
||||
package com.youlai.laboratory.spring.bean;
|
||||
|
||||
import org.springframework.context.SmartLifecycle;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.context.ApplicationContext;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.context.ApplicationStartupAware;
|
||||
import org.springframework.core.metrics.ApplicationStartup;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.beans.factory.BeanClassLoaderAware;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.beans.factory.BeanNameAware;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.context.EmbeddedValueResolverAware;
|
||||
import org.springframework.util.StringValueResolver;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.bean.aware;
|
||||
package com.youlai.laboratory.spring.bean.aware;
|
||||
|
||||
import org.springframework.context.EnvironmentAware;
|
||||
import org.springframework.core.env.Environment;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import javax.annotation.PreDestroy;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
import org.springframework.beans.factory.DisposableBean;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
|
||||
import org.springframework.context.annotation.Condition;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
/**
|
||||
*
|
@ -1,6 +1,6 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
import com.youlai.lab.spring.Bean;
|
||||
import com.youlai.laboratory.spring.Bean;
|
||||
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
|
||||
import org.springframework.context.annotation.*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
/**
|
||||
*
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
|
||||
import org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanDefinition;
|
||||
package com.youlai.laboratory.spring.beanDefinition;
|
||||
|
||||
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanFactoryPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanFactoryPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanFactoryPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanFactoryPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanFactoryPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanFactoryPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanFactoryPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanFactoryPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanFactoryPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanFactoryPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanFactoryPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanFactoryPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
/**
|
||||
*
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.BeanPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.factory.DisposableBean;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.PropertyValues;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor;
|
||||
import org.springframework.beans.factory.support.RootBeanDefinition;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.beanPostProcessor;
|
||||
package com.youlai.laboratory.spring.beanPostProcessor;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
/**
|
||||
* 说明描述
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.lab.spring.constructor;
|
||||
package com.youlai.laboratory.spring.constructor;
|
||||
|
||||
/**
|
||||
* 说明描述
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user