org.springframework.yarn.boot.support
Class YarnBootClientApplicationListener

java.lang.Object
  extended by org.springframework.yarn.boot.support.YarnBootClientApplicationListener
All Implemented Interfaces:
EventListener, ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>

public class YarnBootClientApplicationListener
extends Object
implements ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>

An ApplicationListener for Spring Boot which is adding a property source relative to the command line arguments.

Author:
Janne Valkealahti

Constructor Summary
YarnBootClientApplicationListener(Map<String,Object> propertySourceMap)
          Instantiates a new yarn boot client application listener.
 
Method Summary
 void onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YarnBootClientApplicationListener

public YarnBootClientApplicationListener(Map<String,Object> propertySourceMap)
Instantiates a new yarn boot client application listener.

Parameters:
propertySourceMap - the property source map
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
Specified by:
onApplicationEvent in interface ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>