@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 createMVCGroup(String mvcType)
public MVCGroup createMVCGroup(String mvcType, String mvcId)
public MVCGroup createMVCGroup(Map<String, Object> args, String mvcType)
public MVCGroup createMVCGroup(String mvcType, Map<String, Object> args)
public MVCGroup createMVCGroup(Map<String, Object> args, String mvcType, String mvcId)
public MVCGroup createMVCGroup(String mvcType, String mvcId, Map<String, Object> args)
public List<? extends GriffonMvcArtifact> createMVC(String mvcType)
public List<? extends GriffonMvcArtifact> createMVC(Map<String, Object> args, String mvcType)
public List<? extends GriffonMvcArtifact> createMVC(String mvcType, Map<String, Object> args)
public List<? extends GriffonMvcArtifact> createMVC(String mvcType, String mvcId)
public List<? extends GriffonMvcArtifact> createMVC(Map<String, Object> args, String mvcType, String mvcId)
public List<? extends GriffonMvcArtifact> createMVC(String mvcType, String mvcId, Map<String, Object> args)
public void destroyMVCGroup(String mvcId)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, MVCCallable<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, String mvcId, MVCCallable<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, String mvcId, Map<String, Object> args, MVCCallable<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Map<String, Object> args, String mvcType, String mvcId, MVCCallable<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, Map<String, Object> args, MVCCallable<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Map<String, Object> args, String mvcType, MVCCallable<M, V, C> handler)
public void withMVCGroup(String mvcType, MVCGroupCallable handler)
public void withMVCGroup(String mvcType, String mvcId, MVCGroupCallable handler)
public void withMVCGroup(String mvcType, String mvcId, Map<String, Object> args, MVCGroupCallable handler)
public void withMVCGroup(Map<String, Object> args, String mvcType, String mvcId, MVCGroupCallable handler)
public void withMVCGroup(String mvcType, Map<String, Object> args, MVCGroupCallable handler)
public void withMVCGroup(Map<String, Object> args, String mvcType, MVCGroupCallable handler)
MVCHandler