code: protected void onDataSetStaleEvent(@Observes DataSetStaleEvent event) {
          DataSetDef def = event.getDataSetDef();
          if (DataSetProviderType.BEAN.equals(def.getProvider())) {
              staticDataSetProvider.removeDataSet(def.getUUID());
          }
      }
docs: Listen to changes on the data set definition registry