openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Pestano <>
Subject Defining interceptor @AroundInvoke in superclass fails in Openwebbeans
Date Mon, 25 Jun 2012 23:43:37 GMT
Hi guys,

the CDI interceptor below works without problems in weld but fails in OWB, i want to know
if its the expected behavior(weld is not following the spec), if im doing something wrong
or if its a bug:

I define the interceptor logic in a superclass, eg:

public abstract class AbstractSecurityInterceptor implements Serializable {

         public Object checkPermition(InvocationContext ic) throws Exception {
return ic.proceed();
                       else {
addFacesMessage("Some message");


     public abstract boolean userHasPermition();


public class MyInterceptor extends AbstractSecurityInterceptor {

     public  boolean userHasPermition(){
//will never be invoked in Openwebbeans but works with weld.

thanks in advance.


Rafael M. Pestano

Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul
Graduando em Ciência da Computação UFRGS

View raw message