public abstract class AbstractGriffonMvcArtifactScript extends AbstractGriffonArtifactScript implements GriffonMvcArtifact
| Constructor and Description |
|---|
AbstractGriffonMvcArtifactScript(GriffonApplication application) |
| Modifier and Type | Method and Description |
|---|---|
MVCGroup |
getMvcGroup() |
void |
mvcGroupDestroy()
Callback for when the group is destroyed and disposed from the application.
|
void |
mvcGroupInit(Map<String,Object> args)
Post initialization callback.
|
void |
setMvcGroup(MVCGroup group) |
buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, classloader, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, getApplication, getArtifactType, getGriffonClass, getLog, getResourceAsStream, getResourceAsURL, getResources, isUIThread, runFuture, runFuture, runInsideUIAsync, runInsideUISync, runOutsideUI, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroupevaluate, evaluate, getBinding, getProperty, invokeMethod, print, printf, printf, println, println, run, run, setBinding, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplication, getGriffonClass, getLogisUIThread, runFuture, runFuture, runInsideUIAsync, runInsideUISync, runOutsideUIbuildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroupclassloader, getResourceAsStream, getResourceAsURL, getResourcespublic AbstractGriffonMvcArtifactScript(@Nonnull GriffonApplication application)
@Nonnull public MVCGroup getMvcGroup()
getMvcGroup in interface GriffonMvcArtifactpublic void mvcGroupInit(@Nonnull Map<String,Object> args)
GriffonMvcArtifact
This callback is called for all artifacts that belong to the
same MVC group right after each instance has been created.
Each entry on the args Map points either to an MVC
member or a variable that was defined using any of the buildMVCGroup
and/or createMVCGroup methods that can take a Map as parameter.
mvcGroupInit in interface GriffonMvcArtifactargs - a Map of MVC instances or variables keyed by type.public void mvcGroupDestroy()
GriffonMvcArtifactOnce an artifact has been "destroyed" it should not be used anymore. The application will remove any references to the group on its cache.
mvcGroupDestroy in interface GriffonMvcArtifact