/** * Returns the cached object. If not then it asks class to create an * object to cache. */ public T cachedObject(ThreadContext context) { if (!isCached()) cachedObject = createCacheObject(context); return cachedObject; }
/** * Returns the cached object. If not then it asks class to create an * object to cache. */ public T cachedObject(ThreadContext context) { if (!isCached()) cachedObject = createCacheObject(context); return cachedObject; }
/** * Returns the cached object. If not then it asks class to create an * object to cache. */ public Object cachedObject(ThreadContext context) { if (!isCached()) cachedObject = createCacheObject(context); return cachedObject; }
/** * Returns the cached object. If not then it asks class to create an * object to cache. */ public Object cachedObject(ThreadContext context) { if (!isCached()) cachedObject = createCacheObject(context); return cachedObject; }