if ( factoryName == null )
{
eMsg = "EntityCachingService.initialize(): No entry for org.jasig.portal.concurrency.caching.IEntityCachingServiceFactory in portal.properties.";
log.error( eMsg);
throw new CachingException(eMsg);
}
try
{
IEntityCachingServiceFactory cachingServiceFactory =
(IEntityCachingServiceFactory)Class.forName(factoryName).newInstance();
cache = cachingServiceFactory.newCachingService();
}
catch (Exception e)
{
eMsg = "EntityCachingService.initialize(): Problem creating entity caching service...";
log.error( eMsg, e);
throw new CachingException(eMsg, e);
}
}