commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: [proxy2] Create new utils module...
Date Tue, 12 Jun 2012 18:00:51 GMT
On Mon, Jun 11, 2012 at 10:42 PM, James Carman
<james@carmanconsulting.com> wrote:
> All,
>
> When trying to test some of the utility classes (such as
> DuckTypinginvoker), it would be useful to have a ProxyFactory to play
> with.  However, in "core", we don't have access to one since they've
> been broken out into their own modules (which reference core).  What
> if we left "core" for just the "api" and moved all other classes into
> a "utils" module?  The "utils" module could then import whatever
> ProxyFactory implementation it wants as a test-scoped dependency.
>

No opposition to the basic principle, though we should also keep in
mind the ServiceLoader-based DefaultProxyFactory implementation we
added to the core, and which is accessible via ProxyUtils--as well the
'test' module that imports the other modules for the sake of testing
the DefaultProxyFactory.

Matt

> James
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Mime
View raw message