@Configuration
@EnableAutoConfiguration
public class SpringYarnBootApplication
extends java.lang.Object
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.
Constructor and Description |
---|
SpringYarnBootApplication() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |