-
Jan 15th, 2008, 04:27 PM
#1
Did not attempt to auto-proxy infrastructure class
total newb question but - what does it mean when my debug log includes the following and I have setup schema-based aop and transaction management?
(i.e. is 'Did not attempt to auto-proxy infrastructure class' good..or bad..?)
2008-01-15 15:15:22,808 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJPointcutAdv isor]
2008-01-15 15:15:22,813 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJMethodBefor eAdvice]
2008-01-15 15:15:23,035 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJPointcutAdv isor]
2008-01-15 15:15:23,037 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJAfterAdvice]
2008-01-15 15:15:23,044 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.support.DefaultBeanFactory PointcutAdvisor]
2008-01-15 15:15:23,054 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJPointcutAdv isor]
2008-01-15 15:15:23,055 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJMethodBefor eAdvice]
2008-01-15 15:15:23,058 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJPointcutAdv isor]
2008-01-15 15:15:23,059 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJAfterAdvice]
2008-01-15 15:15:23,062 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJPointcutAdv isor]
2008-01-15 15:15:23,063 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJMethodBefor eAdvice]
2008-01-15 15:15:23,066 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJPointcutAdv isor]
2008-01-15 15:15:23,068 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.aop.aspectj.AspectJAfterAdvice]
2008-01-15 15:15:23,239 [main] INFO com.package.databaseUtils.ProxyDataSource - charset set to utf8
2008-01-15 15:15:23,333 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.transaction.interceptor.Transa ctionInterceptor]
2008-01-15 15:15:23,347 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [get*] with attribute [PROPAGATION_SUPPORTS,ISOLATION_REPEATABLE_READ,rea dOnly]
2008-01-15 15:15:23,349 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [insert*] with attribute [PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-SQLException,-DataAccessException]
2008-01-15 15:15:23,350 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [update*] with attribute [PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-SQLException,-DataAccessException]
2008-01-15 15:15:23,351 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [delete*] with attribute [PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-SQLException,-DataAccessException]
2008-01-15 15:15:23,354 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [populate*] with attribute [PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-SQLException,-DataAccessException]
2008-01-15 15:15:23,355 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [persist*] with attribute [PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-SQLException,-DataAccessException]
2008-01-15 15:15:23,360 [main] DEBUG org.springframework.aop.aspectj.autoproxy.AspectJA wareAdvisorAutoProxyCreator - Did not attempt to auto-proxy infrastructure class [org.springframework.transaction.interceptor.Transa ctionInterceptor]
2008-01-15 15:15:23,362 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [get*] with attribute [PROPAGATION_REQUIRED,ISOLATION_REPEATABLE_READ,rea dOnly]
2008-01-15 15:15:23,363 [main] DEBUG org.springframework.transaction.interceptor.NameMa tchTransactionAttributeSource - Adding transactional method [populate*] with attribute [PROPAGATION_REQUIRES_NEW,ISOLATION_SERIALIZABLE,-SQLException,-DataAccessException]
Last edited by Helena; Jan 15th, 2008 at 05:37 PM.
-
Jan 16th, 2008, 01:48 AM
#2
You don't want your 'infrastructure' stuff to be proxied, what whould happen if the Advices or the Pointcut itself would be proxied? Not really necessary... So nothing to worry about.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules