Interface ModelCacheFactory

All Known Implementing Classes:
DefaultModelCacheFactory

@Experimental public interface ModelCacheFactory
Factory for creating model caches.

The model cache is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache is created once per session and is valid through the lifetime of the session.

The cache implementation could be annotated with SessionScoped to be created once per session, but this would make tests more complicated to write as they would all need to enter the session scope.

Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description