OK, thanks, is there a JIRA for this?  I'll be happy to request it as an
enhancement...

>-----Original Message-----
>From: Musachy Barroso [mailto:musa...@gmail.com]
>Sent: Wednesday, September 23, 2009 11:23 AM
>To: Struts Users Mailing List
>Subject: Re: Interceptor IOC with Spring
>
>interceptors and  results do net get dependencies injected. If you
>implement BeanFactoryAware, or ApplicationContextAware it will pass
>you the bean factory or the context. I will take a look at this, as it
>has been bothering me for a while.
>
>musachy
>
>On Wed, Sep 23, 2009 at 7:21 AM, Mike Baranski
><list-subscripti...@secmgmt.com> wrote:
>> Correct me if I'm wrong, please, but if I have an interceptor, it
>should get
>> injected by spring.
>>
>> I have a bean I'm expecting, the set method written, and the bean
>defined in
>> applicationContext.
>>
>> My main struts.xml has:
>>
>> <constant name="struts.objectFactory"
>> value="org.apache.struts2.spring.StrutsSpringObjectFactory" />
>>
>> My setter is not getting called, is there anything else I need to do?
>>
>>
>> M.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
>
>--
>"Hey you! Would you help me to carry the stone?" Pink Floyd
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to