Class ViewControllerMeta

java.lang.Object
io.jmix.flowui.sys.ViewControllerMeta

public class ViewControllerMeta extends Object
Class provides information about view controller.
  • Field Details

    • metadataReaderFactory

      protected org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory
    • metadataReader

      protected org.springframework.core.type.classreading.MetadataReader metadataReader
    • viewClass

      protected Class<? extends View> viewClass
  • Constructor Details

    • ViewControllerMeta

      public ViewControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, org.springframework.core.type.classreading.MetadataReader metadataReader)
    • ViewControllerMeta

      public ViewControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, Class<? extends View> viewClass)
  • Method Details

    • getId

      public String getId()
      Returns:
      controller id
    • getControllerClass

      public String getControllerClass()
      Returns:
      fully qualified controller class name
    • getResource

      @Nullable public org.springframework.core.io.Resource getResource()
      Returns:
      the resource reference for the class file
    • getAnnotationAttributes

      @Nullable public Map<String,Object> getAnnotationAttributes(String annotationName)
      Parameters:
      annotationName - fully qualified annotation class name
      Returns:
      key-value pairs of annotation properties and their values
    • getControllerId

      protected String getControllerId()
    • getViewClassName

      protected String getViewClassName()
    • getControllerAnnotationAttributes

      @Nullable protected Map<String,Object> getControllerAnnotationAttributes(String annotationName, Class<? extends View> viewClass)