[infinispan-dev] Removing Infinispan dependency on the Hibernate-Infinispan module in 4.x

Scott Marlow smarlow at redhat.com
Wed Feb 8 10:32:44 EST 2012


On 02/08/2012 10:25 AM, Galder Zamarreño wrote:
> Scott, what do you suggest doing instead then? Without the commands, evictAll invalidation won't work.
>
> Are you suggesting that I revert back to using the cache as a notification bus so that regions are invalidated?

For the clustered case, is there a way to get the underlying JGroups 
channel and use that to make remote calls instead of using the cache as 
a notification bus?

>
> On Feb 8, 2012, at 4:13 PM, Scott Marlow wrote:
>
>> http://lists.jboss.org/pipermail/infinispan-dev/2012-February/010125.html has more context.
>>
>> Since there are no easy/quick fixes that can be applied at this time, to remove the AS7 Infinispan dependency on the Hibernate-Infinispan module, I think we should avoid depending on the service loader way to supply the custom commands (in the Hibernate-Infinispan module), at least until this can be addressed elsewhere.
>>
>> I propose that the Hibernate-Infinispan second level cache should not use the Service Loader to pass custom commands into Infinispan.  If we agree, I'll create a jira for this.
>>
>> Scott
>
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
>



More information about the infinispan-dev mailing list