You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
484 B
19 lines
484 B
package org.pqh.core.annotation;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.context.annotation.Import;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* 爬虫注入组件
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target({ElementType.TYPE})
|
|
@Documented
|
|
@Configuration
|
|
@ComponentScan("org.pqh.core")
|
|
@Import(ConfigurationSelector.class)
|
|
public @interface EnableWebCrawlerConfiguration {
|
|
}
|
|
|