I've also discovered that any element that is part of a parameter that implements LocationHolder seems to get it's location set also.
Richard -----Original Message----- From: Hensley, Richard [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 5:42 PM To: [email protected]; Howard Lewis Ship Subject: RE: A question about Location, Locatable, and LocationHolder So, implementing my own ServiceImplementationFactory, I think I would get the location from public Object createCoreServiceImplementation(String serviceId, Class serviceInterface, Log serviceLog, Module invokingModule, List parameters) { // some stuff that builds my service myservice.setLocation(invokingModule.getLocation()) return myservice; } After reviewing BuilderFactory, I can't really prove this, but I think it's right. Richard --------------------------------------------------------------------- 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]
