Carsten Ziegeler wrote:
Now all these examples assume that the calling code knows the components.
For my use case - and it's the same with the Cocoon sitemap - I've a
description of a pipeline (think of the sitemap) which has just the name
of the pipeline components to chain. A generic code instantiates these
pipeline components - through a service registry - and does not know
anything about these components apart from the fact that they are
pipeline components.
Can you show an example?
Can they be declared as Spring beans and wired with the appropriate
parameters, or at least beans that know how to dynamically obtain the
correct information and then be referenced in the sitemap?
Ralph