public class SpringContextRegisterListener
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.beans.factory.BeanFactoryAware
| 构造器和说明 |
|---|
SpringContextRegisterListener(org.apache.shenyu.register.common.config.PropertiesConfig clientConfig)
Instantiates a new Context register listener for websocket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public SpringContextRegisterListener(org.apache.shenyu.register.common.config.PropertiesConfig clientConfig)
clientConfig - the client configpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void onApplicationEvent(@NonNull
org.springframework.context.event.ContextRefreshedEvent contextRefreshedEvent)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2022 The Apache Software Foundation. All rights reserved.