Spring and JSF-Spring builds up hierarchical contexts though context a can get in touch with context b but not vice versa. so in your configuration the aop proxy creator is managed by context b and the jsf manager from context a. the proxy generator knows nothing about the manager.
Andy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello
i use spring aop in my project. but i can not get JSF manager bean in spring.
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<listener>
<listener-class>de.mindmatters.faces.spring.context.ContextLoaderListener</listener-class>
</listener>
<bean name="sdfsdfsdf" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
<property name="beanNames">
<list>
<value>userManager</value>
</list>
</property>
<property name="interceptorNames">
<list>
<value>authAdvisor</value>
</list>
</property>
</bean>
userManager is JSF Manager bean.
but it is not exist in spring context.
what can i do for it.
Hi,
Spring and JSF-Spring builds up hierarchical contexts though context a can get in touch with context b but not vice versa. so in your configuration the aop proxy creator is managed by context b and the jsf manager from context a. the proxy generator knows nothing about the manager.
Andy