public class Holders extends java.lang.Object
Allows looking up key classes in a static context
Type Params | Return Type | Name and description |
---|---|---|
|
public static void |
addApplicationDiscoveryStrategy(GrailsApplicationDiscoveryStrategy strategy) |
|
public static void |
clear() |
|
public static GrailsPluginManager |
currentPluginManager() |
|
public static GrailsApplication |
findApplication()
|
|
public static org.springframework.context.ApplicationContext |
findApplicationContext()
|
|
public static org.springframework.context.ApplicationContext |
getApplicationContext() |
|
public static Config |
getConfig() |
|
public static java.util.Map<?, ?> |
getFlatConfig() |
|
public static GrailsApplication |
getGrailsApplication() |
|
public static GrailsPluginManager |
getPluginManager() |
|
public static GrailsPluginManager |
getPluginManager(boolean mappedOnly) |
|
public static java.lang.Object |
getServletContext() |
|
public static void |
reset() |
|
public static void |
setConfig(Config config) |
|
public static void |
setGrailsApplication(GrailsApplication application) |
|
public static void |
setPluginManager(GrailsPluginManager pluginManager) |
|
public static void |
setPluginManagerInCreation(boolean inCreation) |
|
public static void |
setServletContext(java.lang.Object servletContext) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |