----- Original Message -----
From: "marc fleury" <[EMAIL PROTECTED]>
To: "jBoss Developer" <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 1:38 PM
Subject: RE: [jBoss-Dev] Externalized container interceptors patch ready for commit
> |The way it is implemented now, you can override the standard stack
> |in jboss.xml,
> |but you have to completely specify the container interceptor
> |stack. There is
> |no support to just change one interceptor. I'll add support for
> |the most common
> |case of just replacing one interceptor instance with another.
>
> Part of the point I was making is that I don't see how this can happen. You
> need to say "I want this interceptor at this position" (beginning, in
> between, at the end). So while we know what the stack of interceptor is for
> the basic J2EE container (and that order won't change) we can't simply do
> "differential" stuff. I believe we need to specify the full stack at every
> time.
>
I agree it would be more difficult to do arbitrary differential stuff. The use case I
want
to support is that you want to replace the default LogInterceptor or
SecurityInterceptor
with a different implementation. In this use case you are not inserting an interceptor.
You are simply replacing the implementation. Anything more than that and you will have
to specify the complete interceptor stack.
Example, to override the default security inteceptor for a particular application:
<container-interceptors>
<interceptor-override>
<interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
<override>com.dot.security.SecurityInterceptor</override>
</interceptor-override>
</container-interceptors>