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 Type
    Method
    Description
    Perform any initialization tasks (e.g. exercising a lazy collection) and returns a StandardCacheItem instance.
    boolean
    Whether or not this initializer is qualified to work on the given entity type
  • Method Details

    • isOverrideQualified

      boolean isOverrideQualified(Class<?> type)
      Whether or not this initializer is qualified to work on the given entity type
      Parameters:
      type -
      Returns:
    • initializeOverride

      StandardCacheItem initializeOverride(Object entity)
      Perform any initialization tasks (e.g. exercising a lazy collection) and returns a StandardCacheItem instance.
      Parameters:
      entity -
      Returns: