use of io.crnk.core.engine.registry.ResourceRegistryPartEvent in project crnk-framework by crnk-project.
the class MetaModule method initRefreshListener.
private void initRefreshListener() {
ResourceRegistry resourceRegistry = context.getResourceRegistry();
resourceRegistry.addListener(new ResourceRegistryPartAdapter() {
@Override
public void onChanged(ResourceRegistryPartEvent event) {
currentLookup = null;
}
});
}
Aggregations