AbstractService Obsoleted why?

May 9, 2013 at 7:32 AM
Hi Guys,
          What is your recommended approach for developing custom services now.
I see that you have depreciated AbstractService.

Regards,
          Alistair
Coordinator
May 9, 2013 at 9:32 AM
From the manual (Section 2.2.4):
a service is just an ordinary POCO class but without any state - just methods. Just like a domain object it does not have to inherit from any special class, nor implement any interface, nor include any specific attribute. What makes it a service is simply that it is registered as a service in the Services property of the Run class.
Typically you will inject a container into that class and call methods on the container (just as you can on any domain object). You may also inject other services into it.

AbstractService was obsoleted because it no longer added any real value - it was a leftover from a very much earlier version of the framework when (I think - it was a long time ago), a service had to provide an Id property.