Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [S2] Spring Bean Interceptors?

Dave Newton

2007-02-13

Replies:

--- Mark Menard <mark@(protected):
> "Dave Newton" wrote:
>> Can Interceptors be Spring Beans (without
>> hackery)?
> Yes, just wire it up in your application context. I
> use to inject a service bean into an interceptor
that
> handles retrieving user menu's based on role.

Great; thanks... I was hoping that was the case. So
for class (like actions) I just shove in the bean id?
Oh, that's going to take even a little BIGGER chunk
out of busy work code; sweet.

d.




____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.