GenericCache cache;
// --------------------------------------------------------------------
// Device Repository Manager
// --------------------------------------------------------------------
final DeviceRepositoryAccessorFactory accessorFactory =
DeviceRepositoryAccessorFactory.getDefaultInstance();
deviceRepositoryAccessor =
accessorFactory.createDeviceRepositoryAccessor(
repository, location, null);
cache = createDeviceCache(marinerConfig.getPolicies().getDeviceCache());
deviceRepositoryAccessor.setDeviceCache(cache);
// we always cache device patterns