public class YarnBootClientApplicationListener
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
ApplicationListener
for Spring Boot which is adding a property source
relative to the command line arguments.Constructor and Description |
---|
YarnBootClientApplicationListener(java.util.Map<java.lang.String,java.lang.Object> propertySourceMap)
Instantiates a new yarn boot client application listener.
|
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event) |
public YarnBootClientApplicationListener(java.util.Map<java.lang.String,java.lang.Object> propertySourceMap)
propertySourceMap
- the property source mappublic void onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>