users@glassfish.java.net

Interceptors & inheritance

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Feb 2008 04:52:06 PST

Hi

I have a abstract class:

@Interceptors({DoSomethingInterceptor.class})
public abstract class MyBaseClass{
...
}

and then

public class MyImplClass extends MyBaseClass{
..
}

The problem is that the Interceptor set in the abstract class is never applied to the class that inherits from. This worked in weblogic10 if i remember things correctly.

Should this work ? If not, any specific reason as for why it's done this way ?

/Laban
[Message sent by forum member 'laban' (laban)]

http://forums.java.net/jive/thread.jspa?messageID=257246