@java.lang.SuppressWarnings("rawtypes") public class DefaultGrailsPlugin extends AbstractGrailsPlugin
Implementation of the GrailsPlugin interface that wraps a Groovy plugin class and provides the magic to invoke its various methods from Java.
Modifiers | Name | Description |
---|---|---|
protected static org.apache.commons.logging.Log |
LOG |
|
protected org.springframework.beans.BeanWrapper |
pluginBean |
Fields inherited from class | Fields |
---|---|
class AbstractGrailsPlugin |
PLUGIN_GROOVY, PLUGIN_GROOVY_PATH, PLUGIN_YML, PLUGIN_YML_PATH, applicationContext, config, dependencies, dependencyNames, evictionList, grailsApplication, isBase, manager, pluginClass, propertySource, version |
Type | Name and description |
---|---|
Resource |
descriptor |
org.springframework.core.io.Resource[] |
watchedResources |
Constructor and description |
---|
DefaultGrailsPlugin
(java.lang.Class<?> pluginClass, org.springframework.core.io.Resource resource, GrailsApplication application) |
DefaultGrailsPlugin
(java.lang.Class<?> pluginClass, GrailsApplication application) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addExclude(grails.util.Environment env) |
|
BeanBuilder |
beans(groovy.lang.Closure closure) |
|
void |
doArtefactConfiguration() |
|
void |
doWithApplicationContext(io.micronaut.context.ApplicationContext ctx) |
|
void |
doWithDynamicMethods(io.micronaut.context.ApplicationContext ctx) |
|
void |
doWithRuntimeConfiguration(RuntimeSpringConfiguration springConfig) |
|
void |
doc(java.lang.String text) @deprecated Dynamic document generation no longer supported |
|
java.lang.String[] |
getDependencyNames() |
|
java.lang.String |
getDependentVersion(java.lang.String name) |
|
Resource |
getDescriptor() |
|
java.lang.String |
getFullName() |
|
groovy.lang.GroovyObject |
getInstance() |
|
java.lang.String[] |
getLoadAfterNames() |
|
java.lang.String[] |
getLoadBeforeNames() |
|
org.apache.commons.logging.Log |
getLog() |
|
java.lang.String |
getName() |
|
java.lang.String[] |
getObservedPluginNames() |
|
io.micronaut.context.ApplicationContext |
getParentCtx() |
|
GrailsPlugin |
getPlugin() |
|
Resource |
getPluginDir() |
|
java.util.List<java.lang.String> |
getPluginExcludes() |
|
java.util.Map |
getProperties() |
|
java.lang.Class<?>[] |
getProvidedArtefacts() |
|
PathMatchingResourcePatternResolver |
getResolver() @return the resolver |
|
java.util.Collection<? extends org.springframework.core.type.filter.TypeFilter> |
getTypeFilters() |
|
java.util.List<WatchPattern> |
getWatchedResourcePatterns() |
|
org.springframework.core.io.Resource[] |
getWatchedResources() @return the watchedResources |
|
boolean |
hasInterestInChange(java.lang.String path) |
|
boolean |
isEnabled(java.lang.String[] activeProfiles) |
|
boolean |
isEnabled() |
|
void |
notifyOfEvent(java.util.Map event) |
|
java.util.Map |
notifyOfEvent(int eventKind, java.lang.Object source) |
|
void |
refresh() |
|
void |
setApplicationContext(io.micronaut.context.ApplicationContext applicationContext) |
|
void |
setDescriptor(org.springframework.core.io.Resource descriptor) |
|
void |
setManager(GrailsPluginManager manager) |
|
void |
setParentApplicationContext(io.micronaut.context.ApplicationContext parent) |
|
void |
setWatchedResources(org.springframework.core.io.Resource[] watchedResources) |
|
boolean |
supportsCurrentScopeAndEnvironment() |
|
boolean |
supportsEnvironment(grails.util.Environment environment) |
|
java.lang.String |
toString() |