You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Howard M. Lewis Ship (JIRA)" <hi...@jakarta.apache.org> on 2005/02/11 16:16:11 UTC

[jira] Created: (HIVEMIND-91) Add getModuleMessages() to Registry

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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Resolved: (HIVEMIND-91) Add getModuleMessages() to Registry

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-91?page=all ]
     
James Carman resolved HIVEMIND-91:
----------------------------------

     Resolution: Fixed
    Fix Version: 1.1

> 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
>     Assignee: James Carman
>      Fix For: 1.1

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Closed: (HIVEMIND-91) Add getModuleMessages() to Registry

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-91?page=all ]
     
James Carman closed HIVEMIND-91:
--------------------------------


> 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
>     Assignee: James Carman
>      Fix For: 1.1

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-91) Add getModuleMessages() to Registry

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-91?page=comments#action_59891 ]
     
James Carman commented on HIVEMIND-91:
--------------------------------------

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

> 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-91) Add getModuleMessages() to Registry

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-91?page=comments#action_59888 ]
     
James Carman commented on HIVEMIND-91:
--------------------------------------

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?  

> 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Assigned: (HIVEMIND-91) Add getModuleMessages() to Registry

Posted by "James Carman (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-91?page=all ]

James Carman reassigned HIVEMIND-91:
------------------------------------

    Assign To: James Carman

> 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
>     Assignee: James Carman
>      Fix For: 1.1

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-91) Add getModuleMessages() to Registry

Posted by "Howard M. Lewis Ship (JIRA)" <hi...@jakarta.apache.org>.
     [ 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: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org