Class TriggerFilesProcessor

java.lang.Object
io.jmix.core.impl.TriggerFilesProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component("core_TriggerFilesProcessor") public class TriggerFilesProcessor extends Object implements org.springframework.context.ApplicationContextAware
  • Field Details

    • coreProperties

      @Autowired protected CoreProperties coreProperties
    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • FILE_NAME_PATTERN

      protected static final Pattern FILE_NAME_PATTERN
  • Constructor Details

    • TriggerFilesProcessor

      public TriggerFilesProcessor()
  • Method Details

    • setApplicationContext

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

      @PostConstruct public void init()
    • process

      public void process()
    • processFile

      protected void processFile(String fileName) throws Exception
      Throws:
      Exception
    • getBean

      @Nullable protected Object getBean(String beanClassName)
    • findTriggerFiles

      protected List<Path> findTriggerFiles()