Announcement Announcement Module
No announcement yet.
ELResolver's registrar Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • ELResolver's registrar

    Wouldn't be useful to have a registrar for ELResolver's?
    If yes, I think it can be done in a few ways:
    • Creating an abstract class SelfRegisteringELResolver that will register itself when declared in a WebApplicationContext
    • Creating a simple bean ELResolversRegistrar that will receive a list of ELResolvers as constructor arguments and register them
    • Creating an ApplicationListener that will register all the ELResolver's declared in the context.

    What do you think is the best way to do it?
    I can create such a functionality (already did in one of my projects), but where should it sit (module, package)?