Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-42

Remove root node from ServiceContainer

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta5
    • None
    • None
    • None

      Using a root node to coordinate shutdown of a ServiceContainer has the following drawbacks:

      • ServiceContainerImpl does not notify TerminateListeners if root's mode is set to REMOVE; so we would need to cover that case to avoid inconsistencies
      • The fact that root is removed does not indicate that other services are removed, so the shutdown time passed to TerminateListener.Info constructor is invalid
      • it generates a number of service messages that is uneeded (as every service depends on root node, root node receives all dependents notification, and this information is not currently used for any purpose)

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: