Interface DynamicEventTemplateProvider

All Known Implementing Classes:
AbstractReflectionDynamicEventTemplateProviderAdapter, AnnotationDynamicEventTemplateProviderAdapter, MethodDynamicEventTemplateProviderAdapter

public interface DynamicEventTemplateProvider
A template provider allowing for custom implementations to provide a template used for matching on events to receive. Unlike the EventTemplateProvider which is called only once, this implementation is called before each space read or take operation, providing the ability to modify the take template for each specific operation.

Can be used when a SpaceDataEventListener is provided that also controls the template associated with it. Use with SimplePollingEventListenerContainer or ArchivePollingContainer)

Since:
9.1.1
Author:
Itai Frenkel
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the template that will be used for matching on events, and is called before each take or read operation.
  • Method Details

    • getDynamicTemplate

      Object getDynamicTemplate()
      Returns the template that will be used for matching on events, and is called before each take or read operation.