|
Griffon 0.9.5-rc2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
org.codehaus.griffon.runtime.core.AbstractGriffonAddon
public abstract class AbstractGriffonAddon extends GroovyObjectSupport
Base implementation of the GriffonAddon interface.
Field Summary | |
---|---|
private GriffonApplication |
app
|
protected List |
attributeDelegates
|
protected Map |
events
|
protected Map |
factories
|
private org.slf4j.Logger |
log
|
protected Map |
methods
|
protected Map |
mvcGroups
|
protected List |
postInstantiateDelegates
|
protected List |
postNodeCompletionDelegates
|
protected List |
preInstantiateDelegates
|
protected Map |
props
|
private ResourceLocator |
resourceLocator
|
Constructor Summary | |
AbstractGriffonAddon(GriffonApplication app)
|
|
protected AbstractGriffonAddon(GriffonApplication app, String loggingCategory)
|
Methods inherited from class GroovyObjectSupport | |
---|---|
setProperty, getProperty, getMetaClass, setMetaClass, invokeMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private final GriffonApplication app
protected final List attributeDelegates
protected final Map events
protected final Map factories
private final org.slf4j.Logger log
protected final Map methods
protected final Map mvcGroups
protected final List postInstantiateDelegates
protected final List postNodeCompletionDelegates
protected final List preInstantiateDelegates
protected final Map props
private final ResourceLocator resourceLocator
Constructor Detail |
---|
public AbstractGriffonAddon(GriffonApplication app)
protected AbstractGriffonAddon(GriffonApplication app, String loggingCategory)
Method Detail |
---|
public void addonBuilderInit(GriffonApplication app, FactoryBuilderSupport builder)
public void addonBuilderPostInit(GriffonApplication app, FactoryBuilderSupport builder)
public void addonInit(GriffonApplication app)
public void addonPostInit(GriffonApplication app)
public void execAsync(Runnable runnable)
public Future execFuture(ExecutorService executorService, Closure closure)
public Future execFuture(Closure closure)
public Future execFuture(ExecutorService executorService, Callable callable)
public Future execFuture(Callable callable)
public void execInsideUIAsync(Runnable runnable)
public void execInsideUISync(Runnable runnable)
public void execOutside(Runnable runnable)
public void execOutsideUI(Runnable runnable)
public void execSync(Runnable runnable)
public GriffonApplication getApp()
public List getAttributeDelegates()
public Map getEvents()
public Map getFactories()
public org.slf4j.Logger getLog()
public Map getMethods()
public Map getMvcGroups()
public List getPostInstantiateDelegates()
public List getPostNodeCompletionDelegates()
public List getPreInstantiateDelegates()
public Map getProps()
public InputStream getResourceAsStream(String name)
public URL getResourceAsURL(String name)
public List getResources(String name)
protected Map groupDef(String[] parts)
public boolean isUIThread()
public Object newInstance(Class clazz, String type)
clazz
- the Class for which an instance must be createdtype
- a symbolical type, for example 'controller' or 'service'. May be null.
Groovy Documentation