|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.codehaus.groovy.grails.plugins.PluginManagerAware org.codehaus.groovy.grails.plugins.PluginMetaManager
public interface PluginMetaManager extends PluginManagerAware
Enables the evaluation of Plug-in Metadata supplied by the plug-ins plugin.xml file.
Field Summary | |
---|---|
java.lang.String |
BEAN_ID
Id of the bean in the app ctx |
Method Summary | |
---|---|
GrailsPlugin
|
getPluginForResource(java.lang.String name)
Obtains a plug-in instance from the pluginManager for the given resource name. |
java.lang.String
|
getPluginPathForResource(java.lang.String resourceName)
Obtains the path to the plug-in for the given resource. |
java.lang.String[]
|
getPluginResources(java.lang.String pluginName)
Retrieves all the plugin resource names for the given plugin name. |
java.lang.String
|
getPluginViewsPathForResource(java.lang.String resourceName)
Obtains the path to the plug-in views directory for the given resource name. |
Methods inherited from interface PluginManagerAware | |
---|---|
setPluginManager |
Field Detail |
---|
public java.lang.String BEAN_ID
Method Detail |
---|
public GrailsPlugin getPluginForResource(java.lang.String name)
name
- The name of the resource
public java.lang.String getPluginPathForResource(java.lang.String resourceName)
resourceName
- The name of the resource
public java.lang.String[] getPluginResources(java.lang.String pluginName)
pluginName
- The plugin name
public java.lang.String getPluginViewsPathForResource(java.lang.String resourceName)
resourceName
- The resource name
Groovy Documentation