Package io.jmix.core.impl
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 Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected CorePropertiesprotected static final Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectvoidinit()voidprocess()protected voidprocessFile(String fileName) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
coreProperties
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
init
@PostConstruct public void init() -
process
public void process() -
processFile
- Throws:
Exception
-
getBean
-
findTriggerFiles
-