Stephen McConnell said: > There is a semantic difference > between resolving a dependency and service discovery. A > dependency is something structurally bound to the component type. > A component that requires a service discovery service should be > declaring this as a dependency (in an ideal world). Unfortuately > we are dealing with a historical context in which the semantics > of type based dependencies and service discovery have been > implied on a single interface (ServiceManager). > > This conflict raises an important issue. If a component requests > something that is not a dependency, does this action represent an > error or does the action represent a ligitimate service discovery > request?
This is why I would "promote" the solution of setAbc() for dependency resolution and a more generic lookup() for service discovery. Niclas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
