[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: why does IServiceManager:getService not return IService instead of P.L.Object

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
It’s primarily to allow the Service Manager to act as a factory for many types, and not to have the requirement that everything in an application is of type Ccs.Common.IService (since the implementer may not have control over all the code in an application). You’ll also note that the spec has this interface as an optional (not required) interface. Ideally it should return the type as requested for the service-name.

Continue reading...
 
Status
Not open for further replies.
Back
Top