@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 <MVC extends TypedMVCGroup> createMVCGroup(Class<? extends MVC> mvcType)
public <MVC extends TypedMVCGroup> createMVCGroup(Class<? extends MVC> mvcType, String mvcId)
public <MVC extends TypedMVCGroup> createMVCGroup(Map<String, Object> args, Class<? extends MVC> mvcType)
public <MVC extends TypedMVCGroup> createMVCGroup(Class<? extends MVC> mvcType, Map<String, Object> args)
public <MVC extends TypedMVCGroup> createMVCGroup(Map<String, Object> args, Class<? extends MVC> mvcType, String mvcId)
public <MVC extends TypedMVCGroup> createMVCGroup(Class<? extends MVC> 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 <MVC extends TypedMVCGroup> List<? extends GriffonMvcArtifact> createMVC(Class<? extends MVC> mvcType)
public <MVC extends TypedMVCGroup> List<? extends GriffonMvcArtifact> createMVC(Map<String, Object> args, Class<? extends MVC> mvcType)
public <MVC extends TypedMVCGroup> List<? extends GriffonMvcArtifact> createMVC(Class<? extends MVC> mvcType, Map<String, Object> args)
public <MVC extends TypedMVCGroup> List<? extends GriffonMvcArtifact> createMVC(Class<? extends MVC> mvcType, String mvcId)
public <MVC extends TypedMVCGroup> List<? extends GriffonMvcArtifact> createMVC(Map<String, Object> args, Class<? extends MVC> mvcType, String mvcId)
public <MVC extends TypedMVCGroup> List<? extends GriffonMvcArtifact> createMVC(Class<? extends MVC> 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, MVCFunction<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, String mvcId, MVCFunction<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, String mvcId, Map<String, Object> args, MVCFunction<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Map<String, Object> args, String mvcType, String mvcId, MVCFunction<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(String mvcType, Map<String, Object> args, MVCFunction<M, V, C> handler)
public <M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Map<String, Object> args, String mvcType, MVCFunction<M, V, C> handler)
public <MVC extends TypedMVCGroup, M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Class<? extends MVC> mvcType, MVCFunction<M, V, C> handler)
public <MVC extends TypedMVCGroup, M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Class<? extends MVC> mvcType, String mvcId, MVCFunction<M, V, C> handler)
public <MVC extends TypedMVCGroup, M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Class<? extends MVC> mvcType, String mvcId, Map<String, Object> args, MVCFunction<M, V, C> handler)
public <MVC extends TypedMVCGroup, M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Map<String, Object> args, Class<? extends MVC> mvcType, String mvcId, MVCFunction<M, V, C> handler)
public <MVC extends TypedMVCGroup, M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Class<? extends MVC> mvcType, Map<String, Object> args, MVCFunction<M, V, C> handler)
public <MVC extends TypedMVCGroup, M extends GriffonModel, V extends GriffonView, C extends GriffonController> void withMVC(Map<String, Object> args, Class<? extends MVC> mvcType, MVCFunction<M, V, C> handler)
public void withMVCGroup(String mvcType, MVCGroupFunction handler)
public void withMVCGroup(String mvcType, String mvcId, MVCGroupFunction handler)
public void withMVCGroup(String mvcType, String mvcId, Map<String, Object> args, MVCGroupFunction handler)
public void withMVCGroup(Map<String, Object> args, String mvcType, String mvcId, MVCGroupFunction handler)
public void withMVCGroup(String mvcType, Map<String, Object> args, MVCGroupFunction handler)
public void withMVCGroup(Map<String, Object> args, String mvcType, MVCGroupFunction handler)
public <MVC extends TypedMVCGroup> void withMVCGroup(Class<? extends MVC> mvcType, TypedMVCGroupFunction handler)
public <MVC extends TypedMVCGroup> void withMVCGroup(Class<? extends MVC> mvcType, String mvcId, TypedMVCGroupFunction handler)
public <MVC extends TypedMVCGroup> void withMVCGroup(Class<? extends MVC> mvcType, String mvcId, Map<String, Object> args, TypedMVCGroupFunction handler)
public <MVC extends TypedMVCGroup> void withMVCGroup(Map<String, Object> args, Class<? extends MVC> mvcType, String mvcId, TypedMVCGroupFunction handler)
public <MVC extends TypedMVCGroup> void withMVCGroup(Class<? extends MVC> mvcType, Map<String, Object> args, TypedMVCGroupFunction handler)
public <MVC extends TypedMVCGroup> void withMVCGroup(Map<String, Object> args, Class<? extends MVC> mvcType, TypedMVCGroupFunction handler)
MVCHandler