Yeah I was read thru those docs, but terms like enclosing classloader,
resulting classloader, subsidiary components and stuff were freaking me out
a little bit ( not a terribly experienced programmer yet ). And I plan to
freak others around me out once I get all of these terms :-)

But I got your point. And thanks once again.

Vikas

-----Original Message-----
From: Niclas Hedhman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 15, 2004 4:59 PM
To: Avalon framework users
Subject: Re: Dependencies

On Thursday 15 January 2004 16:43, Vikas Phonsa wrote:
> Yeah that's what it looked like to me but thought maybe there is some
> trick.
>
> Ok so I can use "new Test1()". And if my Test1 class in located in say a
> package in a jar.
>
> Could the classloader-classpath be used for loading up that jar at runtime
> or is it supposed to be used with Avalon stuff only.

Yes.
In fact, the <repository> style is a fairly new format. The older direct 
reference is still there.

You should read the docs at 
http://avalon.apache.org/merlin/meta/block/classloader/index.html
http://avalon.apache.org/merlin/meta/block/classloader/classpath/index.html
http://avalon.apache.org/merlin/meta/block/classloader/extensions.html

As you can see there, you have various options available;
1. Repository style = really cool.
2. Library style = somewhat convenient.
3. Fileset style = straight forward.


Niclas



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

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

Reply via email to