cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: ApplicationContext from sitemap component?
Date Wed, 11 Jun 2008 16:02:12 GMT
Boris Goldowsky pisze:
> So the archetype demos make it clear that from flowscript you can look
> up a Spring bean with cocoon.getComponent("name"), but what is the
> recommended method for looking one up from inside a Transformer or other
> sitemap component?

The recommended way is to have sitemap component as a Spring bean and use Dependency Injection
for 
getting all dependencies resolved.

-- 
Grzegorz Kossakowski

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


Mime
View raw message