infinispan/infinispan — pull request #1272 by galderz (2012-08-31 12:57:00+00:00)
Title: ISPN-2232 Make sure local query caches can also be registered

https://issues.jboss.org/browse/ISPN-2232

* This can be achieved making sure the correct type is given when the query interceptor is retrieved from the component registry.

* This avoids the need for unnecessary query interceptor registration because the custom interceptor chain handling already takes care of that, and with local indexing, you'd have QueryInterceptor.class component registered unnecessarily.