这就是为什么我用@Configurable注释对这些类进行注释,并尝试设置加载时编织。AdviceMode.ASPECTJ)public class WebApplication extends WebMvcConfigurerAdapter我尝试过这样做,但是看起来加载时间编织不适用于外部JAR。你对如何解决这个问题有什么建议吗?
我正在尝试在我创建的一个非bean类中使用@configurable在spring中使用一个@autowired服务。有人能告诉我我做错了什么吗?org.springframework.beans.factory.annotation.Autowired;public class HelloWorldClient @Autowired
我通过编译时编织使用Spring和AspectJ,对非容器管理的对象使用@Configurable注释。下面是一个@Configurable注释对象示例:public class TestConfigurable {= new TestConfigurable();
System.out.println("In post construct: " + configurable.getComponent