org.springframework.context.annotation
Annotation Type FeatureConfiguration


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Component
public @interface FeatureConfiguration

TODO SPR-7420: document

Since:
3.1
Author:
Chris Beams
See Also:
Configuration

Optional Element Summary
 String value
          Explicitly specify the name of the Spring bean definition associated with this FeatureConfiguration class.
 

value

public abstract String value
Explicitly specify the name of the Spring bean definition associated with this FeatureConfiguration class. If left unspecified (the common case), a bean name will be automatically generated.

The custom name applies only if the FeatureConfiguration class is picked up via component scanning or supplied directly to a AnnotationConfigApplicationContext. If the FeatureConfiguration class is registered as a traditional XML bean definition, the name/id of the bean element will take precedence.

Returns:
the specified bean name, if any
See Also:
DefaultBeanNameGenerator
Default:
""