@Component(value="eclipselink_OrmCacheSupport")
public class JpaCacheSupport
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.EntityStates |
entityStates |
protected io.jmix.core.Metadata |
metadata |
protected io.jmix.core.MetadataTools |
metadataTools |
protected StoreAwareLocator |
storeAwareLocator |
Constructor and Description |
---|
JpaCacheSupport() |
Modifier and Type | Method and Description |
---|---|
void |
evictMasterEntity(java.lang.Object entity,
io.jmix.core.event.AttributeChanges changes)
Evicts an entity from cache if it has the given entity as an element of collection.
|
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected StoreAwareLocator storeAwareLocator
@Autowired protected io.jmix.core.EntityStates entityStates
@Autowired protected io.jmix.core.MetadataTools metadataTools
public void evictMasterEntity(java.lang.Object entity, @Nullable io.jmix.core.event.AttributeChanges changes)
entity
- which is being updated and can potentially be an element of a collectionchanges
- changes in the entity. Null when creating and removing the entity.