public void reloadEvent(String typename, Class<?> aClass, String encodedTimestamp) { CachedIntrospectionResults.clearClassLoader(aClass.getClassLoader()); ClassPropertyFetcher.clearClassPropertyFetcherCache(); if (GrailsProjectWatcher.isActive()) { GrailsProjectWatcher.firePendingClassChangeEvents(aClass); } }
public boolean shouldRerunStaticInitializer( String typename, Class<?> aClass, String encodedTimestamp) { return GrailsProjectWatcher.isActive(); }