Michael,

Hello, I am still learning the Phoenix framework and I have a probably
obvious question that I can't figure out the answer to. I am trying to write
a Block which initializes the org.apache.cocoon.Cocoon component. One of the
objects the Cocoon component expects in its Avalon Context is a ClassLoader.
I would like to pass Cocoon the ClassLoader from the Phoenix
ApplicationContext my block is a part of. How is this possible? Or is it not
a good idea? Right now I'm using
Thread.currentThread().getContextClassLoader()
but I don't know if that is the correct approach.

Not answering your question (Pete has), but when you've finished can you publish the code back to us? We plan, sooner or later, to make a block that publishes Cocoon services internally and this sounds very close.........

Regards,

- Paul H


-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to