enhancement #IAOW43 在solon体系中支持声明式的组件

This commit is contained in:
everywhere.z
2024-09-04 19:13:16 +08:00
parent bccd46f394
commit 06b31d794f
8 changed files with 10 additions and 8 deletions

View File

@@ -15,9 +15,9 @@ import org.noear.solon.Solon;
*/
public class SolonCmpAroundAspect implements CmpAroundAspect {
public static ICmpAroundAspect cmpAroundAspect;
public ICmpAroundAspect cmpAroundAspect;
static {
public SolonCmpAroundAspect(){
Solon.context().getBeanAsync(ICmpAroundAspect.class, bean -> {
cmpAroundAspect = bean;
});