public class ApolloApplicationContextInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Configuration example:
# set app.id app.id = 100004458 # enable apollo bootstrap config and inject 'application' namespace in bootstrap phase apollo.bootstrap.enabled = trueor
# set app.id app.id = 100004458 # enable apollo bootstrap config apollo.bootstrap.enabled = true # will inject 'application' and 'FX.apollo' namespaces in bootstrap phase apollo.bootstrap.namespaces = application,FX.apollo
| Constructor and Description |
|---|
ApolloApplicationContextInitializer() |
Copyright © 2018 Ctrip, Inc.. All rights reserved.