/** * Method shutdown all registry instances. * * Please use method with care! * Make sure no other instances are using the cached remote instances before shutdown. * * Note: This method takes only effect in unit tests, otherwise this call is ignored. During normal operation there is not need for a manual registry shutdown because each registry takes care of its shutdown. */ public static void shutdown() { CachedUnitRegistryRemote.shutdown(); CachedAgentRegistryRemote.shutdown(); CachedAppRegistryRemote.shutdown(); CachedDeviceRegistryRemote.shutdown(); CachedLocationRegistryRemote.shutdown(); CachedSceneRegistryRemote.shutdown(); CachedUserRegistryRemote.shutdown(); CachedUserActivityRegistryRemote.shutdown(); }
CachedUserRegistryRemote.shutdown();