コード例 #1
0
 public void reloadEvent(String typename, Class<?> aClass, String encodedTimestamp) {
   CachedIntrospectionResults.clearClassLoader(aClass.getClassLoader());
   ClassPropertyFetcher.clearClassPropertyFetcherCache();
   if (GrailsProjectWatcher.isActive()) {
     GrailsProjectWatcher.firePendingClassChangeEvents(aClass);
   }
 }
コード例 #2
0
 public boolean shouldRerunStaticInitializer(
     String typename, Class<?> aClass, String encodedTimestamp) {
   return GrailsProjectWatcher.isActive();
 }