|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport org.codehaus.groovy.grails.plugins.AbstractGrailsPlugin
public abstract class AbstractGrailsPlugin extends groovy.lang.GroovyObjectSupport
Abstract implementation that provides some default behaviours
Field Summary | |
---|---|
protected GrailsApplication |
application
|
protected org.springframework.context.ApplicationContext |
applicationContext
|
protected java.util.Map |
dependencies
|
protected java.lang.String[] |
dependencyNames
|
protected java.lang.String[] |
evictionList
|
protected boolean |
isBase
|
protected GrailsPluginManager |
manager
|
protected java.lang.Class |
pluginClass
|
protected java.lang.String |
version
|
Method Summary | |
---|---|
java.lang.Object
|
AbstractGrailsPlugin(java.lang.Class pluginClass, GrailsApplication application)
|
boolean
|
checkForChanges()
|
int
|
compareTo(java.lang.Object o)
|
void
|
doWithWebDescriptor(org.w3c.dom.Element webXml)
|
boolean
|
equals(java.lang.Object o)
|
java.lang.String[]
|
getDependencyNames()
|
java.lang.String
|
getDependentVersion(java.lang.String name)
|
java.lang.String[]
|
getEvictionNames()
|
java.lang.String
|
getFileSystemName()
|
java.lang.String
|
getFileSystemShortName()
|
java.lang.String[]
|
getLoadAfterNames()
|
java.lang.String[]
|
getLoadBeforeNames()
|
GrailsPluginManager
|
getManager()
|
java.lang.String
|
getName()
|
java.lang.Class
|
getPluginClass()
|
java.lang.String
|
getPluginPath()
|
java.lang.String
|
getVersion()
|
java.util.List
|
getWatchedResourcePatterns()
|
boolean
|
hasInterestInChange(java.lang.String path)
|
int
|
hashCode()
|
boolean
|
isBasePlugin()
|
void
|
refresh()
|
void
|
setApplication(GrailsApplication application)
|
void
|
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void
|
setBasePlugin(boolean isBase)
|
void
|
setManager(GrailsPluginManager manager)
|
Methods inherited from class groovy.lang.GroovyObjectSupport | |
---|---|
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Field Detail |
---|
protected GrailsApplication application
protected org.springframework.context.ApplicationContext applicationContext
protected java.util.Map dependencies
protected java.lang.String[] dependencyNames
protected java.lang.String[] evictionList
protected boolean isBase
protected GrailsPluginManager manager
protected java.lang.Class pluginClass
protected java.lang.String version
Method Detail |
---|
public java.lang.Object AbstractGrailsPlugin(java.lang.Class pluginClass, GrailsApplication application)
public boolean checkForChanges()
public int compareTo(java.lang.Object o)
public void doWithWebDescriptor(org.w3c.dom.Element webXml)
if (this == o) return true; public boolean equals(java.lang.Object o)
public java.lang.String[] getDependencyNames()
public java.lang.String getDependentVersion(java.lang.String name)
public java.lang.String[] getEvictionNames()
public java.lang.String getFileSystemName()
public java.lang.String getFileSystemShortName()
public java.lang.String[] getLoadAfterNames()
public java.lang.String[] getLoadBeforeNames()
public GrailsPluginManager getManager()
public java.lang.String getName()
public java.lang.Class getPluginClass()
public java.lang.String getPluginPath()
public java.lang.String getVersion()
public java.util.List getWatchedResourcePatterns()
public boolean hasInterestInChange(java.lang.String path)
int result = version.hashCode(); public int hashCode()
public boolean isBasePlugin()
public void refresh()
public void setApplication(GrailsApplication application)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
public void setBasePlugin(boolean isBase)
public void setManager(GrailsPluginManager manager)
Groovy Documentation