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

  • Thread starter Thread starter marian.edu
  • Start date Start date
Status
Not open for further replies.
M

marian.edu

Guest
I still don’t think the service manager should behave as a factory for ‘everything’ and, although the IService interface doesn’t really add much, the getService method should indeed return a so called ’service’. As for generics, I don’t see how that could solve the ’should return the type as requested’ requirement… unless we have specialised service manager instances, aka: ServiceManager : getService T () I do seem to remember there should be only one service manager so, generics will do what exactly? Marian Edu Acorn IT www.acorn-it.com www.akera.io +40 740 036 212

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