_cacheManager = cacheManager;
EHCacheUtils.addCache(cacheManager, COMPUTATIONTARGET_CACHE);
_computationTarget = EHCacheUtils.getCacheFromManager(cacheManager, COMPUTATIONTARGET_CACHE);
if (underlying instanceof LazyResolver) {
final LazyResolver lazyUnderlying = (LazyResolver) underlying;
final LazyResolveContext context = lazyUnderlying.getLazyResolveContext();
_lazyResolveContext = new LazyResolveContext(context.getSecuritySource(), this);
lazyUnderlying.setLazyResolveContext(_lazyResolveContext);
} else {
_lazyResolveContext = new LazyResolveContext(underlying.getSecuritySource(), this);
}
VersionCorrectionUtils.addVersionCorrectionLockListener(_frontCacheCleaner);
}