Spring for Apache Hadoop

org.springframework.yarn.boot.app
Class SpringYarnBootApplication

java.lang.Object
  extended by org.springframework.yarn.boot.app.SpringYarnBootApplication

@Configuration
@EnableAutoConfiguration
public class SpringYarnBootApplication
extends java.lang.Object

Generic Spring Boot SpringApplication class which can be used as a main class if only requirement from an application is to pass arguments into SpringApplication.run(Object, String...)

Usual use case for this would be to define this class as Main-Class when creating i.e. executable jars using Spring Boot maven or gradle plugins. User can always create a similar dummy main class within a packaged application and let Spring Boot maven or gradle plugin to find it during the creating of an executable jar.

Care must be taken into account that if used, this class will enable a system with @EnableAutoConfiguration. If there is a need to exclude any automatic auto-configuration, user should define a custom class.

Author:
Janne Valkealahti

Constructor Summary
SpringYarnBootApplication()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringYarnBootApplication

public SpringYarnBootApplication()
Method Detail

main

public static void main(java.lang.String[] args)

Spring for Apache Hadoop