Stephen, I found your summary descriptions helpful. On thing I am struggling with is how to set a parameter in a component that is needed during Initialiable. For example, if my Company component needs a companyID set before it can initialize, how does the container set the ID before initialize is called? It seems that a name/value pair should be set in the context so that Contextualizable can supply the companyId before it is initialized. I have tried to find an example of this but could not find one. Is this beyond the lifecycle of the container and something that should be done via a set method after I have my object?
Thanks, Adam On Fri, 2002-11-15 at 11:51, Stephen McConnell wrote: <snip> > Contextualizable > > supply of the runtime context - again, the > context information that the component needs > (key + type) can be declared in meta info so > a container can make sure the component gets > all of the context information it needs > > Configurable > > supply of the component configuration by the > to the component. > > Initialiable > > request from the container to the component > to initialize itself, typically the > component implemetation will validate internal > state at this point > > -- To unsubscribe, e-mail: <mailto:avalon-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:avalon-dev-help@;jakarta.apache.org>
