@IocBean public class ApolloConfigureChangeStarter extends Object implements ServerFace, com.ctrip.framework.apollo.ConfigChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected AppContext |
appContext |
| Constructor and Description |
|---|
ApolloConfigureChangeStarter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onChange(com.ctrip.framework.apollo.model.ConfigChangeEvent changeEvent) |
void |
start() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailsafe, isRunning, stop@Inject protected AppContext appContext
public void start()
throws Exception
start in interface ServerFaceExceptionpublic void onChange(com.ctrip.framework.apollo.model.ConfigChangeEvent changeEvent)
onChange in interface com.ctrip.framework.apollo.ConfigChangeListenerCopyright © 2018. All rights reserved.