This is a feature request.
Until now, the CppMicroServices code relied on a base class for every service implementation (which has been itk::LightObject in the MITK context). This base class was configured into the CppMicroServices code and CMake configure time. Hence the library was "fixed" to this base class type and could not be easily shared across different projects which might have different base class requirements.
With "version 2" of the CppMicroServices code, the base class requirement has been removed. Further, the API has been modified to be more type-safe in the context of service references and registrations. MITK should be updated to include the improved CppMicroServices code.
Since the new design allows for the CppMicroServices code to be compiled into a generic shared library, MITK should use it that way. As discussed with Marco, the Code (currently in Core/Code/CppMicroServices) should be moved to Core/CppMicroServices and build separately. It should than be made available to other MITK modules via the MITK CMake module system (by providing a custom "module config" file for the CppMicroServices library).