avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [C2] ComponentManager/Selector Rearchitecture
Date Thu, 22 Mar 2001 07:04:57 GMT
At 11:45  21/3/01 -0500, Berin Loritsch wrote:
>public interface RoleManager
>{
>    /**
>     * Gets the Role for the shorthand name.
>     */
>    String getRoleForName(String name);
>
>    /**
>     * Get default implementation class for role
>     */
>    String getDefaultClassNameForRole(String role);
>}
>
>These aren't terse, but are eminently clear as to their
>function.  In that sense, they are self documenting.
>The scope of the RoleManager is very narrow.  It only exists
>as a helper to the ComponentManager.

Much better - I didn't really understand what you were trying to do ;)

Want me to copy this to org.apache.avalon.component.RoleManager ??? I may
leave you to write the javadoc at the top though as I am not sure I
completely understand it ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


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


Mime
View raw message