- All Known Implementing Classes:
GracefulShutdown
,OpenAPIModule
public interface Extension
Simple extension contract for adding and reusing commons application infrastructure components
and/or integrate with external libraries.
Extensions are expected to work via side-effects.
- Since:
- 2.0.0
- Author:
- edgar
-
Method Summary
-
Method Details
-
lateinit
default boolean lateinit()True when extension needs to run while starting the application. Defaults is false, starts immediately.- Returns:
- True when extension needs to run while starting the application. Defaults is false, starts immediately.
-
install
Install, configure additional features to a Jooby application.- Parameters:
application
- Jooby application.- Throws:
Exception
- If something goes wrong.
-