Interface OverridePreCacheInitializer
- All Known Implementing Classes:
SparseTranslationOverrideStrategy
public interface OverridePreCacheInitializer
Performs cache item initialization for a specific entity type.
- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptioninitializeOverride
(Object entity) Perform any initialization tasks (e.g. exercising a lazy collection) and returns a StandardCacheItem instance.boolean
isOverrideQualified
(Class<?> type) Whether or not this initializer is qualified to work on the given entity type
-
Method Details
-
isOverrideQualified
Whether or not this initializer is qualified to work on the given entity type- Parameters:
type
-- Returns:
-
initializeOverride
Perform any initialization tasks (e.g. exercising a lazy collection) and returns a StandardCacheItem instance.- Parameters:
entity
-- Returns:
-