avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Configuration
Date Thu, 05 Apr 2001 12:25:49 GMT
Giacomo Pati wrote:
> Hi all
> Just a quick question about configuration of components.
> Can one pass a null to the configure method of a component? It is not
> clearly followed any pattern in the Cocoon 2 components. We have a
> pattern for a setup method of SitemapComponents which has a Parameters
> object as argument which are *never* passed as null but a empty
> Parameters object instead. How should it be handled with Configurations?

I have been creating an empty Configuration object.
I believe it is wrong to send a null to a Configurable.

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

View raw message