Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-179

Provide access to the Registry

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • framework
    • None

    Description

      There is currently no way for a service to access its own Registry.
      This would be useful sometimes, for example if you've got a listener that is invoked from a non-Hivemind thread:

      public class MyService()
      {
      private Registry registry;

      public MyService()

      { registry = getRegistry(); // <-- Need this OutsideHivemind.registerListener(this); }

      public void invokeListener()

      { registry.setupThread(); // Use some Hivemind services... registry.cleanupThread(); }

      }

      Attachments

        1. HIVEMIND-179.txt
          4 kB
          Jochen Zimmermann

        Activity

          People

            Unassigned Unassigned
            ms Martin Strand
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: