Dears all,

At the moment I configure my interceptors on an xml configuration file
or with the fluent interface.

In example in the xml config file they may look like this

        <component
        id="..
        >
                <interceptors>
                        <interceptor>${LogInterceptor}</interceptor>
                </interceptors>
        </component>

I was thinking that it could be useful to be able to configure
interceptors in a different way, in example:

        <interceptors>
                <interceptor>${LogInterceptor}
                        <component
                        id="..
                        >
                        </component>
                        <component
                        service="..
                        >
                        </component>
                </interceptor>
        </interceptors>

The reason being we may register the components with the fluent
interface, and then using the xml config file to decide when to add an
interceptor for a given component (benefit would be that in example we
wish to enable a very extensive logging only some times, and we wish
our customers/support people to be able to toggle that on just with
some small change on the config file).

Is this already supported in any way, perhaps with a different syntax?

Kind regards,

--
ale
http://ale.riolo.co.uk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to