public abstract class AbstractGrailsPluginManager extends java.lang.Object implements GrailsPluginManager
Abstract implementation of the GrailsPluginManager interface
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
CONFIG_FILE |
|
protected GrailsApplication |
application |
|
protected org.springframework.context.ApplicationContext |
applicationContext |
|
protected java.util.Map<java.lang.String, GrailsPlugin> |
classNameToPluginMap |
|
protected java.util.Map<java.lang.String, GrailsPlugin> |
failedPlugins |
|
protected boolean |
initialised |
|
protected boolean |
loadCorePlugins |
|
protected java.lang.Class<?>[] |
pluginClasses |
|
protected java.util.List<GrailsPlugin> |
pluginList |
|
protected org.springframework.core.io.Resource[] |
pluginResources |
|
protected java.util.Map<java.lang.String, GrailsPlugin> |
plugins |
|
protected boolean |
shutdown |
Constructor and description |
---|
AbstractGrailsPluginManager
(GrailsApplication application) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
checkInitialised() |
|
public java.lang.Object |
convert(NullSafeNavigator source) |
|
public void |
doArtefactConfiguration() |
|
public void |
doDynamicMethods() |
|
public void |
doPostProcessing(org.springframework.context.ApplicationContext ctx) Base implementation that will simply go through each plugin and call doWithApplicationContext on each. |
|
public void |
doRuntimeConfiguration(RuntimeSpringConfiguration springConfig) Base implementation that simply goes through the list of plugins and calls doWithRuntimeConfiguration on each |
|
public void |
doRuntimeConfiguration(java.lang.String pluginName, RuntimeSpringConfiguration springConfig) Base implementation that will perform runtime configuration for the specified plugin name. |
|
public GrailsPlugin[] |
getAllPlugins() |
|
public GrailsPlugin[] |
getFailedLoadPlugins() |
|
public GrailsPlugin |
getFailedPlugin(java.lang.String name) |
|
public GrailsPlugin |
getGrailsPlugin(java.lang.String name) |
|
public GrailsPlugin |
getGrailsPlugin(java.lang.String name, java.lang.Object version) |
|
public GrailsPlugin |
getGrailsPluginForClassName(java.lang.String name) |
|
public GrailsPlugin |
getPluginForClass(java.lang.Class<?> theClass) |
|
public GrailsPlugin |
getPluginForInstance(java.lang.Object instance) |
|
public java.lang.String |
getPluginPath(java.lang.String name) |
|
public java.lang.String |
getPluginPath(java.lang.String name, boolean forceCamelCase) |
|
public java.lang.String |
getPluginPathForClass(java.lang.Class<?> theClass) |
|
public java.lang.String |
getPluginPathForInstance(java.lang.Object instance) |
|
public org.springframework.core.io.Resource[] |
getPluginResources() |
|
public java.lang.String |
getPluginViewsPathForClass(java.lang.Class<?> theClass) |
|
public java.lang.String |
getPluginViewsPathForInstance(java.lang.Object instance) |
|
public java.util.List<org.springframework.core.type.filter.TypeFilter> |
getTypeFilters() |
|
public boolean |
hasGrailsPlugin(java.lang.String name) |
|
public void |
informOfClassChange(java.lang.Class<?> aClass) |
|
public void |
informOfClassChange(java.io.File file, java.lang.Class cls) |
|
public void |
informOfFileChange(java.io.File file) |
|
public void |
informPluginsOfConfigChange() |
|
public boolean |
isInitialised()
|
|
protected boolean |
isPluginDisabledForProfile(GrailsPlugin plugin) |
|
public boolean |
isShutdown() |
|
public void |
onStartup(java.util.Map<java.lang.String, java.lang.Object> event) |
|
public void |
registerProvidedArtefacts(GrailsApplication app) |
|
public void |
setApplication(GrailsApplication application) |
|
public void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
public void |
setLoadCorePlugins(boolean shouldLoadCorePlugins) |
|
public void |
setPluginFilter(PluginFilter pluginFilter) |
|
public void |
shutdown() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Base implementation that will simply go through each plugin and call doWithApplicationContext on each.
Base implementation that simply goes through the list of plugins and calls doWithRuntimeConfiguration on each
springConfig
- The RuntimeSpringConfiguration instanceBase implementation that will perform runtime configuration for the specified plugin name.