public class AnsContextApplicationListener extends AbstractOnceApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
com.alibaba.ans.core.NamingService
properties.Constructor and Description |
---|
AnsContextApplicationListener() |
Modifier and Type | Method and Description |
---|---|
protected String |
conditionalOnClass()
condition on class.
|
void |
handleEvent(org.springframework.context.event.ContextRefreshedEvent event)
handle event.
|
onApplicationEvent
protected String conditionalOnClass()
AbstractOnceApplicationListener
conditionalOnClass
in class AbstractOnceApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public void handleEvent(org.springframework.context.event.ContextRefreshedEvent event)
AbstractOnceApplicationListener
handleEvent
in class AbstractOnceApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.