I have also thought about this solution, but it requires to instantiate
objects for simple lists of String.

2010/2/4 Thiago H. de Paula Figueiredo <thiag...@gmail.com>

> On Thu, 04 Feb 2010 14:47:17 -0200, cordenier christophe <
> christophe.corden...@gmail.com> wrote:
>
>  The problem is that i need to build  dedicated service to handle whiteList
>> and blackList for each service that requires different configuration if i
>> don't want to manipulate Map, it will create 2*n + n instance of services
>> for services that requires a WhiteListManager and a BlackListManager.
>>
>
> Another solution is to accept an OrderedConfiguration of an interface that
> can hold both whitelist and blacklist contributions.
> In other words, create an interface or class that can represent all kinds
> of contributions to the same service.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Reply via email to