Created
October 13, 2018 08:27
-
-
Save anhtv08/fca9b2cc91b3717799c2618c020ed807 to your computer and use it in GitHub Desktop.
SpringBootApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
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; | |
import org.springframework.boot.SpringBootConfiguration; | |
import org.springframework.boot.context.TypeExcludeFilter; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.context.annotation.FilterType; | |
import org.springframework.context.annotation.ComponentScan.Filter; | |
import org.springframework.core.annotation.AliasFor; | |
@Target({ElementType.TYPE}) | |
@Retention(RetentionPolicy.RUNTIME) | |
@Documented | |
@Inherited | |
@SpringBootConfiguration | |
@EnableAutoConfiguration | |
@ComponentScan( | |
excludeFilters = {@Filter( | |
type = FilterType.CUSTOM, | |
classes = {TypeExcludeFilter.class} | |
), @Filter( | |
type = FilterType.CUSTOM, | |
classes = {AutoConfigurationExcludeFilter.class} | |
)} | |
) | |
public @interface SpringBootApplication { | |
@AliasFor( | |
annotation = EnableAutoConfiguration.class, | |
attribute = "exclude" | |
) | |
Class<?>[] exclude() default {}; | |
@AliasFor( | |
annotation = EnableAutoConfiguration.class, | |
attribute = "excludeName" | |
) | |
String[] excludeName() default {}; | |
@AliasFor( | |
annotation = ComponentScan.class, | |
attribute = "basePackages" | |
) | |
String[] scanBasePackages() default {}; | |
@AliasFor( | |
annotation = ComponentScan.class, | |
attribute = "basePackageClasses" | |
) | |
Class<?>[] scanBasePackageClasses() default {}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment