code: public void doPostProcessing(ApplicationContext ctx) {
          checkInitialised();
          for (GrailsPlugin plugin : pluginList) {
              if(isPluginDisabledForProfile(plugin)) continue;
              if (plugin.supportsCurrentScopeAndEnvironment()) {
                  plugin.doWithApplicationContext(ctx);
              }
          }
      }
docs: Base implementation that will simply go through each plugin and call doWithApplicationContext on each.