@Documented @Retention(value=SOURCE) @Target(value=TYPE) public @interface MVCAware
Annotates a class.
When annotating a class it indicates that it will be able to handle MVC groups, that is, instantiate them. The class will have the ability to create new instances of MVC groups, including short-lived ones.
The following methods will be added to classes annotated with @MVCAwarepublic MVCGroup buildMVCGroup(String mvcType)
public MVCGroup buildMVCGroup(String mvcType, String mvcId)
public MVCGroup buildMVCGroup(Map<String, Object> args, String mvcType)
public MVCGroup buildMVCGroup(String mvcType, Map<String, Object> args)
public MVCGroup buildMVCGroup(Map<String, Object> args, String mvcType, String mvcId)
public MVCGroup buildMVCGroup(String mvcType, String mvcId, Map<String, Object> args)
public List<? extends GriffonMvcArtifact> createMVCGroup(String mvcType)
public List<? extends GriffonMvcArtifact> createMVCGroup(Map<String, Object> args, String mvcType)
public List<? extends GriffonMvcArtifact> createMVCGroup(String mvcType, Map<String, Object> args)
public List<? extends GriffonMvcArtifact> createMVCGroup(String mvcType, String mvcId)
public List<? extends GriffonMvcArtifact> createMVCGroup(Map<String, Object> args, String mvcType, String mvcId)
public List<? extends GriffonMvcArtifact> createMVCGroup(String mvcType, String mvcId, Map<String, Object> args)
public void destroyMVCGroup(String mvcId)
public void withMVCGroup(String mvcType, Closure handler)
public void withMVCGroup(String mvcType, String mvcId, Closure handler)
public void withMVCGroup(String mvcType, String mvcId, Map<String, Object> args, Closure handler)
public void withMVCGroup(Map<String, Object> args, String mvcType, String mvcId, Closure handler)
public void withMVCGroup(String mvcType, Map<String, Object> args, Closure handler)
public void withMVCGroup( Object> args, String mvcType, Map<String,Closure handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVCGroup(String mvcType, MVCClosure<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVCGroup(String mvcType, String mvcId, MVCClosure<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVCGroup(String mvcType, String mvcId, Map<String, Object> args, MVCClosure<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVCGroup(Map<String, Object> args, String mvcType, String mvcId, MVCClosure<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVCGroup(String mvcType, Map<String, Object> args, MVCClosure<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVCGroup(Map<String, Object> args, String mvcType, MVCClosure<M, V, C> handler)
MVCHandler