Grails
  1. Grails
  2. GRAILS-5004

BeanBuilder: allow plugins to read and modify existing bean definition properties

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2-M2
    • Fix Version/s: 1.2-M3
    • Component/s: Commons
    • Labels:
      None

      Description

      At the moment, plugins can do something similar to the Hibernate Grails plugin which adds an interceptor to the Grails URL handler mapping:

          if(getSpringConfig().containsBean("grailsUrlHandlerMapping")) {                    
              grailsUrlHandlerMapping.interceptors << openSessionInViewInterceptor
          }
      

      In other words, a plugin can add extra items to a collection property of a bean definition. But that's all it can do.

      I would like to see all methods and properties working on bean definition property values.

        Activity

        Hide
        Peter Ledbrook added a comment -
        Show
        Peter Ledbrook added a comment - Added in commit 24b9c6a835c0fcb5b9ab258765bf6ba579e1ae9a

          People

          • Assignee:
            Peter Ledbrook
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development