spring security不符合自动代理条件

时间:2010-01-21 08:21:41

标签: java spring spring-mvc

任何人都可以详细说明启动应用程序时这些信息的含义吗?

INFO: Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Jan 13, 2010 11:00:34 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean '(inner bean)#2' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Jan 13, 2010 11:00:34 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#1' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Jan 13, 2010 11:00:34 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean '(inner bean)#4' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Jan 13, 2010 11:00:34 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#2' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Jan 13, 2010 11:00:34 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean '(inner bean)#6' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Jan 13, 2010 11:00:34 AM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org

参考:http://bamboo.ci.codehaus.org/build/viewBuildLog.action;jsessionid=85C63FD38CA3A5320AE8CECE84D570B8?buildNumber=3&buildKey=MODFORJ-ROSASBREAKFAST

1 个答案:

答案 0 :(得分:8)

这是一个相当正常的消息。 BeanPostProcessor是一个Spring构造,用于在上下文中更改/包装/代理bean。由于上下文生命周期的工作方式,有些事情必须在 BeanPostProcessor之前进行配置,这会导致该消息。

几乎没有什么可担心的,因此INFO水平。触发消息的组件通常是Spring自己的内部组件。