|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.boot.SpringApplicationTemplate
public class SpringApplicationTemplate
SpringApplicationTemplate is meant to safely run SpringApplication
from a SpringApplicationBuilder with a callback action SpringApplicationCallback
to do operations against an ApplicationContext and then optionally return an value
back to a caller.
| Constructor Summary | |
|---|---|
SpringApplicationTemplate(org.springframework.boot.builder.SpringApplicationBuilder builder)
Instantiates a new spring application template. |
|
| Method Summary | ||
|---|---|---|
|
execute(SpringApplicationCallback<T> action,
java.lang.String... args)
Execute spring application from a builder. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringApplicationTemplate(org.springframework.boot.builder.SpringApplicationBuilder builder)
builder - the spring application builder| Method Detail |
|---|
public <T> T execute(SpringApplicationCallback<T> action,
java.lang.String... args)
throws SpringApplicationException
action - the action callbackargs - the boot application args
SpringApplicationException
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||