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.
18 lines
496 B
18 lines
496 B
package org.pqh.core.annotation;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
import org.springframework.context.annotation.PropertySource;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* 爬虫注入组件
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target({ElementType.TYPE})
|
|
@Documented
|
|
@PropertySource("classpath:config.properties")
|
|
@ComponentScan("org.pqh.core")
|
|
public @interface EnableWebCrawlerConfiguration {
|
|
}
|
|
|