Class SpringContextHandlerDefinitionBuilder

java.lang.Object
org.axonframework.spring.config.annotation.SpringContextHandlerDefinitionBuilder

@Deprecated public final class SpringContextHandlerDefinitionBuilder extends Object
Deprecated.
Creates and registers a bean definition for a Spring Context aware HandlerDefinition. It ensures that only one such instance exists for each ApplicationContext.
Since:
3.3
Author:
Tyler Thrailkill, Milan Savic
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.beans.factory.config.RuntimeBeanReference
    getBeanReference(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
    Deprecated.
    Create, if necessary, a bean definition for a HandlerDefinition and returns the reference to bean for use in other Bean Definitions.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getBeanReference

      public static org.springframework.beans.factory.config.RuntimeBeanReference getBeanReference(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Deprecated.
      Create, if necessary, a bean definition for a HandlerDefinition and returns the reference to bean for use in other Bean Definitions.
      Parameters:
      registry - The registry in which to look for an already existing instance
      Returns:
      a BeanReference to the BeanDefinition for the HandlerDefinition