Add @Inherited to @EnableAutoConfiguration

Fixes gh-1328
pull/1332/head
Dave Syer 10 years ago
parent 6ba8269db8
commit 6c5f8f9581

@ -18,6 +18,7 @@ package org.springframework.boot.autoconfigure;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@ -66,6 +67,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({ EnableAutoConfigurationImportSelector.class,
AutoConfigurationPackages.Registrar.class })
public @interface EnableAutoConfiguration {

Loading…
Cancel
Save