Class FunctionClassUtils
java.lang.Object
org.springframework.cloud.function.utils.FunctionClassUtils
General utility class which aggregates various class-level utility functions
used by the framework.
- Since:
- 3.0.1
- Author:
- Oleg Zhurakousky
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
Discovers the start class in the currently running application.
-
Method Details
-
getStartClass
Discovers the start class in the currently running application. The discover search order is 'MAIN_CLASS' environment property, 'MAIN_CLASS' system property, META-INF/MANIFEST.MF:'Start-Class' attribute, meta-inf/manifest.mf:'Start-Class' attribute.- Returns:
- instance of Class which represent the start class of the application.
-