final Object maybeDataCacheProvider =
ObjectUtilities.loadAndInstantiate
(dataCacheProviderClass, ResourceManager.class, ResourceDataCacheProvider.class);
if (maybeDataCacheProvider instanceof ResourceDataCacheProvider)
{
final ResourceDataCacheProvider provider = (ResourceDataCacheProvider) maybeDataCacheProvider;
try
{
final ResourceDataCache cache = provider.createDataCache();
if (cache != null)
{
setDataCache(cache);
}
}