Package dev.relism.flash.extension
Interface FlashExtension
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
One declarative contribution to a Flash application.
Extensions never control lifecycle ordering. During configure(dev.relism.flash.extension.FlashRegistrar<?>, dev.relism.flash.extension.FlashContext), they declare
services, processors, listeners and ready callbacks. Flash closes declarations, validates and
resolves the complete service graph, then executes ready callbacks to materialise routes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(FlashRegistrar<?> app, FlashContext ctx) Declares this extension's contribution.
-
Method Details
-
configure
Declares this extension's contribution.ctx.require(...)is intentionally illegal here: work needing resolved services belongs inFlashContext.onReady(Runnable).
-