T - The return type from an actionpublic interface SpringApplicationCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
runWithSpringApplication(org.springframework.context.ApplicationContext context)
Perform an actions with a given
ApplicationContext. |
T runWithSpringApplication(org.springframework.context.ApplicationContext context) throws java.lang.Exception
ApplicationContext.context - the application contextjava.lang.Exception - the exception if error occurred