// ... then preload the policy caches, syncronously.
// In future we may wish to do this asyncronously.
// NOTE: this will only load policies from the default
// project! The accessor API does not currently allow us
// to iterate over non-default projects.
PolicyCachePreloader preloader =
new PolicyCachePreloader(defaultRepository,
defaultProject,
deviceRepositoryAccessor);
preloader.run();
}
RemotePolicyBuildersReader policyBuildersReader =
remoteReadersFactory.createPolicyBuildersReader(
projectManager);