Пример #1
0
 @Override
 public void entitySaved(EntityEvent event) {
   super.entitySaved(event);
   if (event.getEntity() instanceof Release) {
     clearCaches();
   }
 }
Пример #2
0
 @Override
 public void entityDeleted(EntityEvent event) {
   super.entityDeleted(event);
   if (event.getEntity() instanceof SystemConfig) {
     clearCaches();
   }
 }