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
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected CoreProperties
protected static final Pattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
void
init()
void
process()
protected void
processFile
(String fileName) void
setApplicationContext
(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:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
init
@PostConstruct public void init() -
process
public void process() -
processFile
- Throws:
Exception
-
getBean
-
findTriggerFiles
-