Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: framework
    • Labels:
      None

      Description

      Would be nice to have an API that allows access to a Module's messages on Registry.

      public Messages getModuleMessage(String moduleId);

      Sometimes you need access to the Messages when unit testing code within a module. Perhaps there are other use cases.

        Activity

        Hide
        James Carman added a comment -

        Do we want to do this one? Do we just want to expose a method like this...

        Module getModule( String moduleId )

        on the Registry interface?

        Show
        James Carman added a comment - Do we want to do this one? Do we just want to expose a method like this... Module getModule( String moduleId ) on the Registry interface?
        Hide
        Howard M. Lewis Ship added a comment -

        I've been struggling with Module; I really don't want it "exposed" to the outside world. It allows you to bypass some visibility restrictions. Following the Law of Demeter, it's better to extend existing interfaces rather than expose additional objects.

        Show
        Howard M. Lewis Ship added a comment - I've been struggling with Module; I really don't want it "exposed" to the outside world. It allows you to bypass some visibility restrictions. Following the Law of Demeter, it's better to extend existing interfaces rather than expose additional objects.
        Hide
        James Carman added a comment -

        So, do you just want to do this just as requested?

        Show
        James Carman added a comment - So, do you just want to do this just as requested?

          People

          • Assignee:
            James Carman
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development