On Thursday 15 January 2004 15:51, Vikas Phonsa wrote: > And as I mentioned the Test class doesn't implement any lifecycle > interface. Now what if I want to use another non-component dependency class > ( Test1 ), this time in the Test class. > > Since Test won't have a service() method and hence won't get a > ServiceManger, how could Test1 be looked up using Merlin. I mean I can just > create a Test1 object and use it in Test but what abt automatic lookup > using ServiceManger. > > You know what I mean ??
If "class Test" is not a fully Avalon-managed component, Merlin (AFAIK) will not be able to manage its dependencies, and it will need to create those by other means, such as "new Test1()" Niclas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
