org.springframework.yarn.boot
Interface SpringApplicationCallback<T>
- Type Parameters:
T - The return type from an action
public interface SpringApplicationCallback<T>
An action to take on a Spring Boot Application.
- Author:
- Janne Valkealahti
|
Method Summary |
T |
runWithSpringApplication(org.springframework.context.ApplicationContext context)
Perform an actions with a given ApplicationContext. |
runWithSpringApplication
T runWithSpringApplication(org.springframework.context.ApplicationContext context)
throws java.lang.Exception
- Perform an actions with a given
ApplicationContext.
- Parameters:
context - the application context
- Returns:
- the return value of type T
- Throws:
java.lang.Exception - the exception if error occurred