PicoContainer
  1. PicoContainer
  2. PICO-242

Add component monitoring functionality

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Component monitoring is an important feature requested in enterprise and commercial applications.

      It should be interface driven and allow the swapping of the monitor instance at run-time.

      It can be used to provide - among other things - low-level logging of the activity of the system.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Mauro Talevi added a comment -

        Implemented monitoring functionality:

        • promoted ComponentMonitor from .defaults to top-level package and created a .monitors package for impls
          (deprecated classes and interfaces in .defaults)
        • added interface ComponentMonitorStrategy in .defaults as optional functionality which CAs/CAF/MPCs can implement.
          Added Monitoring impls of CA and CAF which can be extended and have default monitor set.
        • added ComponentMonitorStrategy to DPC. On changeMonitor() the container will attempt to cascade change to
          CAF and child containers if they implement ComponentMonitorStrategy.
        Show
        Mauro Talevi added a comment - Implemented monitoring functionality: promoted ComponentMonitor from .defaults to top-level package and created a .monitors package for impls (deprecated classes and interfaces in .defaults) added interface ComponentMonitorStrategy in .defaults as optional functionality which CAs/CAF/MPCs can implement. Added Monitoring impls of CA and CAF which can be extended and have default monitor set. added ComponentMonitorStrategy to DPC. On changeMonitor() the container will attempt to cascade change to CAF and child containers if they implement ComponentMonitorStrategy.
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Hide
        Jörg Schaible added a comment -

        Can we just remove the old methods/classes instead of deprecating them? They were not part of 1.1 and IMHO it does not make sence to introduce a deprecated API for a new release ...

        Show
        Jörg Schaible added a comment - Can we just remove the old methods/classes instead of deprecating them? They were not part of 1.1 and IMHO it does not make sence to introduce a deprecated API for a new release ...
        Hide
        Mauro Talevi added a comment -

        Removed deprecated monitor classes/interfaces from .defaults.

        Show
        Mauro Talevi added a comment - Removed deprecated monitor classes/interfaces from .defaults.

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: