[ http://issues.apache.org/jira/browse/HIVEMIND-91?page=comments#action_59889 ] Howard M. Lewis Ship commented on HIVEMIND-91: ----------------------------------------------
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. > Add getModuleMessages() to Registry > ----------------------------------- > > Key: HIVEMIND-91 > URL: http://issues.apache.org/jira/browse/HIVEMIND-91 > Project: HiveMind > Type: New Feature > Components: framework > Reporter: Howard M. Lewis Ship > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
