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

Pedro Ruivo pedro at infinispan.org
Wed May 1 07:55:35 EDT 2013


I'm stupid in not provide a test case in the first time :P

I've created the test case and a JIRA too: 
https://issues.jboss.org/browse/ISPN-3066

If it is not a bug let me know.

Pedro

On 05/01/2013 08:17 AM, Galder Zamarreño wrote:
> 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
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>


More information about the infinispan-dev mailing list