On Fri, Oct 15, 2010 at 2:01 AM, Fabio Albani <[email protected]> wrote: > Hi to all, > I noticed I've already done that, but I can't manage how to use > CompositeProcessor in order to use thw whole composite... is it possibile to > get ALL the xml of the current composite in use in the extension? > The problem is that I haven't interface defined and so I use a custom way to > call other services from the reference, but I need to read attributes like > references, target etc. > Thank you! >
Maybe you are trying to do things on the different phase ? In the read phase, we only delegate to processors that know how to read pieces of the composite and generate models, we then have a resolve phase where these models get resolved. Later on, your extension will be initialized and you will have access to the further runtime artifacts (see BindingProviderFactory ServiceBindingProviders, ReferenceBindingProviders) and then the actual invokers or servletListeners will also be able to play a part during the invocation. Maybe what you are trying to do fits better to a different phase or actually during the start or invocation process ? -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
