Annotation Interface AutoConfigurationPackage
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@Import(org.springframework.boot.autoconfigure.AutoConfigurationPackages.Registrar.class)
public @interface AutoConfigurationPackage
Registers packages with 
AutoConfigurationPackages. When no base packages or base package classes are specified, the
 package of the annotated class is registered.- Since:
 - 1.3.0
 - Author:
 - Phillip Webb
 - See Also:
 
- 
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]Type-safe alternative tobasePackages()for specifying the packages to be registered withAutoConfigurationPackages.String[]Base packages that should be registered withAutoConfigurationPackages. 
- 
Element Details
- 
basePackages
String[] basePackagesBase packages that should be registered withAutoConfigurationPackages.Use
basePackageClasses()for a type-safe alternative to String-based package names.- Returns:
 - the back package names
 - Since:
 - 2.3.0
 
- Default:
 - {}
 
 - 
basePackageClasses
Class<?>[] basePackageClassesType-safe alternative tobasePackages()for specifying the packages to be registered withAutoConfigurationPackages.Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.
- Returns:
 - the base package classes
 - Since:
 - 2.3.0
 
- Default:
 - {}
 
 
 -