automatic registration of activitydependencies using servicelocator