NanoContainer
  1. NanoContainer
  2. NANO-120

JMXVisitor assumes the visited container to be a MutablePicoContainer

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-4
    • Fix Version/s: 1.0-beta-5
    • Component/s: jmx
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The JMXVisitor tries to register a DynamicMBeanFactory in the visited PicoContainer if it did not find a registered DynamicMBeanFactory yet. Therefore it simply casts the PicoContainer instance to a MutablePicoContainer. This assumption may badly fail.

        Activity

        Jörg Schaible made changes -
        Field Original Value New Value
        Assignee Joerg Schaible [ joehni ]
        Jörg Schaible made changes -
        Priority Major [ 3 ] Critical [ 2 ]
        Hide
        Jörg Schaible added a comment -

        The JMXVisitor does not inject a DynamicMBeanFactory anymore, if none was registered.

        Show
        Jörg Schaible added a comment - The JMXVisitor does not inject a DynamicMBeanFactory anymore, if none was registered.
        Jörg Schaible made changes -
        Fix Version/s 1.0-beta-5 [ 11369 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Jörg Schaible
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: