Class ChenileFileWatchInitializer
java.lang.Object
org.chenile.core.init.BaseInitializer<FileWatchDefinition>
org.chenile.filewatch.init.ChenileFileWatchInitializer
- All Implemented Interfaces:
InitializingBean
Picks up all the file watch resources and registers all of them in
ChenileConfiguration ChenileConfiguration provides for extension
points for registering new type of resources. This class uses the extension
point to register the file watches- Author:
- Raja Shankar Kolluru
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final FileWatchPropertiesFields inherited from class BaseInitializer
chenileConfiguration, chenileJsonResources -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcreateDirectory(Path path) protected Class<FileWatchDefinition> protected voidMethods inherited from class BaseInitializer
afterPropertiesSet, getExtensionMap, init, registerResource
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
properties
-
-
Constructor Details
-
ChenileFileWatchInitializer
-
-
Method Details
-
registerModelInChenile
- Specified by:
registerModelInChenilein classBaseInitializer<FileWatchDefinition>
-
createDirectory
-
getModelType
- Specified by:
getModelTypein classBaseInitializer<FileWatchDefinition>
-
CHENILE