public abstract class SpringGeccoEngine extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| 限定符和类型 | 字段和说明 |
|---|---|
protected com.geccocrawler.gecco.pipeline.PipelineFactory |
springPipelineFactory |
| 构造器和说明 |
|---|
SpringGeccoEngine() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
init()
spring下启动gecco的初始化方法,spring下必须要用非阻塞方式start()运行GeccoEngine
|
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
protected com.geccocrawler.gecco.pipeline.PipelineFactory springPipelineFactory
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public abstract void init()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.