Class UiControllerMeta

java.lang.Object
io.jmix.ui.sys.UiControllerMeta

public class UiControllerMeta extends Object
Class provides information about screen controller.
  • Field Details

    • metadataReaderFactory

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

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

      protected Class<? extends FrameOwner> screenClass
  • Constructor Details

    • UiControllerMeta

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

      public UiControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, Class<? extends FrameOwner> screenClass)
  • Method Details

    • getId

      public String getId()
      Returns:
      controller id
    • getControllerClass

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

      @Nullable public RouteDefinition getRouteDefinition()
      Returns:
      route definition configured by the Route annotation
    • 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()
    • getScreenClassName

      protected String getScreenClassName()
    • extractRouteDefinition

      @Nullable protected RouteDefinition extractRouteDefinition()
    • traverseForRoute

      @Nullable protected Map<String,Object> traverseForRoute()
    • traverseForRoute

      @Nullable protected Map<String,Object> traverseForRoute(Class screenClass)
    • traverseForRoute

      @Nullable protected Map<String,Object> traverseForRoute(org.springframework.core.type.classreading.MetadataReader metadataReader)
    • getControllerAnnotationAttributes

      @Nullable protected Map<String,Object> getControllerAnnotationAttributes(String annotationName, Class<?> screenClass)