So your suggesting that the order of the elements is simply the order of the
interceptors subject to the transaction & metricsEnabled attributes and you
just have to know what your doing to specify this? This would be a better
solution.
----- Original Message -----
From: "Ole Husgaard" <[EMAIL PROTECTED]>
To: "jBoss Developer" <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 10:19 PM
Subject: Re: [jBoss-Dev] Externalizing the container interceptors
> Hi,
>
> Some way of configuring the interceptor chain
> of a container configuration would be nice.
>
> Another alternative could be to do
> <!ELEMENT container-interceptors (interceptor+)>
> <!ELEMENT interceptor (#PCDATA)>
> <!ATTLIST interceptor
> transaction (Bean | Container | Both) 'Both'
> metricsEnabled (true | false) 'false' >
> The "trans" and "metricsEnabled" attributes would
> work as restrictions, so that the interceptor is
> not added it the restriction is not met.
> This way we would keep the configured order of
> interceptors, enabling experts to put interceptors
> any place in the chain they want. Multiple (or no)
> log, security and metrics interceptors would be
> possible, and the container interceptor chain
> configuration would be more flexible.
>
> Comments, anyone?
>
>
> Best Regards,
>
> Ole Husgaard.
>
>