@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @SpringBootApplication @EnableWxMvc public @interface WxApplication
Modifier and Type | Optional Element and Description |
---|---|
Class<?>[] |
exclude
Exclude specific auto-configuration classes such that they will never be applied.
|
String[] |
excludeName
Exclude specific auto-configuration class names such that they will never be
applied.
|
boolean |
menuAutoCreate
是否自动创建菜单
|
Class<?>[] |
scanBasePackageClasses
Type-safe alternative to
scanBasePackages() for specifying the packages to
scan for annotated components. |
String[] |
scanBasePackages
Base packages to scan for annotated components.
|
@AliasFor(annotation=EnableWxMvc.class, attribute="menuAutoCreate") public abstract boolean menuAutoCreate
@AliasFor(annotation=org.springframework.boot.autoconfigure.EnableAutoConfiguration.class, attribute="exclude") public abstract Class<?>[] exclude
@AliasFor(annotation=org.springframework.boot.autoconfigure.EnableAutoConfiguration.class, attribute="excludeName") public abstract String[] excludeName
@AliasFor(annotation=org.springframework.context.annotation.ComponentScan.class, attribute="basePackages") public abstract String[] scanBasePackages
scanBasePackageClasses()
for a type-safe alternative to String-based package names.@AliasFor(annotation=org.springframework.context.annotation.ComponentScan.class, attribute="basePackageClasses") public abstract Class<?>[] scanBasePackageClasses
scanBasePackages()
for specifying the packages to
scan for annotated components. The package of each class specified will be scanned.
Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.