I have two classes, logs from spring:
11:21:40,500 DEBUG InfrastructureAdvisorAutoProxyCreator:549 - Creating implicit proxy for bean 'service4Authority' with 0 common interceptors and 1 specific interceptors
11:21:40,500 DEBUG JdkDynamicAopProxy:113 - Creating JDK dynamic proxy: target source is SingletonTargetSource for target object [pl.freshsolutions.brex.service.platform.AuthorityService@164804]
how to make that the first bean (service4Authority) will be created like the second bean?, both classes are declared similarly but they are created in different way. Thanks in advance.
12:17:41,281 DEBUG JdkDynamicAopProxy:113 - Creating JDK dynamic proxy: target source is SingletonTargetSource for target object [$Proxy35@4d2b11]
12:17:41,296 DEBUG DefaultListableBeanFactory:411 - Finished creating instance of bean 'service4User'