Is it possible to start a different Java class (with a main method) in a Spring Boot executable jar than the declared mainClass?
Speciality: The class that should be started is located in a library that is embedded in the executable jar (inside the lib folder).
Background information:
The executable jar contains a library with a class that I would like to call to gracefully shutdown the application. This library is embedded inside the executable jars lib folder and not accessible by the default Java classpath parameter.