New in the 0.4.0-SNAPSHOT development line — everything listed here landed after the 0.3.0 release and is not part of it. Every entry links to the section that documents it, and those sections carry the NEW badge. Each brick of the suite keeps its own page of this kind; the ecosystem index gathers them. When the next release train ships, this page is frozen with it and restarts empty on the dev line.
CDI
-
The request context is active for each request — when
FoyChappeBootis given aBeanManager, Foy activates the CDI request context around each request, through the standardRequestContextController, so@RequestScopedbeans work in servlets, filters and listeners, and the container fires the request context events. 0.3.0 activated it under no container, Vauban included: a@RequestScopedbean failed withContextNotActiveException(BUG-20261010-01). The session context is not activated. Other CDI containers. Under Vauban too, since Vauban provides the built-inRequestContextController(vauban#147): concurrent requests each get their own request-scoped instances. -
Proven on Weld SE — the new
foy-it-weldmodule, never published, runs Foy on Chappe with Weld SE 6.0 withoutfoy-cdi-vauban: servlets, filters and listeners get injection, request-scoped beans live per request (foy#18). Other CDI containers. -
@SessionScopedon Vauban — the session context is active for each request:@SessionScopedbeans live in theHttpSessionand are destroyed with it, with the@Initialized,@BeforeDestroyedand@Destroyed(SessionScoped.class)events. Vauban’s newvauban-webcontextsprovides the context andfoy-cdi-vaubandrives it; nothing to configure. A session-scoped bean used to fail withContextNotActiveException(foy#21). Other CDI containers. -
CdiContextListeners, a service for the adapters of CDI implementations — Foy registers the listeners a provider gives for theBeanManagerit is given, ahead of the application’s listeners. Other CDI containers. -
Weld’s servlet integration runs on Foy —
weld-servlet-core’s initializer starts Weld, which manages the request and session contexts itself. `foy-it-weld-servletuses it as the reference for the session scope, andfoy-it-vauban-sessionruns the same scenarios on Vauban. Other CDI containers.