类 StandaloneProfileApplicationListener
- java.lang.Object
-
- com.alibaba.nacos.core.code.StandaloneProfileApplicationListener
-
- 所有已实现的接口:
java.util.EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>,org.springframework.core.Ordered,org.springframework.core.PriorityOrdered
public class StandaloneProfileApplicationListener extends java.lang.Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>, org.springframework.core.PriorityOrderedStandaloneProfileApplicationListenerforApplicationEnvironmentPreparedEvent.- 从以下版本开始:
- 0.2.2
- 作者:
- Mercy
- 另请参阅:
ConfigurableEnvironment.addActiveProfile(String)
-
-
字段概要
字段 修饰符和类型 字段 说明 private static org.slf4j.LoggerLOGGER
-
构造器概要
构造器 构造器 说明 StandaloneProfileApplicationListener()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetOrder()voidonApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
-
-
-
方法详细资料
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
- 指定者:
onApplicationEvent在接口中org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
-
getOrder
public int getOrder()
- 指定者:
getOrder在接口中org.springframework.core.Ordered
-
-