Class CompileCacheOperation<S>
java.lang.Object
net.n2oapp.framework.api.event.MetadataChangeListener
net.n2oapp.framework.config.compile.pipeline.operation.CompileCacheOperation<S>
- All Implemented Interfaces:
EventListener,N2oEventListener<MetadataChangedEvent>,MetadataEnvironmentAware,PipelineOperationTypeAware,PipelineOperation<S,,S> org.springframework.context.ApplicationListener<MetadataChangedEvent>
- Direct Known Subclasses:
LocalizedCompileCacheOperation
public class CompileCacheOperation<S>
extends MetadataChangeListener
implements PipelineOperation<S,S>, PipelineOperationTypeAware, MetadataEnvironmentAware
Операция кэширования собранных метаданных в конвейере
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(CompileContext<?, ?> context, DataSet data, Supplier<S> supplier, CompileProcessor compileProcessor, BindProcessor bindProcessor, SourceProcessor sourceProcessor) protected StringgetKey(CompileContext<?, ?> context, BindProcessor p) voidvoidhandleMetadataChange(String id, Class<? extends SourceMetadata> sourceClass) voidsetEnvironment(MetadataEnvironment environment) Methods inherited from class net.n2oapp.framework.api.event.MetadataChangeListener
handleEvent, isApplyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecutionMethods inherited from interface net.n2oapp.framework.api.event.N2oEventListener
onApplicationEvent
-
Constructor Details
-
CompileCacheOperation
public CompileCacheOperation() -
CompileCacheOperation
-
-
Method Details
-
execute
public S execute(CompileContext<?, ?> context, DataSet data, Supplier<S> supplier, CompileProcessor compileProcessor, BindProcessor bindProcessor, SourceProcessor sourceProcessor) - Specified by:
executein interfacePipelineOperation<S,S>
-
handleAllMetadataChange
public void handleAllMetadataChange()- Specified by:
handleAllMetadataChangein classMetadataChangeListener
-
handleMetadataChange
- Specified by:
handleMetadataChangein classMetadataChangeListener
-
setEnvironment
- Specified by:
setEnvironmentin interfaceMetadataEnvironmentAware
-
getPipelineOperationType
- Specified by:
getPipelineOperationTypein interfacePipelineOperationTypeAware
-
getKey
-