public abstract class

AbstractSpecificationExecutor

extends Object
implements FeatureSpecificationExecutor
java.lang.Object
   ↳ org.springframework.context.config.AbstractSpecificationExecutor<S extends org.springframework.context.config.FeatureSpecification>

Class Overview

TODO SPR-7420: document

Summary

Public Constructors
AbstractSpecificationExecutor()
Public Methods
final void execute(FeatureSpecification spec, SpecificationContext specificationContext)
Execute the given specification, usually resulting in registration of bean definitions against a bean factory.

This implementation FeatureSpecification#validate() validates the given specification and delegates it to #doExecute(FeatureSpecification) only if valid.

Protected Methods
abstract void doExecute(S specification, SpecificationContext specificationContext)
Execute the given specification, usually resulting in registration of bean definitions against a bean factory.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.context.config.FeatureSpecificationExecutor

Public Constructors

public AbstractSpecificationExecutor ()

Public Methods

public final void execute (FeatureSpecification spec, SpecificationContext specificationContext)

Execute the given specification, usually resulting in registration of bean definitions against a bean factory.

This implementation FeatureSpecification#validate() validates the given specification and delegates it to #doExecute(FeatureSpecification) only if valid.

Protected Methods

protected abstract void doExecute (S specification, SpecificationContext specificationContext)

Execute the given specification, usually resulting in registration of bean definitions against a bean factory.

Parameters
specification the FeatureSpecification#validate() validated specification