Spring for Apache Hadoop

org.springframework.yarn.boot.support
Class YarnBootClientApplicationListener

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

public class YarnBootClientApplicationListener
extends java.lang.Object
implements org.springframework.context.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>

Spring for Apache Hadoop