[infinispan-dev] Module configuration proposal

Manik Surtani manik at jboss.org
Wed Nov 4 12:19:00 EST 2009


On 4 Nov 2009, at 15:15, Vladimir Blagojevic wrote:

> These are completely orthogonal issues (configuration and setup).  
> Module configuration bean loads configuration from XML into object  
> tree and does nothing else! Cache factory, component registry and  
> such should allow module developers an easy way to additionally  
> setup created cache given a configuration.
>
> I am not sure if we have such API but if not we need to. Anyone?

Yes, configuration and setup are different.  ISPN-193 only handles  
configuration.  For setup, see ISPN-245 [1]

[1] https://jira.jboss.org/jira/browse/ISPN-245

>
> On 09-11-04 9:04 AM, Navin Surtani wrote:
>>
>>
>>
>> I disagree. I could be wrong, but I think it's easiest if the  
>> QueryConfigurationBean does the work of setting up stuff kind of  
>> like how the QueryHelper [1] currently does. This way, if the query  
>> module is to be used, once these configurations are registered the  
>> appropriate interceptor can be added to the chain.
>>
>> Just a quick question on general Cache setup. Currently the  
>> QueryInterceptor is added to chain after the locking interceptor.  
>> Just wondering that if things are done this way, i.e. we create and  
>> add the QueryInterceptor to the chain when a new instance of the  
>> QueryConfigurationBean is created, is that going to cause problems  
>> about where on the chain the QueryInterceptor sits? [Just thinking  
>> out loud]
>>
>>
>> [1] http://fisheye.jboss.org/browse/Infinispan/trunk/query/src/main/java/org/infinispan/query/backend/QueryHelper.java?r=trunk
>>
>> Navin Surtani
>>
>> Intern Infinispan
>> Intern JBoss Cache Searchable
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20091104/20e5b0e6/attachment-0002.html 


More information about the infinispan-dev mailing list