public interface PluginMetaManager extends PluginManagerAware
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BEAN_ID
Id of the bean in the app ctx
|
Modifier and Type | Method and Description |
---|---|
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.
|
setPluginManager
static final java.lang.String BEAN_ID
java.lang.String[] getPluginResources(java.lang.String pluginName)
pluginName
- The plugin nameGrailsPlugin getPluginForResource(java.lang.String name)
name
- The name of the resourcejava.lang.String getPluginPathForResource(java.lang.String resourceName)
resourceName
- The name of the resourcejava.lang.String getPluginViewsPathForResource(java.lang.String resourceName)
resourceName
- The resource name