Я хочу перезапустить приложение весенней загрузки, пока я нахожусь в середине метода конечной точки
Давайте рассмотрим этот пример:
@RequestMapping(value = "/CreateView")
public ResponseView createView()
{
// Here I write something to one of my files at runtime
// //some more code
// -------> SOMEWHERE I WANT THE SPRING BOOT APPLICATION TO RESTART<---------
// And here I want to access those new writing (via reflection) that I have done at the runtime
}
Есть ли способ сделать вышеописанное?