On Wed, 2004-01-14 at 21:28, Niclas Hedhman wrote: > On Wednesday 14 January 2004 17:03, korosh afshar wrote: > > What am I doing wrong? I know I am still somewhat vague about the > > composite block and component declrations. > > The BlockX would need to declare the Block1's interface classes as a resource, > because otherwise those classes will not be "visible for loading" to classes > loaded by the BlockX classloader.
It was doing that. > > Now, what is "interface classes"; > > 1. All the interfaces used to expose the service. > 2. All value object classes used in method arguments and return values. > 3. All exception classes. point # 3 is the only thing I can think of being violated in this instance. Cause, the error message complained about a application exception that was being referenced in Block1. All BlockX was doing was to access the Block1's service. Thanks for info. I think I need to digest the Block/Container hierarchy scheme a little better as it is creating confusion as to how merlin works. > > If you have not done SoII (Separation of Interface and Implementation) now is > a good time to think "Ahhhh... this is clever!". > > > I hope this clarifies some... > > 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]
