子类代理名称改为AsgcProxy,即傲世孤尘代理

This commit is contained in:
aoshiguchen
2022-06-29 19:23:05 +08:00
parent f84480a1ff
commit 600dfb1b2a
2 changed files with 4 additions and 4 deletions
@@ -36,13 +36,13 @@ import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
*
* Asgc代理子类代理
* @author: aoshiguchen
* @date: 2022/6/24
*/
@Slf4j
public class SubClassProxyFactory implements ProxyFactory {
private static String classNameTemplate = "%sSubClassProxy$$%s";
public class AsgcProxyFactory implements ProxyFactory {
private static String classNameTemplate = "%sAsgcProxy$$%s";
private static AtomicLong proxyClassCounter = new AtomicLong();
private ProxyCompiler compiler = new ProxyCompiler();
private ProxyClassLoader classLoader = new ProxyClassLoader();
@@ -27,7 +27,7 @@ package fun.asgc.neutrino.core.aop.proxy;
* @date: 2022/6/24
*/
public class Proxy {
private static final ProxyFactory subClassProxyFactory = new SubClassProxyFactory();
private static final ProxyFactory subClassProxyFactory = new AsgcProxyFactory();
public static ProxyFactory getProxyFactory(ProxyStrategy strategy) {
switch (strategy) {