Class SpringContextHandlerDefinitionBuilder
java.lang.Object
org.axonframework.spring.config.annotation.SpringContextHandlerDefinitionBuilder
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 TypeMethodDescriptionstatic org.springframework.beans.factory.config.RuntimeBeanReferencegetBeanReference(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.
-
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
-
HandlerDefinitionFactoryBean.