public class

ComponentRegistrarAdapter

extends Object
implements ComponentRegistrar
java.lang.Object
   ↳ org.springframework.beans.factory.parsing.ComponentRegistrarAdapter

Class Overview

TODO SPR-7420: document

Adapter is necessary as opposed to having ParserContext implement ComponentRegistrar directly due to tooling issues. STS may ship with a version of Spring older that 3.1 (when this type was introduced), and will run into IncompatibleClassChangeErrors when it's (3.0.5) ParserContext tries to mix with our (3.1.0) BeanDefinitionParser (and related) infrastructure.

Summary

Public Constructors
ComponentRegistrarAdapter(ParserContext parserContext)
Public Methods
void registerBeanComponent(BeanComponentDefinition component)
void registerComponent(ComponentDefinition component)
String registerWithGeneratedName(BeanDefinition beanDefinition)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.parsing.ComponentRegistrar

Public Constructors

public ComponentRegistrarAdapter (ParserContext parserContext)

Also: SpringBeans

Public Methods

public void registerBeanComponent (BeanComponentDefinition component)

Also: SpringBeans

public void registerComponent (ComponentDefinition component)

Also: SpringBeans

public String registerWithGeneratedName (BeanDefinition beanDefinition)

Also: SpringBeans