On Sun, 25 Nov 2001 11:54, Michael McKibben wrote:
> 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.

What you are doing is both a correct and recomended approach to doing what 
you what - lets us know if there is any issues that arise due to this.

-- 
Cheers,

Pete

-----------------------------------------------------------------------
|  I thought there was a knob on the TV to turn up the intelligence.  |
|      There's a knob called "brightness", but it doesn't work.       |
-----------------------------------------------------------------------

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

Reply via email to