org.axonframework.contextsupport.spring
Class SpringContextParameterResolverFactoryBuilder

java.lang.Object
  extended by org.axonframework.contextsupport.spring.SpringContextParameterResolverFactoryBuilder

public final class SpringContextParameterResolverFactoryBuilder
extends Object

Creates and registers a bean definition for a Spring Context aware ParameterResolverFactory. It ensures that only one such instance exists for each ApplicationContext.

Since:
2.1
Author:
Allard Buijze

Method Summary
static org.springframework.beans.factory.config.RuntimeBeanReference getBeanReference(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
          Create, if necessary, a bean definition for a ParameterResolverFactory 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 Detail

getBeanReference

public static org.springframework.beans.factory.config.RuntimeBeanReference getBeanReference(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Create, if necessary, a bean definition for a ParameterResolverFactory 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 ParameterResolverFactory


Copyright © 2010-2016. All Rights Reserved.