hk2
  1. hk2
  2. HK2-102

Changes notification for @Configured is broken

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None

      Description

      As described here http://hk2.java.net/config/configuration.html#Changes_notification, listeners implementing @Contract ConfigListener must be added to injected config beans automatically, but it does not seem to work.

      It might be braking 'restart required' feature, when changing glassfish config sets the flag. See GLASSFISH-15987, scenario described there does not work. See also http://docs.oracle.com/cd/E19798-01/821-1751/ghciy/index.html for other examples of commands that require restart.

        Activity

        Hide
        Mahesh Kannan added a comment -

        ConfigInstanceListener is the new class that handles this. Will look into this class to find out why it is not adding the listener

        Show
        Mahesh Kannan added a comment - ConfigInstanceListener is the new class that handles this. Will look into this class to find out why it is not adding the listener

          People

          • Assignee:
            Mahesh Kannan
            Reporter:
            andriy.zhdanov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: