PAR-262
Adopt HiberniaModule bootstrap + 1.2.0 quick wins (business)
Migrate business's hand-rolled DI (CommanderModule + the config-loop/Message binding in BusinessModule + manual ConfigurationLoader at Business.java:35-36) to HiberniaModule.forPlugin(...).scanConfiguration("io.paradaux.business.model.config").handlers(...).resolvers(FirmPlayerResolver, FirmNameResolver, OnlineFirmNameResolver).listeners(FirmBalanceTaxListener, ChestShopSaleListener).build(). Keep BusinessModule for service + Treasury-API bindings. Activates DefaultsReconciler and binds PapiSupport (business currently lacks PlaceholderAPI bridging).
Leave FirmConfiguration/BalanceTaxConfiguration as-is — they're hand-rolled mutable singletons (not @ConfigurationComponent) and their reload is reload-safe; do NOT migrate them.
Quick wins: replace the 8 hand-written help routes (HelpCommands.java:21-75) with HelpGenerator; route ReloadCommand:51,54 raw §-colour sends through Message. No BigDecimal target. Deferred: KeyedException localization of the ~120 service-layer literal throws.
Resources
- commit04d3308 Adopt HiberniaModule DI bootstrap in business plus quick wins (PAR-262)ParadauxIO/hibernia-economy
Comments
No comments yet.
Activity
- tesks changed status to Status → Pending Release
- ParadauxIO linked a commit — Commit 04d3308 — Adopt HiberniaModule DI bootstrap in business plus quick wins (PAR-262)
- tesks created the issue