Update for Grails 2.4+
Note that certain holder classes, such as the PluginManagerHolder , were deprecated for several versions of Grails and removed in Grails 2.4. They have been replaced by a single class, grails.util.Holders , which provides access to all the various objects throughout the application through a single access point.
import grails.util.Holders if (Holders.pluginManager.hasGrailsPlugin('acegi')) { ... }
Ian roberts
source share