beansbinding
  1. beansbinding
  2. BEANSBINDING-66

Global hook for checking beans which are being bound

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: milestone 1
    • Component/s: beansbinding
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      66

      Description

      For additional sanity checking to prevent bugs at deploy-time, we check every
      bean that gets put into the binding group.

      At present, this requires an additional line in every single place where a
      binding group is created (ultimately, every form we ever create.) This is
      inconvenient, but the real problem is that it allows someone to forget to put
      the line in, and then we get no checking.

      I want some kind of global system property where I can set the name of a class
      implementing some interface - this would be instantiated by beansbinding if set,
      and called for each object being bound so that we can perform our checks.

      Even better would be if we could also validate all method calls made by
      beansbinding to check annotations only on the methods being called.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            shan_man
            Reporter:
            trejkaz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: