Hi, I am facing an issue with having multiple classloaders - very much related to one of my earlier posts - but in a slightly different manner (the previous post was with a JNDI lookup throwing a NCDFE..) - basic question is this : is there any way I can specify that Merlin should share classloaders among blocks (I understand the reason behind having partitioned classloaders but the chain is causing too much trouble..)
..I have a component exports an initialization service - this does a Class.forName() on some UI controls (these controls can't be Avalon components, but the component that does the initialization is the one entrusted with this responsibility).. This is requiring all such controls to be loaded into the initial block itself - when ideally, the actual modules may have controls local to themselves... If I embed an instance of the initializer into the module's block, things are fine (the module's classloader finds the class correctly) - but this would mean that each of the module will get their own instance of the initializer... ideally the initializer should be shared... Related issue : is there anyway I can detect an artifact being downloaded by Repository? (Something like KernelEvent - is there a RepositoryEvent?) ..or is there a way that I can query the Repository for meta information about an artifact? I need these really bad, really urgently... ..any thoughts?? Thanks, and Brgds, R. Saravanan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]