Details
-
Bug
-
Resolution: Done
-
Major
-
1.0.1.Final
-
None
Description
Spec says:
If the bean class of a managed bean declares or inherits a class level interceptor binding or a stereotype with interceptor
bindings, it must not be declared final, or have any non-static, non-private, final methods. If a managed bean has a class-
level interceptor binding and is declared final or has a non-static, non-private, final method, the container automatically
detects the problem and treats it as a definition error.
If a non-static, non-private method of a bean class of a managed bean declares a method level interceptor binding, neither
the method nor the bean class may be declared final. If a non-static, non-private, final method of a managed bean has a
method level interceptor binding, the container automatically detects the problem and treats it as a definition error.
org.jboss.jsr299.tck.tests.interceptors.definition.broken.finalClassInterceptor.FinalClassClassLevelInterceptorTest
org.jboss.jsr299.tck.tests.interceptors.definition.broken.finalClassInterceptor.FinalClassMethodLevelInterceptorTest
org.jboss.jsr299.tck.tests.interceptors.definition.broken.finalClassInterceptor.FinalMethodClassLevelInterceptorTest
org.jboss.jsr299.tck.tests.interceptors.definition.broken.finalClassInterceptor.FinalMethodMethodLevelInterceptorTest
In the TCK trunk