avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject [Fwd: Re: [C2] ComponentManager/Selector Rearchitecture]
Date Thu, 22 Mar 2001 13:25:39 GMT


-------- Original Message --------
Subject: Re: [C2] ComponentManager/Selector Rearchitecture
Date: Thu, 22 Mar 2001 08:22:08 -0500
From: Berin Loritsch <bloritsch@apache.org>
Reply-To: cocoon-dev@xml.apache.org
To: cocoon-dev@xml.apache.org
References:
<3AB75D60.FB1C7426@apache.org><3.0.6.32.20010320111559.00ea9530@alphalink.com.au><3.0.6.32.20010320182402.008fe100@alphalink.com.au><3AB75D60.FB1C7426@apache.org><3.0.6.32.20010322134948.00ae9100@alphalink.com.au>
<3.0.6.32.20010322180457.00ce4d20@alphalink.com.au>

Peter Donald wrote:
> 
> 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 ;)

Sure.  But the interface is only part of the picture.  What
is the standard mechanism to get the RoleManager to the
ComponentManager?  This is the catch.  Cocoon has a static class
with static methods--clearly this won't work.  What we need
is a way of automatically instantiating the RoleManager with
the values prepopulated.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
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