avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Divergence from Avalon (was Re: [RT] Is Poolable Harmful?)
Date Sat, 12 Jan 2002 00:52:34 GMT
On Sat, 12 Jan 2002 11:50, Paulo Gaspar wrote:
> > > I sent you the FACTORY code. The component has NO configuration
> > > points and in this case is not even dependent on the framework.
> >
> > Actually it has many configuration points and is not dependent on
> > framework
> > ;) Rather than expose one public method to configure service you expose N
> > different setters and each of these setters is another hinge point.
> No. For configuration I only expose setters in an object that is used
> ONLY to collect the configuration values. Usually this object is from
> an inner class - inner to the factory class.
> That inner object is NOT the component. It is part of the factory.

Time for a code snippet I think ;) How does the configuration values get from 
your "adaptor" object to your real component?



Sorry, I forgot to take my medication today.

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

View raw message