Class EventSourceBeanRegistrar

java.lang.Object
de.otto.synapse.annotation.EventSourceBeanRegistrar
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware

public class EventSourceBeanRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware
ImportBeanDefinitionRegistrar for event-sourcing support.
See Also:
EnableEventSource
  • Constructor Summary

    Constructors 
    Constructor Description
    EventSourceBeanRegistrar()  
  • Method Summary

    Modifier and Type Method Description
    void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)  
    void setEnvironment​(org.springframework.core.env.Environment environment)
    Set the Environment that this component runs in.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar

    registerBeanDefinitions
  • Constructor Details

  • Method Details

    • setEnvironment

      public void setEnvironment​(org.springframework.core.env.Environment environment)
      Set the Environment that this component runs in.
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
      Parameters:
      environment - the current Spring environment
    • registerBeanDefinitions

      public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Specified by:
      registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar