Molnar Peter pisze:
On Pén, Július 18, 2008 5:44 pm, Grzegorz Kossakowski wrote:
Just use servicemanager.lookup('here.goes.spring.bean') method. The
Service Manager can be injected
into Avalon component by implementing Serviceable interface.
It was solved eventually, because I have figured out that in Cocoon 2.2
the site components (a reader in this case) are also instantiated via the
spring bean factory. I still don't have a clue why avalon interfaces are
implemented (or maybe the documentation is not up-to-date).
No, it because how it works.
We have a Avalon-Spring bridge that will pick up all Avalon components and initialize them using
Spring so in a fact they are Spring beans.
That was made on purpose to make a transition from Avalon to Spring smooth.
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]