Class AnnotatedReportScannerImpl

java.lang.Object
io.jmix.reports.impl.AnnotatedReportScannerImpl
All Implemented Interfaces:
AnnotatedReportScanner, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component("reports_AnnotatedReportScanner") public class AnnotatedReportScannerImpl extends Object implements AnnotatedReportScanner, org.springframework.context.ApplicationContextAware
  • Field Details

  • Constructor Details

  • Method Details

    • importGroupDefinitions

      public void importGroupDefinitions()
      Description copied from interface: AnnotatedReportScanner
      Scan and import group definitions from application context. Imported definitions are stored in AnnotatedReportGroupHolder.
      Specified by:
      importGroupDefinitions in interface AnnotatedReportScanner
      See Also:
    • importGroupDefinition

      protected void importGroupDefinition(Object bean, String beanName)
    • importReportDefinitions

      public void importReportDefinitions()
      Description copied from interface: AnnotatedReportScanner
      Scan and import report definitions from application context. Imported definitions are stored in AnnotatedReportHolder.
      Specified by:
      importReportDefinitions in interface AnnotatedReportScanner
      See Also:
    • importReportDefinition

      protected void importReportDefinition(Object bean, String beanName)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • loadReportGroupClass

      public void loadReportGroupClass(String className)
      Description copied from interface: AnnotatedReportScanner
      Reloads annotated report group definition for hot-deploy.
      Specified by:
      loadReportGroupClass in interface AnnotatedReportScanner
      Parameters:
      className - fully-qualified name of the annotated report group class
    • loadReportClass

      public void loadReportClass(String className)
      Description copied from interface: AnnotatedReportScanner
      Reloads annotated report definition for hot-deploy.
      Specified by:
      loadReportClass in interface AnnotatedReportScanner
      Parameters:
      className - fully-qualified name of the annotated report class
    • replaceBeanInContext

      protected void replaceBeanInContext(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, org.springframework.beans.factory.config.BeanDefinition beanDefinition, String beanName, List<String> beanNamesToDelete)
    • getBeanNamesToDelete

      protected List<String> getBeanNamesToDelete(String beanName, String className, Class<? extends Annotation> annotationMarkerClass)
    • findExistingBeanNameByClassName

      @Nullable protected String findExistingBeanNameByClassName(String className, Class<? extends Annotation> annotationMarkerClass)
    • getBeanName

      protected String getBeanName(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, org.springframework.beans.factory.config.BeanDefinition beanDefinition)
    • getBeanNameGenerator

      protected org.springframework.context.annotation.AnnotationBeanNameGenerator getBeanNameGenerator()