[infinispan-dev] Issue when I try to add two custom intercerptors

Galder Zamarreño galder at redhat.com
Wed May 1 03:17:57 EDT 2013


Did you have a test case for this?

On Apr 29, 2013, at 5:35 PM, Pedro Ruivo <pedro at infinispan.org> wrote:

> Hi all,
> 
> I'm trying to add two custom interceptors to the interceptor chain. 
> However, I'm not be able and I'm getting this exception [1]
> 
> After digging in the ComponentRegistry code and putting some prints, 
> I've noticed that the ComponentMetadata instances are the same for both 
> interceptors [2].
> 
> Only the ExtendedStatistics overrides the BaseCustomInterceptor.start() 
> method, and both interceptors are in a separated module (i.e., they are 
> not in the core).
> 
> This is a module that I created for the ExtendedStatistics (re: 
> https://issues.jboss.org/browse/ISPN-2861). I copied a pom.xml from 
> another module and I changed the dependencies and the names.
> 
> Did I forget to do/add something in the pom.xml? Or is this really a bug?
> 
> Thanks!
> 
> Cheers,
> Pedro
> 
> [1] https://gist.github.com/pruivo/5482335
> [2] https://gist.github.com/pruivo/5482363
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the infinispan-dev mailing list