Class CommandLinePropertiesApplicationListener
- java.lang.Object
-
- pl.allegro.tech.hermes.management.spring.ApplicationEnvironmentPreparedEventListener
-
- pl.allegro.tech.hermes.management.spring.CommandLinePropertiesApplicationListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>,org.springframework.core.Ordered
public class CommandLinePropertiesApplicationListener extends ApplicationEnvironmentPreparedEventListener implements org.springframework.core.Ordered
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVER_PORT_PROPERTY
-
Constructor Summary
Constructors Constructor Description CommandLinePropertiesApplicationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder()protected voidonApplicationEnvironmentPreparedEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)-
Methods inherited from class pl.allegro.tech.hermes.management.spring.ApplicationEnvironmentPreparedEventListener
onApplicationEvent
-
-
-
-
Field Detail
-
SERVER_PORT_PROPERTY
public static final java.lang.String SERVER_PORT_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
onApplicationEnvironmentPreparedEvent
protected void onApplicationEnvironmentPreparedEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
- Specified by:
onApplicationEnvironmentPreparedEventin classApplicationEnvironmentPreparedEventListener
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
-