com.bstek.dorado.core
public abstract class EngineStartupListener extends java.lang.Object implements org.springframework.beans.factory.InitializingBean, RemovableBean
在目前的默认实现方式中,只要将EngineStartupListener的实现类注册到Spring的配置中, Dorado引擎就会在启动之后自动的激活所有的EngineStartupListener的实现类。
Constructor and Description |
---|
EngineStartupListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
abstract void |
onStartup()
当Dorado引擎被启动时触发的动作。
|
void |
setOrder(int order) |
public abstract void onStartup() throws java.lang.Exception
java.lang.Exception
public int getOrder()
public void setOrder(int order)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.