Details
-
Type:
Feature Request
-
Status: Pull Request Sent (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 3.2.0.Alpha1
-
Component/s: Messages
-
Labels:None
-
Git Pull Request:
Description
(hope this is not an obsolute one)
Refactor the producing of the messages so that you could e.g. specialize a producer method if you want to produce messages from a DB. Currently the only way
is to write an extension that loads the stuff and explicitly places the messages in the appscoped component.
One way of doing this would perhaps to @Inject an Instance of something into Bundles and then have a @PostConstruct or @Inject constructor check if there is something injected that would then be assimilated. This something could perhaps be a Map<String, ResourceBundle> that would be passed along to putAll. Users could then write producers for resource bundles they'd like automatically made available.