ServiceConfiguration#service parameter should be replaced with a className. All parameters, needed for service initialization, should be provided as a map of properties in ServiceConfiguration.
This approach has two advantages:
- It allows service redeployment with changed classes, because there will be no need to deserialize the service object.
- Changes of initialization parameters will be able to be detected, when manual redeployment happens.