You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by stephanos <st...@gmail.com> on 2010/11/11 22:51:20 UTC

Accessing Spring context?

When I use Tapestry with tapestry-spring the context is automatically created
in 'the background' at startup. But I need to access Spring's
AbstractApplicationContext - how would I do that?

Cheers :)
-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context-tp3261181p3261181.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Accessing Spring context?

Posted by stephanos <st...@gmail.com>.
Thanks for the response - but sorry for not being totally precise:
I need 'static' access - outside of any Tapestry component, just within the
same JVM.
-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context-tp3261181p3262576.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Accessing Spring context?

Posted by Christophe Cordenier <ch...@gmail.com>.
Hi

Inject ApplicationContext with @Inject

see http://tapestry.apache.org/tapestry5.1/tapestry-spring/ ->
ApplicationContext service

2010/11/11 stephanos <st...@gmail.com>

>
> When I use Tapestry with tapestry-spring the context is automatically
> created
> in 'the background' at startup. But I need to access Spring's
> AbstractApplicationContext - how would I do that?
>
> Cheers :)
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context-tp3261181p3261181.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com