cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Parameterizable Components
Date Wed, 12 Dec 2001 20:43:20 GMT
It seems that there are a fair number of Components that the configuration
consists of a bunch of <parameter/> statements.  The Avalon team recognized
that some Components only needed a flat configuration space as opposed to
a Hierarchical one.

To that end, the Parameters object has been promoted to a full-fledged
Lifecycle step.  You have the concept of Parameterizable components in
Avalon Framework, and had them since Avalon Framework 4.0.

Please, if all you are planning on doing with the configuring of your
components, make it easier on yourself and later developers and use the
Parameterizable interface.

interface org.apache.avalon.framework.parameters.Parameterizable
{
     void parameterize( Parameters params ) throws ParameterException;
}

ExcaliburComponentManager knows how to give you what you want.

-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


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


Mime
View raw message